[Webkit-unassigned] [Bug 218561] New: REGRESSION (r257839): Miscomputed style due to computed 'rem' value in matched declaration cache
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 4 05:42:02 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=218561
Bug ID: 218561
Summary: REGRESSION (r257839): Miscomputed style due to
computed 'rem' value in matched declaration cache
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: koivisto at iki.fi
Call to focus() causes computed style update for the element’s ancestor chain before the the document has otherwise been styled (using the shortcut mechanism introduced in r257839). This style, which uses ‘rem’ unit and so depends on root element font size, gets cached in MatchedDeclarationsCache. The root font size then changes but during the resulting style update we use this cached value, failing to re-resolve ‘rem’.
--
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/20201104/73efb03a/attachment.htm>
More information about the webkit-unassigned
mailing list