Bug 1404057 - stylo: Add reftest for ensuring lang is not reset by the `all` shorthand ; r?xidorn draft
authorManish Goregaokar <manishearth@gmail.com>
Tue, 03 Oct 2017 08:30:34 -0700
changeset 674387 10de0ac430f9a9c72a9a98276a3cccc04bafee22
parent 674313 2f7ad0a04862a58221ec1083eda224dd4a69abb3
child 734311 fc25792d2896fece27c63cfed6ab7934b920e72d
push id82817
push userbmo:manishearth@gmail.com
push dateTue, 03 Oct 2017 18:04:16 +0000
reviewersxidorn
bugs1404057
milestone58.0a1
Bug 1404057 - stylo: Add reftest for ensuring lang is not reset by the `all` shorthand ; r?xidorn MozReview-Commit-ID: HgjJDwUM6Ju
layout/reftests/bugs/1404057-noref.html
layout/reftests/bugs/1404057-ref.html
layout/reftests/bugs/1404057.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1404057-noref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+  div {
+    height: 2em;
+  }
+</style>
+<body>
+  <div lang="ja">令</div>
+  <div lang="ja">令</div>
+  <div lang="ja">令</div>
+</body>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1404057-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+  div {
+    height: 2em;
+  }
+</style>
+<body>
+  <div lang="zh-CN">令</div>
+  <div lang="ja">令</div>
+  <div lang="ja">令</div>
+</body>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1404057.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+  div {
+    height: 2em;
+  }
+</style>
+<body lang="zh-CN">
+  <div>令</div>
+  <div lang="ja">令</div>
+  <div><div lang="ja" style="all: inherit">令</div></div>
+</body>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2037,8 +2037,10 @@ needs-focus != 1377447-1.html 1377447-2.
 == 1380224-1.html 1380224-1-ref.html
 == 1384065.html 1384065-ref.html
 == 1384275-1.html 1384275-1-ref.html
 == 1381821.html 1381821-ref.html
 == 1395650-1.html 1395650-1-ref.html
 == 1398500-1.html 1398500-1-ref.html
 == 1401317.html 1401317-ref.html
 == 1401992.html 1401992-ref.html
+== 1404057.html 1404057-ref.html
+!= 1404057.html 1404057-noref.html