WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
261654
Re-run <meta name=color-scheme> processing when name attribute or content attribute changes
https://bugs.webkit.org/show_bug.cgi?id=261654
Summary
Re-run <meta name=color-scheme> processing when name attribute or content att...
sideshowbarker
Reported
2023-09-17 08:08:45 PDT
At
https://html.spec.whatwg.org/multipage/semantics.html#standard-metadata-names:attr-meta-name-15
the HTML spec requires that:
> [if] existing meta elements have their name or content attributes changed, user agents must re-run the above algorithm
…where “above algorithm” is the algorithm at
https://html.spec.whatwg.org/multipage/semantics.html#standard-metadata-names:page's-supported-color-schemes-2
However, WebKit currently doesn’t conform to that requirement, which causes two of the tests at
https://wpt.fyi/results/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-attribute-changes.html
to fail in Safari.
Attachments
Add attachment
proposed patch, testcase, etc.
sideshowbarker
Comment 1
2023-09-17 08:10:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/17845
Radar WebKit Bug Importer
Comment 2
2023-09-24 08:09:13 PDT
<
rdar://problem/115958450
>
EWS
Comment 3
2023-11-01 16:35:09 PDT
Committed
270092@main
(3afefcc5f934): <
https://commits.webkit.org/270092@main
> Reviewed commits have been landed. Closing PR #17845 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