[Webkit-unassigned] [Bug 154770] Focusing a shadow host places the slot content after the shadow DOM content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 26 21:20:56 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=154770

--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
More specifically, when TreeResolver::createRenderer is called on an assigned element, renderTreePosition's m_nextSibling is null so we end up inserting to the end of the shadow root.

Either RenderTreePosition's nextSiblingRenderer or ComposedTreeIterator ought to find the render object after the slot to which the element is assigned.  This could be recursive because the slot (A) can then be assigned to another slot (B) when (A)'s parent has a shadow root that contains (B).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160227/c51e5202/attachment.html>


More information about the webkit-unassigned mailing list