[Webkit-unassigned] [Bug 284001] New: resolveForDocument() should explicitly set the FontCascade on the style
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 3 15:17:04 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=284001
Bug ID: 284001
Summary: resolveForDocument() should explicitly set the
FontCascade on the style
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
CC: koivisto at iki.fi
Currently, resolveForDocument () does:
documentStyle.fontCascade().update(&const_cast<Document&>(document).fontSelector())
This updates the FontCascade in-place, which means that that the object shared by existing RenderStyles, and any newly created styles will be the same even when there is a change that should have prompted style diffs.
--
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/20241203/df654601/attachment.htm>
More information about the webkit-unassigned
mailing list