[webkit-changes] [WebKit/WebKit] c9ef47: Extend update a `style` block algorithm to non-HTM...
Ahmad Saleem
noreply at github.com
Wed Aug 9 16:00:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c9ef47f60cc9b60d99d982269b3373da8217fc7b
https://github.com/WebKit/WebKit/commit/c9ef47f60cc9b60d99d982269b3373da8217fc7b
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-style-element/style_type_svg-expected.txt
M Source/WebCore/dom/InlineStyleSheetOwner.cpp
Log Message:
-----------
Extend update a `style` block algorithm to non-HTML documents
https://bugs.webkit.org/show_bug.cgi?id=259979
Reviewed by Tim Nguyen and Chris Dumez.
This patch aligns WebKit with Gecko / Firefox and Web-Spec [1].
[1] https://html.spec.whatwg.org/multipage/semantics.html#update-a-style-block
This PR extends MIME Types to be non-case sensitive for non-HTML Documents
matching Gecko and also remove related 'FIXME'.
* Source/WebCore/dom/InlineStyleSheetOwner.cpp:
(isValidCSSContentType): Remove FIXME and update 'return' as per commit
(InlineStyleSheetOwner::createSheet): Remove use of 'element' parameter
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-style-element/style_type_svg-expected.txt: Rebaselined
Canonical link: https://commits.webkit.org/266744@main
More information about the webkit-changes
mailing list