aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-07-27 17:47:31 +0100
committerJames Graham <james@hoppipolla.co.uk>2015-07-27 17:47:31 +0100
commitdf03062d626f485dd896ce9c4374dfce447dc657 (patch)
treea96bdde06c6cd88dd68bc5ef4de8277fc6250a60 /tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht
parent662c00a8109c49d4c57343156b774441f4f48640 (diff)
downloadservo-df03062d626f485dd896ce9c4374dfce447dc657.tar.gz
servo-df03062d626f485dd896ce9c4374dfce447dc657.zip
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
Diffstat (limited to 'tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht')
-rw-r--r--tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht
new file mode 100644
index 00000000000..c33e65bb8b3
--- /dev/null
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/inline-block-alignment-009-ref.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Reftest Reference</title>
+ <style type="text/css">
+ @page { font: italic 8pt sans-serif; color: gray;
+ margin: 7%;
+ counter-increment: page;
+ @top-left { content: "CSS Writing Modes Module Level 3 CR Test Suite"; }
+ @top-right { content: "Test inline-block-alignment-009-ref"; }
+ @bottom-right { content: counter(page); }
+ }
+</style>
+ <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
+ <link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-07-21 -->
+ <meta name="flags" content="image" />
+ <style type="text/css"><![CDATA[
+ img
+ {
+ vertical-align: top;
+ }
+
+ img
+ {
+ padding-left: 192px; /* 60 px (padding-left) + 120px (width of inline-block) + 12px (the position difference of box) */
+ }
+
+ img + br + img
+ {
+ padding-left: 60px; /* 60 px (padding-left) */
+ }
+
+ img + br + img + br + img
+ {
+ padding-left: 198px; /* 60 px (padding-left) + 120px (width of inline-block)+ 18px (the position difference of box) */
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the <strong>right edge</strong> of an irregular polygon is straight and unbroken.</p>
+
+ <div>
+ <img src="support/swatch-olive.png" width="12" height="60" alt="Image download support must be enabled" /><br /><!--
+ --><img src="support/swatch-olive.png" width="144" height="120" alt="Image download support must be enabled" /><br /><!--
+ --><img src="support/swatch-olive.png" width="6" height="30" alt="Image download support must be enabled" />
+ </div>
+ </body>
+</html> \ No newline at end of file