[Webkit-unassigned] [Bug 181640] Support dynamic pseudo-classes on elements with display: contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 10:34:17 PST 2018


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

--- Comment #13 from Antti Koivisto <koivisto at iki.fi> ---
> Could you have
> 
> if (!hasRareData() || !hasDisplayContents())
>   return nullptr;
> 
> return elementRareData()->computedStyle();
> 
> Either way is fine with me.

This is slightly more efficient (in principle, meaningless in practice) since hasDisplayContents() needs to fetch the computed style from rare data too.

-- 
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/20181112/d5d64008/attachment-0001.html>


More information about the webkit-unassigned mailing list