Bug 1144607 part 3 - Reftests for string value on list-style-type. r=dbaron
authorXidorn Quan <quanxunzhen@gmail.com>
Fri, 27 Mar 2015 09:48:10 +1100
changeset 264905 3b8e79ee4339ea97889ddb1fbd7d86f73d8d696a
parent 264904 0a3c37c82aa08274d413a74c3ef1fef8755ed28c
child 264906 28e7e3d470f1ad002bafc32526c1673508730104
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1144607
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1144607 part 3 - Reftests for string value on list-style-type. r=dbaron
layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html
layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html
layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html
layout/reftests/w3c-css/submitted/lists-3/reftest.list
layout/reftests/w3c-css/submitted/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <title>CSS Reference: String value of list-style-type</title>
+  <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
+  <style>
+    ol, ul { list-style: none; }
+    li::before {
+      content: "# ";
+      font-variant-numeric: tabular-nums;
+    }
+  </style>
+</head>
+<body>
+  <ol start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ol>
+  <ul start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ul>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <title>CSS Test: String value of list-style-type</title>
+  <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
+  <link rel="help" href="http://dev.w3.org/csswg/css-lists-3/#valdef-list-style-type-string">
+  <link rel="match" ref="list-style-type-string-001-ref.html">
+  <style>
+    ol, ul { list-style-type: "# "; list-style-position: inside; }
+  </style>
+</head>
+<body>
+  <ol start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ol>
+  <ul start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ul>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <title>CSS Test: String value of list-style-type</title>
+  <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
+  <link rel="help" href="http://dev.w3.org/csswg/css-lists-3/#valdef-list-style-type-string">
+  <link rel="match" ref="list-style-type-string-001-ref.html">
+  <style>
+    ol, ul { list-style: inside "# "; }
+  </style>
+</head>
+<body>
+  <ol start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ol>
+  <ul start="-1">
+    <li>item -1</li>
+    <li>item 0</li>
+    <li>item 1</li>
+    <li>item 2</li>
+  </ul>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/lists-3/reftest.list
@@ -0,0 +1,3 @@
+# Tests for list-style-type
+== list-style-type-string-001a.html list-style-type-string-001-ref.html
+== list-style-type-string-001b.html list-style-type-string-001-ref.html
--- a/layout/reftests/w3c-css/submitted/reftest.list
+++ b/layout/reftests/w3c-css/submitted/reftest.list
@@ -23,16 +23,19 @@ include conditional3/reftest.list
 include flexbox/reftest.list
 
 # Fonts Level 3
 # include fonts3/reftest.list
 
 # Image Values and Replaced Content Level 3
 include images3/reftest.list
 
+# Lists and Counters Level 3
+include lists-3/reftest.list
+
 # Media Queries Level 3
 # include mediaqueries3/reftest.list
 
 # Multi-column Layout 3
 include multicol3/reftest.list
 
 # Ruby Layout Module
 include ruby/reftest.list