Summary: | RenderTreeNeedsLayoutChecker fails with absolutely positioned svg and <use> | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||||||
Component: | SVG | Assignee: | zalan <zalan> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | commit-queue, koivisto, webkit-bug-importer, zimmermann | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 183572 | ||||||||||||
Attachments: |
|
Created attachment 336151 [details]
Patch
Comment on attachment 336151 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336151&action=review > Source/WebCore/css/StyleResolver.cpp:816 > + if (svgElement.hasTagName(SVGNames::svgTag) && (!svgElement.parentNode() || svgElement.parentNode()->isSVGElement() || svgElement.correspondingElement())) The original test is if (!(element->hasTagName(SVGNames::svgTag) && element->parentNode() && !element->parentNode()->isSVGElement())) This doesn't seem like the same. Created attachment 336158 [details]
Patch
Created attachment 336160 [details]
Patch
Comment on attachment 336160 [details] Patch Clearing flags on attachment: 336160 Committed r229782: <https://trac.webkit.org/changeset/229782> All reviewed patches have been landed. Closing bug. |
Created attachment 335992 [details] Test reduction ssia.