WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-03 15:17:24 PST
<
rdar://problem/140876951
>
Simon Fraser (smfr)
Comment 2
2024-12-03 15:57:42 PST
Pull request:
https://github.com/WebKit/WebKit/pull/37394
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.
Top of Page
Format For Printing
XML
Clone This Bug