RESOLVED FIXED 284001
resolveForDocument() should explicitly set the FontCascade on the style
https://bugs.webkit.org/show_bug.cgi?id=284001
Summary resolveForDocument() should explicitly set the FontCascade on the style
Simon Fraser (smfr)
Reported 2024-12-03 15:17:04 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-12-03 15:17:24 PST
Simon Fraser (smfr)
Comment 2 2024-12-03 15:57:42 PST
EWS
Comment 3 2024-12-03 19:55:00 PST
Committed 287326@main (c731586091b5): <https://commits.webkit.org/287326@main> Reviewed commits have been landed. Closing PR #37394 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.