Bug 1134099 part 1 - Separate UA-specific reftests. r?dbaron draft
authorXidorn Quan <quanxunzhen@gmail.com>
Fri, 20 Feb 2015 17:25:58 +1300
changeset 710285 5853ed6d7a4c51901b6396c6d4b4c2e56c34b71f
parent 709725 8cfa8c07c47deab625ea4547d8c12ce31039829e
child 710286 2c19bd27dedae8d6b540da65fc2eb63dff722a56
child 710287 3b12aeee4e445a1fb2cf269f9331e91a39ee69e4
child 710288 03e61a1664a5abfb65d56f7d922814b1f47ecb8d
push id92798
push userxquan@mozilla.com
push dateSat, 09 Dec 2017 01:31:13 +0000
reviewersdbaron
bugs1134099
milestone59.0a1
Bug 1134099 part 1 - Separate UA-specific reftests. r?dbaron MozReview-Commit-ID: FS1BdSUkO17
layout/reftests/counter-style/reftest.list
layout/reftests/counter-style/system-additive-ref.html
layout/reftests/counter-style/system-additive.html
layout/reftests/counter-style/system-symbolic-ref.html
layout/reftests/counter-style/system-symbolic.html
layout/reftests/counter-style/too-long-representation-ref.html
layout/reftests/counter-style/too-long-representation.html
--- a/layout/reftests/counter-style/reftest.list
+++ b/layout/reftests/counter-style/reftest.list
@@ -28,8 +28,9 @@
 == descriptor-symbols-invalid.html  descriptor-symbols-invalid-ref.html
 == name-case-sensitivity.html       name-case-sensitivity-ref.html
 == dependent-builtin.html           dependent-builtin-ref.html
 == redefine-builtin.html            redefine-builtin-ref.html
 == redefine-attr-mapping.html       redefine-attr-mapping-ref.html
 == disclosure-styles.html           disclosure-styles-ref.html
 == symbols-function.html            symbols-function-ref.html
 == symbols-function-invalid.html    symbols-function-invalid-ref.html
+== too-long-representation.html too-long-representation-ref.html
--- a/layout/reftests/counter-style/system-additive-ref.html
+++ b/layout/reftests/counter-style/system-additive-ref.html
@@ -13,26 +13,24 @@
 <div>&#x2685;&#x2680;</div>
 <div>&#x2685;&#x2683;</div>
 <div>&#x2685;&#x2684;</div>
 <div>&#x2685;&#x2685;</div>
 <div>&#x2685;&#x2685;&#x2680;</div>
 <div><script type="text/javascript">
   document.write(Array(61).join('&#x2685;'));
 </script></div>
-<div>1000</div>
 <!-- list-style-type: b -->
 <div>-2</div>
 <div>-1</div>
 <div>&#x2637;</div>
 <div>&#x2636;</div>
 <div>&#x2635;</div>
 <!-- list-style-type: c -->
 <div>1.&nbsp;</div>
 <div>b.&nbsp;</div>
 <div>a.&nbsp;</div>
 <div>4.&nbsp;</div>
 <div>ab.&nbsp;</div>
 <!-- list-style-type: d -->
 <div><script type="text/javascript">
   document.write(Array(61).join('&#x10300;'));
 </script>.&nbsp;</div>
-<div>100.&nbsp;</div>
--- a/layout/reftests/counter-style/system-additive.html
+++ b/layout/reftests/counter-style/system-additive.html
@@ -20,20 +20,18 @@
     additive-symbols: 1 \10300;
   }
 </style>
 <ol start="-2" style="list-style-type: a">
   <li><li><li><li><li>
   <li><li><li><li><li>
   <li value="10"><li><li><li>
   <li value="360"><!-- 60 code points -->
-  <li value="1000"><!-- too long -->
 </ol>
 <ol start="-2" style="list-style-type: b">
   <li><li><li><li><li>
 </ol>
 <ol style="list-style-type: c">
   <li><li><li><li><li>
 </ol>
 <ol style="list-style-type: d">
   <li value="60"><!-- 60 code points -->
-  <li value="100"><!-- too long -->
 </ol>
--- a/layout/reftests/counter-style/system-symbolic-ref.html
+++ b/layout/reftests/counter-style/system-symbolic-ref.html
@@ -9,14 +9,12 @@
 <div>&#x2020;</div>
 <div>&#x2021;</div>
 <div>**</div>
 <div>&#x2051;&#x2051;</div>
 <div>&#x2020;&#x2020;</div>
 <div><script type="text/javascript">
   document.write(Array(61).join('&#x2021;'));
 </script></div>
-<div>1000</div>
 <!-- list-style-type: b -->
 <div><script type="text/javascript">
   document.write(Array(61).join('&#x10300;'));
 </script>.&nbsp;</div>
-<div>100.&nbsp;</div>
--- a/layout/reftests/counter-style/system-symbolic.html
+++ b/layout/reftests/counter-style/system-symbolic.html
@@ -9,14 +9,12 @@
   @counter-style b {
     symbols: \10300;
   }
 </style>
 <ol start="-2" style="list-style-type: a">
   <li><li><li><li><li>
   <li><li><li><li><li>
   <li value="240"><!-- 60 code points -->
-  <li value="1000"><!-- too long -->
 </ol>
 <ol style="list-style-type: b">
   <li value="60"><!-- 60 code points -->
-  <li value="100"><!-- too long -->
 </ol>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/counter-style/too-long-representation-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<link rel="stylesheet" href="ref-common.css">
+<div>1000</div>
+<div>100.&nbsp;</div>
+<div>1000</div>
+<div>100.&nbsp;</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/counter-style/too-long-representation.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<link rel="stylesheet" href="test-common.css">
+<style type="text/css">
+  @counter-style a {
+    /* system: symbolic; */
+    symbols: '*' \2051  \2020  \2021;
+    suffix: '';
+  }
+  @counter-style b {
+    symbols: \10300;
+  }
+  @counter-style c {
+    system: additive;
+    additive-symbols: 6 \2685, 5 \2684, 4 \2683, 3 \2682, 2 \2681, 1 \2680;
+    suffix: "";
+  }
+  @counter-style d {
+    system: additive;
+    additive-symbols: 1 \10300;
+  }
+</style>
+<ol style="list-style-type: a">
+  <li value="1000"><!-- too long -->
+</ol>
+<ol style="list-style-type: b">
+  <li value="100"><!-- too long -->
+</ol>
+<ol style="list-style-type: c">
+  <li value="1000"><!-- too long -->
+</ol>
+<ol style="list-style-type: d">
+  <li value="100"><!-- too long -->
+</ol>