[Webkit-unassigned] [Bug 148392] Page does not update when <link> media attribute changes to no longer apply to page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 24 14:26:23 PDT 2015


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

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joepeck at webkit.org

--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> ---
Triggering a style recalc (document().styleResolverChanged(DeferRecalcStyle)) when the media attribute changes does fix this, but there is probably something better we should be doing, such as only recalcing if the media query status (active/inactive) changes. Other tests should probably also be written (if the type changes without a rel attribute), etc.

-- 
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/20150824/05360745/attachment.html>


More information about the webkit-unassigned mailing list