Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Always use no-quirks mode for CSS.supports()
https://bugs.webkit.org/show_bug.cgi?id=257643 rdar://110162243 Reviewed by Tim Nguyen. Align with the standard and other browsers. In particular https://drafts.csswg.org/css-color-4/#quirky-color https://drafts.csswg.org/css-values-4/#deprecated-quirky-length mandate this and those are the only quirks applying to CSS.supports(). As stated there this is not applicable to @supports. * LayoutTests/css3/css-supports-document-parser-context-expected.txt: * LayoutTests/css3/css-supports-document-parser-context.html: * LayoutTests/css3/resources/css-supports-document-parser-context-nonstrict.html: * LayoutTests/imported/w3c/resources/import-expectations.json: * LayoutTests/imported/w3c/web-platform-tests/quirks/classname-query-after-sibling-adoption.html: * LayoutTests/imported/w3c/web-platform-tests/quirks/supports-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/quirks/text-decoration-doesnt-propagate-into-tables/standards-expected.html: * LayoutTests/imported/w3c/web-platform-tests/quirks/text-decoration-doesnt-propagate-into-tables/standards-ref.html: * LayoutTests/imported/w3c/web-platform-tests/quirks/text-decoration-doesnt-propagate-into-tables/standards.html: * LayoutTests/tests-options.json: * Source/WebCore/css/DOMCSSNamespace.cpp: (WebCore::DOMCSSNamespace::supports): Canonical link: https://commits.webkit.org/264835@main
- Loading branch information
Showing
11 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
LayoutTests/css3/css-supports-document-parser-context-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
LayoutTests/imported/w3c/web-platform-tests/quirks/supports-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
PASS Sanity check @supports color | ||
PASS @supports quirky color | ||
FAIL CSS.supports() quirky color assert_false: expected false got true | ||
PASS CSS.supports() quirky color | ||
PASS Sanity check @supports length | ||
PASS @supports quirky length | ||
FAIL CSS.supports() quirky length assert_false: expected false got true | ||
PASS CSS.supports() quirky length | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters