Title: [222063] trunk/LayoutTests
Revision
222063
Author
[email protected]
Date
2017-09-14 16:45:08 -0700 (Thu, 14 Sep 2017)

Log Message

Import CSS Pseudo Elements 4 Web Platform Tests
https://bugs.webkit.org/show_bug.cgi?id=176253

Reviewed by Zalan Bujtas.

I upstreamed our CSS Pseudo Elements 4 tests to the Web Platform Tests repository.
Remove our version of the tests and import the ones from the Web Platform Tests repository.

LayoutTests/imported/w3c:

* resources/import-expectations.json:
* web-platform-tests/css/css-pseudo-4/OWNERS: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-001.html: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-002.html: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html: Added.
* web-platform-tests/css/css-pseudo-4/first-letter-003.html: Added.
* web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html.
* web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html.
* web-platform-tests/css/css-pseudo-4/marker-color-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-color-expected.html.
* web-platform-tests/css/css-pseudo-4/marker-color.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-color.html.
* web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties-expected.html.
* web-platform-tests/css/css-pseudo-4/marker-font-properties.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties.html.
* web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html.
* web-platform-tests/css/css-pseudo-4/marker-inherit-values.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values.html.
* web-platform-tests/css/css-pseudo-4/w3c-import.log: Added.

LayoutTests:

* TestExpectations: Skip some tests that fail.
* http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html: Removed.
* http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html: Removed.
* http/wpt/css/css-pseudo-4/marker-color-expected.html: Removed.
* http/wpt/css/css-pseudo-4/marker-color.html: Removed.
* http/wpt/css/css-pseudo-4/marker-font-properties-expected.html: Removed.
* http/wpt/css/css-pseudo-4/marker-font-properties.html: Removed.
* http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html: Removed.
* http/wpt/css/css-pseudo-4/marker-inherit-values.html: Removed.

Modified Paths

Added Paths

Removed Paths

  • trunk/LayoutTests/http/wpt/css/

Diff

Modified: trunk/LayoutTests/ChangeLog (222062 => 222063)


--- trunk/LayoutTests/ChangeLog	2017-09-14 23:43:55 UTC (rev 222062)
+++ trunk/LayoutTests/ChangeLog	2017-09-14 23:45:08 UTC (rev 222063)
@@ -1,3 +1,23 @@
+2017-09-14  Daniel Bates  <[email protected]>
+
+        Import CSS Pseudo Elements 4 Web Platform Tests
+        https://bugs.webkit.org/show_bug.cgi?id=176253
+
+        Reviewed by Zalan Bujtas.
+
+        I upstreamed our CSS Pseudo Elements 4 tests to the Web Platform Tests repository.
+        Remove our version of the tests and import the ones from the Web Platform Tests repository.
+
+        * TestExpectations: Skip some tests that fail.
+        * http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-color-expected.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-color.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-font-properties-expected.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-font-properties.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html: Removed.
+        * http/wpt/css/css-pseudo-4/marker-inherit-values.html: Removed.
+
 2017-09-14  Ryosuke Niwa  <[email protected]>
 
         iOS: WebKitTestRunner hits an assertion in editing/pasteboard/datatransfer-items-copy-plaintext.html

Modified: trunk/LayoutTests/TestExpectations (222062 => 222063)


--- trunk/LayoutTests/TestExpectations	2017-09-14 23:43:55 UTC (rev 222062)
+++ trunk/LayoutTests/TestExpectations	2017-09-14 23:45:08 UTC (rev 222063)
@@ -1460,3 +1460,7 @@
 webkit.org/b/176183 fast/block/inside-inlines/opacity-on-inline.html [ ImageOnlyFailure ]
 
 webkit.org/b/166025 http/tests/fetch/fetching-same-resource-with-different-options.html [ Pass Failure ]
+
+imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003.html [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (222062 => 222063)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2017-09-14 23:43:55 UTC (rev 222062)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2017-09-14 23:45:08 UTC (rev 222063)
@@ -1,3 +1,31 @@
+2017-09-14  Daniel Bates  <[email protected]>
+
+        Import CSS Pseudo Elements 4 Web Platform Tests
+        https://bugs.webkit.org/show_bug.cgi?id=176253
+
+        Reviewed by Zalan Bujtas.
+
+        I upstreamed our CSS Pseudo Elements 4 tests to the Web Platform Tests repository.
+        Remove our version of the tests and import the ones from the Web Platform Tests repository.
+
+        * resources/import-expectations.json:
+        * web-platform-tests/css/css-pseudo-4/OWNERS: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-001.html: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-002.html: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html: Added.
+        * web-platform-tests/css/css-pseudo-4/first-letter-003.html: Added.
+        * web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html.
+        * web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html.
+        * web-platform-tests/css/css-pseudo-4/marker-color-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-color-expected.html.
+        * web-platform-tests/css/css-pseudo-4/marker-color.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-color.html.
+        * web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties-expected.html.
+        * web-platform-tests/css/css-pseudo-4/marker-font-properties.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties.html.
+        * web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html.
+        * web-platform-tests/css/css-pseudo-4/marker-inherit-values.html: Renamed from LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values.html.
+        * web-platform-tests/css/css-pseudo-4/w3c-import.log: Added.
+
 2017-09-12  Manuel Rego Casasnovas  <[email protected]>
 
         [css-grid] Stretching auto tracks should be done as part of the track sizing algorithm

Modified: trunk/LayoutTests/imported/w3c/resources/import-expectations.json (222062 => 222063)


--- trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2017-09-14 23:43:55 UTC (rev 222062)
+++ trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2017-09-14 23:45:08 UTC (rev 222063)
@@ -62,6 +62,7 @@
     "web-platform-tests/css/css-align-3": "import", 
     "web-platform-tests/css/css-display-3": "import", 
     "web-platform-tests/css/css-grid-1": "import", 
+    "web-platform-tests/css/css-pseudo-4": "import", 
     "web-platform-tests/css/css-scoping-1": "import", 
     "web-platform-tests/css/css-shapes-1": "import", 
     "web-platform-tests/css/css-ui-3": "import", 

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/OWNERS (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/OWNERS	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/OWNERS	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,2 @@
+@plinss
+@frivoal

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Reference File</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+	}
+	div span {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div><span>a</span></div>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,33 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Test: ::first-letter formatting</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<link rel="match" href=""
+	<link rel="help" href=""
+	<meta name="flags" content="">
+	<meta name="assert" content="Test checks that a floated ::first-letter follows the usual formating rules for floats.">
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+		background: red;
+	}
+	span {
+		background : white;
+	}
+	div::first-letter {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div>a<span>&nbsp;</span></div>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Reference File</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+	}
+	div span {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div><span>a</span></div>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,35 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Test: ::first-letter formatting</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<link rel="match" href=""
+	<link rel="help" href=""
+	<meta name="flags" content="">
+	<meta name="assert" content="Test checks that a floated ::first-letter is formatted identically to a floated non-pseudo element with the same content.">
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+	}
+	#d1 span {
+		color: red;
+		background: red;
+		float: left;
+	}
+	#d2::first-letter {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div id="d1"><span>a</span></div>
+	<div id="d2">a</div>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Reference File</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+	}
+	div span {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div><span>a</span></div>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003.html (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,35 @@
+<!doctype html>
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>CSS Test: ::first-letter formatting</title>
+	<link rel="author" title="Florian Rivoal" href=""
+	<link rel="match" href=""
+	<link rel="help" href=""
+	<meta name="flags" content="">
+	<meta name="assert" content="Test checks that a floated ::first-letter is formatted identically to a floated non-pseudo element with the same content.">
+	<style>
+	div {
+		font-size: 50px;
+		position: absolute;
+		left: 30px;
+		top: 50px;
+	}
+	#d1::first-letter {
+		color: red;
+		background: red;
+		float: left;
+	}
+	#d2 span {
+		color: green;
+		background: green;
+		float: left;
+	}
+	</style>
+</head>
+<body>
+	<p>Test passes if there is a <strong>filled green rectangle</strong> and <strong>no red</strong>.</p>
+	<div id="d1">a</div>
+	<div id="d2"><span>a</span></div>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker interaction with ::before, ::after, and ::first-letter pseudo elements reference file</title>
+<link rel="author" title="Daniel Bates" href=""
+<style>
+li {
+    color: green;
+    font-size: 20px;
+}
+
+.first-letter {
+    color: white;
+    background-color: green;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li><span class="first-letter">P</span>ASSED if the list marker is green.</li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker interaction with ::before, ::after, and ::first-letter pseudo elements</title>
+<link rel="author" title="Daniel Bates" href=""
+<link rel="match" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests ::marker interaction with ::before, ::after, and ::first-letter pseudo elements">
+<style>
+li {
+    color: red;
+    font-size: 20px;
+}
+
+li::before {
+    color: green;
+    content: "PA";
+}
+
+li::after {
+    color: green;
+    content: "SSED if the list marker is green.";
+}
+
+li::marker {
+    color: green;
+}
+
+li::first-letter {
+    color: white;
+    background-color: green;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color-expected.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-color-expected.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker formatting with color property reference file</title>
+<link rel="author" title="Daniel Bates" href=""
+<style>
+li {
+    color: green;
+    font-size: 40px;
+    list-style-type: square;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li><!--  The list marker should be a green square. --></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-color.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker formatting with color property</title>
+<link rel="author" title="Daniel Bates" href=""
+<link rel="match" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests ::marker rendering with color property">
+<style>
+li {
+    color: red;
+    font-size: 40px;
+    list-style-type: square;
+}
+
+li::marker {
+    color: green;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li><!--  The list marker should be a green square. --></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties-expected.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker formatting with font properties reference file</title>
+<link rel="author" title="Daniel Bates" href=""
+<style>
+li {
+    font-family: sans-serif;
+    font-size: 24px;
+    font-style: italic;
+    font-variant: small-caps;
+    font-weight: bold;
+    list-style-type: lower-alpha;
+    font-variant-numeric: tabular-nums;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-font-properties.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker formatting with font properties</title>
+<link rel="author" title="Daniel Bates" href=""
+<link rel="match" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests ::marker rendering with font properties">
+<style>
+li {
+    list-style-type: lower-alpha;
+}
+
+li::marker {
+    font-family: sans-serif;
+    font-size: 24px;
+    font-style: italic;
+    font-variant: small-caps;
+    font-weight: bold;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li><span style="font-size: 24px"><!--  FIXME: Needed to ensure consistent baseline position with expected result in WebKit (why?).  --></span></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker inherits values from originating element reference file</title>
+<link rel="author" title="Daniel Bates" href=""
+<style>
+li {
+    color: green;
+    font-family: sans-serif;
+    font-size: x-large;
+    font-style: italic;
+    font-variant: small-caps;
+    font-weight: bold;
+    list-style-type: lower-alpha;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li></li>
+</ol>
+</body>
+</html>

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values.html (from rev 222062, trunk/LayoutTests/http/wpt/css/css-pseudo-4/marker-inherit-values.html) (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values.html	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Test: ::marker inherits values from originating element</title>
+<link rel="author" title="Daniel Bates" href=""
+<link rel="match" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests ::marker inherits values from originating element">
+<style>
+ol {
+    color: red;
+}
+
+li { /* Originating element */
+    color: green;
+    font-family: sans-serif;
+    font-size: x-large;
+    font-style: italic;
+    font-variant: small-caps;
+    font-weight: bold;
+    list-style-type: lower-alpha;
+}
+
+li::marker {
+    color: inherit;
+    font-family: inherit;
+    font-size: inherit;
+    font-style: inherit;
+    font-variant: inherit;
+    font-weight: inherit;
+}
+</style>
+</head>
+<body>
+<ol>
+    <li></li>
+</ol>
+</body>
+</html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/w3c-import.log (0 => 222063)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/w3c-import.log	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/w3c-import.log	2017-09-14 23:45:08 UTC (rev 222063)
@@ -0,0 +1,31 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+	https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/OWNERS
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-002.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/first-letter-003.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-and-other-pseudo-elements.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-color.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo-4/marker-inherit-values.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to