summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht b/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht
new file mode 100644
index 0000000000..1c98878f18
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009-ref.xht
@@ -0,0 +1,35 @@
+<!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>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
+ <link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-12 -->
+ <meta name="flags" content="image" />
+ <style type="text/css"><![CDATA[
+ img
+ {
+ padding-left: 252px; /* 60px (padding-left) + 120px (B) + 96px (?) - 24px (?) == 252px */
+ vertical-align: top;
+ }
+
+ img + br + img
+ {
+ padding-left: 60px; /* 60px (padding-left) */
+ }
+
+ img + br + img + br + img
+ {
+ padding-left: 228px; /* 60px (padding-left) + 120px (B) + 96px (?) - 48px == 228px */
+ }
+ ]]></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-teal.png" width="24" height="30" alt="Image download support must be enabled" /><br /><img src="support/swatch-teal.png" width="216" height="120" alt="Image download support must be enabled" /><br /><img src="support/swatch-teal.png" width="48" height="60" alt="Image download support must be enabled" /></div>
+
+</body>
+</html> \ No newline at end of file