summaryrefslogtreecommitdiffstats
path: root/layout/reftests/indic-shaping
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/indic-shaping
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/indic-shaping')
-rw-r--r--layout/reftests/indic-shaping/686225-1-bangla-aat-notref.html5
-rw-r--r--layout/reftests/indic-shaping/686225-1-bangla-aat.html5
-rw-r--r--layout/reftests/indic-shaping/686225-2-kannada-aat-notref.html5
-rw-r--r--layout/reftests/indic-shaping/686225-2-kannada-aat.html5
-rw-r--r--layout/reftests/indic-shaping/balinese-1-ref.html19
-rw-r--r--layout/reftests/indic-shaping/balinese-1.html19
-rw-r--r--layout/reftests/indic-shaping/bengali-1-ref.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-1a.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-1b.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-2-ref.html28
-rw-r--r--layout/reftests/indic-shaping/bengali-2a.html28
-rw-r--r--layout/reftests/indic-shaping/bengali-2b.html28
-rw-r--r--layout/reftests/indic-shaping/bengali-3-ref.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-3a.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-3b.html27
-rw-r--r--layout/reftests/indic-shaping/bengali-3c.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-1-ref.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-1a.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-1b.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-2-ref.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-2.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-3-ref.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-3a.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-3b.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-4-notref.html27
-rw-r--r--layout/reftests/indic-shaping/devanagari-4.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-1-ref.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-1a.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-1b.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-2-ref.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-2.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-3-ref.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-3a.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-3b.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-4-notref.html27
-rw-r--r--layout/reftests/indic-shaping/gujarati-4.html27
-rw-r--r--layout/reftests/indic-shaping/reftest-stylo.list32
-rw-r--r--layout/reftests/indic-shaping/reftest.list27
38 files changed, 930 insertions, 0 deletions
diff --git a/layout/reftests/indic-shaping/686225-1-bangla-aat-notref.html b/layout/reftests/indic-shaping/686225-1-bangla-aat-notref.html
new file mode 100644
index 000000000..bf4825762
--- /dev/null
+++ b/layout/reftests/indic-shaping/686225-1-bangla-aat-notref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<div style="font:36px Bangla MN">
+&#x09ad;&#x09be;&#x09b2;&#x200c;&#x09cb;&#x09be;
+</div>
diff --git a/layout/reftests/indic-shaping/686225-1-bangla-aat.html b/layout/reftests/indic-shaping/686225-1-bangla-aat.html
new file mode 100644
index 000000000..9694d8f3e
--- /dev/null
+++ b/layout/reftests/indic-shaping/686225-1-bangla-aat.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<div style="font:36px Bangla MN">
+&#x09AD;&#x09BE;&#x09B2;&#x09CB;
+</div>
diff --git a/layout/reftests/indic-shaping/686225-2-kannada-aat-notref.html b/layout/reftests/indic-shaping/686225-2-kannada-aat-notref.html
new file mode 100644
index 000000000..b8a8107ef
--- /dev/null
+++ b/layout/reftests/indic-shaping/686225-2-kannada-aat-notref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<div style="font:36px Kannada MN">
+&#x0C95;&#x200c;&#x0CC0;&#x0CD5;
+</div>
diff --git a/layout/reftests/indic-shaping/686225-2-kannada-aat.html b/layout/reftests/indic-shaping/686225-2-kannada-aat.html
new file mode 100644
index 000000000..fcaddfb26
--- /dev/null
+++ b/layout/reftests/indic-shaping/686225-2-kannada-aat.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<div style="font:36px Kannada MN">
+&#x0C95;&#x0CC0;
+</div>
diff --git a/layout/reftests/indic-shaping/balinese-1-ref.html b/layout/reftests/indic-shaping/balinese-1-ref.html
new file mode 100644
index 000000000..478d8401b
--- /dev/null
+++ b/layout/reftests/indic-shaping/balinese-1-ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: test;
+ src: url(../fonts/NotoSansBalinese-Regular.ttf);
+}
+body {
+ font: 36px test;
+}
+</style>
+</head>
+<body>
+&#x1B33;&#x1B3E;&#x1B35;
+&#x1B26;&#x1B3F;&#x1B35;
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/balinese-1.html b/layout/reftests/indic-shaping/balinese-1.html
new file mode 100644
index 000000000..db2e8849b
--- /dev/null
+++ b/layout/reftests/indic-shaping/balinese-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: test;
+ src: url(../fonts/NotoSansBalinese-Regular.ttf);
+}
+body {
+ font: 36px test;
+}
+</style>
+</head>
+<body>
+&#x1B33;&#x1B40;
+&#x1B26;&#x1B41;
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-1-ref.html b/layout/reftests/indic-shaping/bengali-1-ref.html
new file mode 100644
index 000000000..d629909b1
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-1-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x09AE;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-1a.html b/layout/reftests/indic-shaping/bengali-1a.html
new file mode 100644
index 000000000..1c9c8d0d9
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-1a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x09B0;&#x09CD;&#x09AE;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-1b.html b/layout/reftests/indic-shaping/bengali-1b.html
new file mode 100644
index 000000000..369b1527a
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-1b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Suppressing Reph so that the Ra does occupy space -->
+<div>
+!<span class="w">&#x09B0;&#x09CD;&#x200C;&#x09AE;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-2-ref.html b/layout/reftests/indic-shaping/bengali-2-ref.html
new file mode 100644
index 000000000..40664abe9
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-2-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- subjoined Ra forms ligate with the consonant and generally modify its width,
+ so we expect "bra" to differ from both "b" and "b-halant-ra" -->
+<div>
+!<span class="w">&#x09AC;&#x09CD;&#x09B0;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-2a.html b/layout/reftests/indic-shaping/bengali-2a.html
new file mode 100644
index 000000000..3af0df97d
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-2a.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- subjoined Ra forms ligate with the consonant and generally modify its width,
+ so we expect "bra" to differ from both "b" and "b-halant-ra" -->
+<div>
+!<span class="w">&#x09AC;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-2b.html b/layout/reftests/indic-shaping/bengali-2b.html
new file mode 100644
index 000000000..6028e0054
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-2b.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- subjoined Ra forms ligate with the consonant and generally modify its width,
+ so we expect "bra" to differ from both "b" and "b-halant-ra" -->
+<div>
+!<span class="w">&#x09AC;&#x09CD;&#x200C;&#x09B0;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-3-ref.html b/layout/reftests/indic-shaping/bengali-3-ref.html
new file mode 100644
index 000000000..e5ae825fa
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-3-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- two-part vowel sign encoded as its component parts -->
+<div>
+&#x0995;&#x09CD;&#x09B8;&#x09C7;&#x09BE;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-3a.html b/layout/reftests/indic-shaping/bengali-3a.html
new file mode 100644
index 000000000..59bf1ad51
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-3a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- two-part vowel sign: surrounds consonant cluster -->
+<div>
+&#x0995;&#x09CD;&#x09B8;&#x09CB;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-3b.html b/layout/reftests/indic-shaping/bengali-3b.html
new file mode 100644
index 000000000..2e6038270
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-3b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- two-part vowel sign after cluster with ZWJ: surrounds entire cluster -->
+<div>
+&#x0995;&#x09CD;&#x200D;&#x09B8;&#x09CB;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/bengali-3c.html b/layout/reftests/indic-shaping/bengali-3c.html
new file mode 100644
index 000000000..d6570fe38
--- /dev/null
+++ b/layout/reftests/indic-shaping/bengali-3c.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Bengali shaping</title>
+<style>
+@font-face {
+ font-family: lohit-bn;
+ src: url(../fonts/ttf-indic/lohit_bn.ttf);
+}
+body {
+ font-family: lohit-bn;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- two-part vowel sign after cluster with ZWNJ: surrounds last consonant only -->
+<div>
+&#x0995;&#x09CD;&#x200C;&#x09B8;&#x09CB;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-1-ref.html b/layout/reftests/indic-shaping/devanagari-1-ref.html
new file mode 100644
index 000000000..36041afa5
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-1-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x0939;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-1a.html b/layout/reftests/indic-shaping/devanagari-1a.html
new file mode 100644
index 000000000..fd0fea49f
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-1a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x0930;&#x094D;&#x0939;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-1b.html b/layout/reftests/indic-shaping/devanagari-1b.html
new file mode 100644
index 000000000..998032d8c
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-1b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Suppressing Reph so that the Ra does occupy space -->
+<div>
+!<span class="w">&#x0930;&#x094D;&#x200d;&#x0939;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-2-ref.html b/layout/reftests/indic-shaping/devanagari-2-ref.html
new file mode 100644
index 000000000..86dccd8b7
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-2-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ttra has the same width as tta -->
+<div>
+!<span class="w">&#x091F;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-2.html b/layout/reftests/indic-shaping/devanagari-2.html
new file mode 100644
index 000000000..18a5ea2a2
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-2.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ttra has the same width as tta -->
+<div>
+!<span class="w">&#x091F;&#x094D;&#x0930;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-3-ref.html b/layout/reftests/indic-shaping/devanagari-3-ref.html
new file mode 100644
index 000000000..4c7af98da
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-3-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0938;&#x0915;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-3a.html b/layout/reftests/indic-shaping/devanagari-3a.html
new file mode 100644
index 000000000..6727fa061
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-3a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0938;&#x094D;&#x0915;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-3b.html b/layout/reftests/indic-shaping/devanagari-3b.html
new file mode 100644
index 000000000..2a713d3c3
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-3b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0938;&#x094D;&#x200c;&#x0915;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-4-notref.html b/layout/reftests/indic-shaping/devanagari-4-notref.html
new file mode 100644
index 000000000..a556e2197
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-4-notref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- presence of ZWNJ alters placement of the short-I matra -->
+<div>
+&#x0921;&#x094D;&#x0938;&#x093F;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/devanagari-4.html b/layout/reftests/indic-shaping/devanagari-4.html
new file mode 100644
index 000000000..30a54ac1d
--- /dev/null
+++ b/layout/reftests/indic-shaping/devanagari-4.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Devanagari shaping</title>
+<style>
+@font-face {
+ font-family: lohit-hi;
+ src: url(../fonts/ttf-indic/lohit_hi.ttf);
+}
+body {
+ font-family: lohit-hi;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- presence of ZWNJ alters placement of the short-I matra -->
+<div>
+&#x0921;&#x094D;&#x200C;&#x0938;&#x093F;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-1-ref.html b/layout/reftests/indic-shaping/gujarati-1-ref.html
new file mode 100644
index 000000000..cf17a15e2
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-1-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x0AB9;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-1a.html b/layout/reftests/indic-shaping/gujarati-1a.html
new file mode 100644
index 000000000..acb0c253f
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-1a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Ra that forms Reph should not contribute any width -->
+<div>
+!<span class="w">&#x0AB0;&#x0ACD;&#x0AB9;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-1b.html b/layout/reftests/indic-shaping/gujarati-1b.html
new file mode 100644
index 000000000..60e0a6f5c
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-1b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- Suppressing Reph so that the Ra does occupy space -->
+<div>
+!<span class="w">&#x0AB0;&#x0ACD;&#x200d;&#x0AB9;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-2-ref.html b/layout/reftests/indic-shaping/gujarati-2-ref.html
new file mode 100644
index 000000000..36813b802
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-2-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ddra has the same width as dda -->
+<div>
+!<span class="w">&#x0AA1;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-2.html b/layout/reftests/indic-shaping/gujarati-2.html
new file mode 100644
index 000000000..cd2830310
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-2.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ddra has the same width as dda -->
+<div>
+!<span class="w">&#x0AA1;&#x0ACD;&#x0AB0;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-3-ref.html b/layout/reftests/indic-shaping/gujarati-3-ref.html
new file mode 100644
index 000000000..cd828861a
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-3-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0AB8;&#x0A95;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-3a.html b/layout/reftests/indic-shaping/gujarati-3a.html
new file mode 100644
index 000000000..c470a04ea
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-3a.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0AB8;&#x0ACD;&#x0A95;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-3b.html b/layout/reftests/indic-shaping/gujarati-3b.html
new file mode 100644
index 000000000..629a9440d
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-3b.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- ska does not have the same width as saka, unless rendered with visible halant -->
+<div>
+!<span class="w">&#x0AB8;&#x0ACD;&#x200c;&#x0A95;</span>!
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-4-notref.html b/layout/reftests/indic-shaping/gujarati-4-notref.html
new file mode 100644
index 000000000..a46b8ec83
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-4-notref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- presence of ZWNJ alters placement of the short-I matra -->
+<div>
+&#x0AA1;&#x0ACD;&#x0AB8;&#x0ABF;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/gujarati-4.html b/layout/reftests/indic-shaping/gujarati-4.html
new file mode 100644
index 000000000..b7aa34eba
--- /dev/null
+++ b/layout/reftests/indic-shaping/gujarati-4.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Simple Gujarati shaping</title>
+<style>
+@font-face {
+ font-family: lohit-gu;
+ src: url(../fonts/ttf-indic/lohit_gu.ttf);
+}
+body {
+ font-family: lohit-gu;
+ font-size: 36px;
+ margin: 18px;
+}
+.w {
+ color: white;
+}
+</style>
+</head>
+<body>
+<!-- presence of ZWNJ alters placement of the short-I matra -->
+<div>
+&#x0AA1;&#x0ACD;&#x200C;&#x0AB8;&#x0ABF;
+</div>
+</body>
+</html>
diff --git a/layout/reftests/indic-shaping/reftest-stylo.list b/layout/reftests/indic-shaping/reftest-stylo.list
new file mode 100644
index 000000000..762b68513
--- /dev/null
+++ b/layout/reftests/indic-shaping/reftest-stylo.list
@@ -0,0 +1,32 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+skip-if(B2G||Mulet) HTTP(..) == devanagari-1a.html devanagari-1a.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+HTTP(..) == devanagari-1b.html devanagari-1b.html
+HTTP(..) == devanagari-2.html devanagari-2.html
+HTTP(..) == devanagari-3a.html devanagari-3a.html
+HTTP(..) == devanagari-3b.html devanagari-3b.html
+HTTP(..) == devanagari-4.html devanagari-4.html
+
+HTTP(..) == gujarati-1a.html gujarati-1a.html
+HTTP(..) == gujarati-1b.html gujarati-1b.html
+HTTP(..) == gujarati-2.html gujarati-2.html
+HTTP(..) == gujarati-3a.html gujarati-3a.html
+skip-if(B2G||Mulet) HTTP(..) == gujarati-3b.html gujarati-3b.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+HTTP(..) == gujarati-4.html gujarati-4.html
+
+skip-if(B2G||Mulet) HTTP(..) == bengali-1a.html bengali-1a.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+HTTP(..) == bengali-1b.html bengali-1b.html
+HTTP(..) == bengali-2a.html bengali-2a.html
+HTTP(..) == bengali-2b.html bengali-2b.html
+skip-if(B2G||Mulet) HTTP(..) == bengali-3a.html bengali-3a.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+HTTP(..) == bengali-3b.html bengali-3b.html
+HTTP(..) == bengali-3c.html bengali-3c.html
+HTTP(..) == bengali-3c.html bengali-3c.html
+
+== 686225-1-bangla-aat.html 686225-1-bangla-aat.html
+skip == 686225-2-kannada-aat.html 686225-2-kannada-aat.html
+
+HTTP(..) == balinese-1.html balinese-1.html
diff --git a/layout/reftests/indic-shaping/reftest.list b/layout/reftests/indic-shaping/reftest.list
new file mode 100644
index 000000000..482ebd5fd
--- /dev/null
+++ b/layout/reftests/indic-shaping/reftest.list
@@ -0,0 +1,27 @@
+HTTP(..) == devanagari-1a.html devanagari-1-ref.html
+HTTP(..) != devanagari-1b.html devanagari-1-ref.html
+HTTP(..) == devanagari-2.html devanagari-2-ref.html
+HTTP(..) != devanagari-3a.html devanagari-3-ref.html
+HTTP(..) == devanagari-3b.html devanagari-3-ref.html
+HTTP(..) != devanagari-4.html devanagari-4-notref.html
+
+HTTP(..) == gujarati-1a.html gujarati-1-ref.html
+HTTP(..) != gujarati-1b.html gujarati-1-ref.html
+HTTP(..) == gujarati-2.html gujarati-2-ref.html
+HTTP(..) != gujarati-3a.html gujarati-3-ref.html
+HTTP(..) == gujarati-3b.html gujarati-3-ref.html
+HTTP(..) != gujarati-4.html gujarati-4-notref.html
+
+HTTP(..) == bengali-1a.html bengali-1-ref.html
+HTTP(..) != bengali-1b.html bengali-1-ref.html
+HTTP(..) != bengali-2a.html bengali-2-ref.html
+HTTP(..) != bengali-2b.html bengali-2-ref.html
+HTTP(..) == bengali-3a.html bengali-3-ref.html
+HTTP(..) != bengali-3b.html bengali-3-ref.html
+HTTP(..) != bengali-3c.html bengali-3-ref.html
+HTTP(..) != bengali-3c.html bengali-3b.html
+
+!= 686225-1-bangla-aat.html 686225-1-bangla-aat-notref.html
+!= 686225-2-kannada-aat.html 686225-2-kannada-aat-notref.html
+
+HTTP(..) == balinese-1.html balinese-1-ref.html