summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1083848-3-inline-background-repeat.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/writing-mode/1083848-3-inline-background-repeat.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/writing-mode/1083848-3-inline-background-repeat.html')
-rw-r--r--layout/reftests/writing-mode/1083848-3-inline-background-repeat.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1083848-3-inline-background-repeat.html b/layout/reftests/writing-mode/1083848-3-inline-background-repeat.html
new file mode 100644
index 000000000..ac9dd02c5
--- /dev/null
+++ b/layout/reftests/writing-mode/1083848-3-inline-background-repeat.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: dejavu;
+ src: url(../fonts/DejaVuSansMono.woff);
+}
+.test {
+ margin: 10px;
+ border: 1px solid gray;
+ font: 16px/24px dejavu;
+ word-break: break-all;
+ width: 10em;
+ height: 6.5em;
+ /* we use text-orientation:upright to improve the chances that our
+ glyphs will have an advance of exactly 1em, as the reference
+ rendering relies on this */
+ text-orientation: upright;
+ color: rgba(0,0,255,0.2);
+}
+
+.v-lr { writing-mode:vertical-lr; }
+.v-rl { writing-mode:vertical-rl; }
+
+.bgtest {
+ background: url(4colors.png); /* A square divided into a 2x2 grid of 4 colors; */
+ /* only the two left squares (blue & cyan) should show */
+ background-size: 32px;
+}
+</style>
+</head>
+
+<body>
+
+<div class="test v-lr">ABCD<span class="bgtest">EFGHIJKLMNOPQRSTU</span>VWXYZ</div>
+
+<div class="test v-rl">ABCD<span class="bgtest">EFGHIJKLMNOPQRSTU</span>VWXYZ</div>
+
+</body>
+</html>