Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[content-visibility] Make innerText take content-visibility: hidden i…
…nto account https://bugs.webkit.org/show_bug.cgi?id=247196 Reviewed by Ryosuke Niwa. Make innerText take css content-visibility: hidden into account as specified here: https://w3c.github.io/csswg-drafts/css-contain/#cv-notes (Item 8). * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-047-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080-expected.txt: * Source/WebCore/dom/Element.cpp: (WebCore::Element::innerText): * Source/WebCore/editing/TextIterator.cpp: (WebCore::TextIterator::advance): Canonical link: https://commits.webkit.org/258187@main
- Loading branch information
Showing
4 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...web-platform-tests/css/css-contain/content-visibility/content-visibility-029-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
This text should be visible. | ||
|
||
FAIL innerText on locked element. assert_equals: expected "This text should be visible." but got "This text should be visible.\n" | ||
PASS innerText on locked element. | ||
|
1 change: 0 additions & 1 deletion
1
...web-platform-tests/css/css-contain/content-visibility/content-visibility-047-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
|
||
|
||
PASS Tab order navigation skips hidden subtrees | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters