Unprefix text-decoration CSS3 properties
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2018 22:18:15 +0000 (22:18 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2018 22:18:15 +0000 (22:18 +0000)
commit1370c1505af293e9c5c55006639a0c24b886b359
tree0102df390fe5ed52445f58349d33d521dd7fc3e8
parent0533bc9e3a28eb25483213cbbb65a2222d2677fe
Unprefix text-decoration CSS3 properties
https://bugs.webkit.org/show_bug.cgi?id=127193

Reviewed by Dean Jackson.

Source/WebCore:

The properties are stable, and there is interop.

Test: fast/css3-text/css3-text-decoration/unprefix.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyinStyle):
* css/CSSProperties.json:
* css/StyleResolver.cpp:
(WebCore::shouldApplyPropertyInParseOrder):
(WebCore::isValidVisitedLinkProperty):
* css/parser/CSSParserFastPaths.cpp:
(WebCore::isColorPropertyID):
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
(WebCore::CSSParserFastPaths::isKeywordPropertyID):
* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseSingleValue):
* editing/cocoa/DataDetection.mm:
(WebCore::DataDetection::detectContentInRange):
* rendering/TextDecorationPainter.cpp:
(WebCore::decorationColor):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::colorIncludingFallback const):
(WebCore::RenderStyle::visitedDependentColor const):

LayoutTests:

* fast/css3-text/css3-text-decoration/unprefix-expected.html: Added.
* fast/css3-text/css3-text-decoration/unprefix.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css3-text/css3-text-decoration/unprefix-expected.html [new file with mode: 0644]
LayoutTests/fast/css3-text/css3-text-decoration/unprefix.html [new file with mode: 0644]
LayoutTests/imported/blink/fast/css3-text/css3-text-decoration/text-decoration-line-recalc-expected.html
LayoutTests/imported/blink/fast/css3-text/css3-text-decoration/text-decoration-line-recalc.html
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-line-recalc-expected.html
LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-line-recalc.html
LayoutTests/imported/w3c/web-platform-tests/css/mediaqueries/test_media_queries-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/CSSProperties.json
Source/WebCore/css/StyleResolver.cpp
Source/WebCore/css/parser/CSSParserFastPaths.cpp
Source/WebCore/css/parser/CSSPropertyParser.cpp
Source/WebCore/editing/cocoa/DataDetection.mm
Source/WebCore/rendering/TextDecorationPainter.cpp
Source/WebCore/rendering/style/RenderStyle.cpp