[Webkit-unassigned] [Bug 158900] Updating class name of a shadow host does not update the style applied by :host()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 19 16:27:40 PDT 2016


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

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> Is there a solid guarantee that authorStyle is non-null? I noticed this
> pattern repeating in the code so the question applies not just here but at
> many other sites too.

Yes, StyleResolver constructor calls resetAuthorStyle() which creates authorStyle. There is no path to delete it. Definitely something that could be cleaned up.

> Can we skip this work if mayAffectStyle is already true?

Yes, though not super important.

-- 
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/20160619/88d1af9d/attachment.html>


More information about the webkit-unassigned mailing list