Unprefix text-emphasis CSS properties
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jan 2014 19:32:59 +0000 (19:32 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jan 2014 19:32:59 +0000 (19:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=127160

Reviewed by Sam Weinig.

Source/WebCore:

Add synonym CSS properties. We don't want to delete the old ones because
we've shipped with them included.

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

* css/CSSPropertyNames.in:

LayoutTests:

Add a reftest to compare the prefixed and unprefixed properties

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix-expected.html [new file with mode: 0644]
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSPropertyNames.in

index 850aa442f0b2a9a1a936224b44f65195ebe876f4..31fe27cf481517b6bf8cb69ef8b13703acec65e7 100644 (file)
@@ -1,3 +1,15 @@
+2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix text-emphasis CSS properties
+        https://bugs.webkit.org/show_bug.cgi?id=127160
+
+        Reviewed by Sam Weinig.
+
+        Add a reftest to compare the prefixed and unprefixed properties
+
+        * fast/css3-text/css3-text-decoration/text-decoration-unprefix-expected.html: Added.
+        * fast/css3-text/css3-text-decoration/text-decoration-unprefix.html: Added.
+
 2014-01-17  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
 
         Unreviewed EFL gardening
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix-expected.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix-expected.html
new file mode 100644 (file)
index 0000000..b845a51
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+This test is making sure that the text-emphasis CSS property works unprefixed.
+<div style="-webkit-text-emphasis-style: open circle;">
+This text should have emphasis marks.
+<div style="-webkit-text-emphasis-color: red;">This text should have red emphasis marks.</div>
+<div style="-webkit-text-emphasis-position: under;">This text should have emphasis marks below the text.</div>
+</div>
+<div style="-webkit-text-emphasis: red filled sesame;">This text should have red filled sesame emphasis marks.</div>
+</body>
+</html>
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
new file mode 100644 (file)
index 0000000..23fe1bf
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+This test is making sure that the text-emphasis CSS property works unprefixed.
+<div style="text-emphasis-style: open circle;">
+This text should have emphasis marks.
+<div style="text-emphasis-color: red;">This text should have red emphasis marks.</div>
+<div style="text-emphasis-position: under;">This text should have emphasis marks below the text.</div>
+</div>
+<div style="text-emphasis: red filled sesame;">This text should have red filled sesame emphasis marks.</div>
+</body>
+</html>
index a1969aa721d050f9e3169092090b7d5495fd599c..8c53bc8a0021f714df13fc8c26a972dd6c6c48db 100644 (file)
@@ -1,3 +1,17 @@
+2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix text-emphasis CSS properties
+        https://bugs.webkit.org/show_bug.cgi?id=127160
+
+        Reviewed by Sam Weinig.
+
+        Add synonym CSS properties. We don't want to delete the old ones because
+        we've shipped with them included.
+
+        Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
+
+        * css/CSSPropertyNames.in:
+
 2014-01-17  Alberto Garcia  <berto@igalia.com>
 
         [GTK] WebKitGtk/testcopyandpaste fails in debug builds
index 3e7a0e023dae9301ef7898c7db0377b90a31cb96..9dfe1d66c3406bc136aaf072d1865473f0061230 100644 (file)
@@ -402,11 +402,15 @@ z-index
 -webkit-text-decorations-in-effect [Inherited]
 -webkit-text-emphasis [Inherited]
 -epub-text-emphasis = -webkit-text-emphasis
+text-emphasis = -webkit-text-emphasis
 -webkit-text-emphasis-color [Inherited]
 -epub-text-emphasis-color = -webkit-text-emphasis-color
+text-emphasis-color = -webkit-text-emphasis-color
 -webkit-text-emphasis-position [Inherited]
+text-emphasis-position = -webkit-text-emphasis-position
 -webkit-text-emphasis-style [Inherited]
 -epub-text-emphasis-style = -webkit-text-emphasis-style
+text-emphasis-style = -webkit-text-emphasis-style
 -webkit-text-fill-color [Inherited]
 -webkit-text-security [Inherited]
 -webkit-text-stroke [Inherited]