Skip to content

Fixes div contents in hidden until-found example#43031

Merged
chrisdavidmills merged 1 commit intomdn:mainfrom
matthewhlowe:patch-1
Feb 6, 2026
Merged

Fixes div contents in hidden until-found example#43031
chrisdavidmills merged 1 commit intomdn:mainfrom
matthewhlowe:patch-1

Conversation

@matthewhlowe
Copy link
Contributor

In this section's example, the html shows two div elements that are not hidden.

One of these div elements contained the text "I'm hidden", even though it is always visible.

Description

Updates the div content from "I'm hidden" to "I'm not hidden, either" in the hidden until-found example.

Motivation

Additional details

It means the code example matches the description of what is being shown correctly.

Related issues and pull requests

Fixes #43022

In this section's example, the html shows two div elements that are not hidden.

One of these div elements contained the text "I'm hidden", even though it is always visible.
@matthewhlowe matthewhlowe requested a review from a team as a code owner February 5, 2026 18:57
@matthewhlowe matthewhlowe requested review from chrisdavidmills and removed request for a team February 5, 2026 18:57
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed labels Feb 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Preview URLs (1 page)

Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense; thanks, @matthewhlowe!

@chrisdavidmills chrisdavidmills merged commit 032373c into mdn:main Feb 6, 2026
6 checks passed
@matthewhlowe matthewhlowe deleted the patch-1 branch February 6, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect text in hidden until-found example

2 participants