Standardize the `<meta name="color-scheme">` separator.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 23:55:47 +0000 (23:55 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 23:55:47 +0000 (23:55 +0000)
commit08e6bdbc714d45c8290c4a0eebe0817d7753f72f
treed6f1bd55c2ac80f1ec1f16bb61ab963fc1d8e18a
parent61ea12686f337f17bc823e9880cd791642641beb
Standardize the `<meta name="color-scheme">` separator.
https://bugs.webkit.org/show_bug.cgi?id=193931

Reviewed by Simon Fraser.

Source/WebCore:

Drop support for comma as a valid seperator in <meta name="color-scheme"> to
match the proposal being tracked by: https://github.com/whatwg/html/issues/4504

Tests: css-dark-mode/color-scheme-meta.html
       css-dark-mode/older-syntax/supported-color-schemes-meta.html

* dom/Document.cpp:
(WebCore::isColorSchemeSeparator): Drop support for comma.

LayoutTests:

* css-dark-mode/color-scheme-meta-expected.txt:
* css-dark-mode/color-scheme-meta.html:
* css-dark-mode/older-syntax/supported-color-scheme-meta-expected.txt:
* css-dark-mode/older-syntax/supported-color-schemes-meta.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/css-dark-mode/color-scheme-meta-expected.txt
LayoutTests/css-dark-mode/color-scheme-meta.html
LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt
LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta.html
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp