Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Deeply nested phrasing content is parsed incorrectly
https://bugs.webkit.org/show_bug.cgi?id=162527 Reviewed by Brent Fulgham. Fixed the bug by implementing the missing early return in the adoption agency algorithm. Based on https://crrev.com/69ad2d7d5eecfb79a8b5dc4d01b575926500ef08 * LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/adoption_agency_check_the_end_tag_name-expected.txt: * Source/WebCore/html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): Canonical link: https://commits.webkit.org/252979@main
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...eb-platform-tests/html/syntax/parsing/adoption_agency_check_the_end_tag_name-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,3 +1,3 @@ | ||
|
||
FAIL The algorithm should not reparent properly nested tags assert_equals: expected "<code some-attribute=\"\"><div><code><code><code><code></code></code></code></code></div></code>" but got "<code some-attribute=\"\"></code><div><code some-attribute=\"\"><code><code><code><code></code></code></code></code></code></div>" | ||
PASS The algorithm should not reparent properly nested tags | ||
|
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