[Webkit-unassigned] [Bug 208504] Avoid full style resolution on Element::focus()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 05:36:54 PST 2020


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

Emilio Cobos Álvarez (:emilio) <emilio at crisal.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emilio at crisal.io

--- Comment #15 from Emilio Cobos Álvarez (:emilio) <emilio at crisal.io> ---
Comment on attachment 392399
  --> https://bugs.webkit.org/attachment.cgi?id=392399
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=392399&action=review

> Source/WebCore/dom/Element.cpp:3352
> +    for (auto& element : ancestorsOfType<Element>(*this)) {

This should probably be the flat / composed tree ancestors, right? I suspect this would crash otherwise in some shadow DOM situations involving slotting.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200304/9b15938f/attachment.htm>


More information about the webkit-unassigned mailing list