summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/bidi-006-j.html
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/bidi/bidi-006-j.html
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/bidi/bidi-006-j.html')
-rw-r--r--layout/reftests/bidi/bidi-006-j.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layout/reftests/bidi/bidi-006-j.html b/layout/reftests/bidi/bidi-006-j.html
new file mode 100644
index 000000000..6444d1bce
--- /dev/null
+++ b/layout/reftests/bidi/bidi-006-j.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!-- Bidi reftest 006: rtl text with diacritics. This is hard to reftest
+ because if there is a bug it will typically be exhibited in the reference
+ rendering as well as in the test. The approach adopted here is to
+ position boxes around the edges of the character without a diacritic and
+ make sure that the character with the diacritic displays in the same
+ space, so that if the diacritic is shifted to the right or left it will
+ be cut off in the test rendering and be visible (in the wrong place) in
+ the reference rendering.
+
+ Relevant bugs:
+ 378351 (Windows)
+ 386573 (Mac)
+ 387653 (Linux)
+ 395676 (Windows)
+ -->
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ </head>
+ <style type="text/css">
+body { background: white; color: black; }
+p {
+ font-family: sans-serif;
+ font-size: 36px;
+ margin: 0;
+ text-align: justify;
+}
+span {
+ display: inline-block;
+ width: 3em;
+ height: 3em;
+ margin-top: -2em;
+ vertical-align: bottom;
+ background: white;
+}
+/* borders should be covered by overhang */
+p#test {
+ border-left: 3em solid red;
+ border-right: 3em solid red;
+ width: -moz-max-content;
+ width: intrinsic;
+}
+ </style>
+ <body>
+ <p id="test">&#x5e0;&#x5b8;</p>
+ <p id="overhang"><span></span>&#x5e0;<span></span></p>
+ </body>
+</html>