Chromium Code Reviews
DescriptionMerge 118589 - Fix for self-closing <use> tags
https://bugs.webkit.org/show_bug.cgi?id=87504
Reviewed by Adam Barth.
Source/WebCore:
This change causes self-closing non-html tags to behave the same
as tags immediately followed by the closing tag.
Test: svg/custom/svg-self-closing-use.html
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::attachLater):
(WebCore::HTMLConstructionSite::insertSelfClosingHTMLElement):
(WebCore::HTMLConstructionSite::insertForeignElement):
* html/parser/HTMLConstructionSite.h:
(HTMLConstructionSite):
LayoutTests:
* svg/custom/svg-self-closing-use-expected.html: Added.
* svg/custom/svg-self-closing-use.html: Added.
TBR=pdr@google.com
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||