Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect tree construction by the AAA
Prior to this CL, the following code: <code some-attribute> <div> <code> <code> <code> <code> </code> </code> </code> </code> parsed to this: <code some-attribute></code> <div> <code some-attribute> <code> <code> <code> <code> </code> </code> </code> </code> </code> </div> The adoption agency algorithm reparented the div tag though code tags were properly nested. A step was added to the spec[1] in order to fix this, but not implemented in Chromium. This CL implements it. [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=24833 Fixed: 1217523 Change-Id: I2ce1ada69d37305041468b9c10f59e6238e9a209 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3162497 Commit-Queue: Mason Freed <masonf@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#922189}
- Loading branch information