Bug 1404057 - stylo: Add reftest for ensuring lang is not reset by the `all` shorthand ; r?xidorn
MozReview-Commit-ID: HgjJDwUM6Ju
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