OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
2 | 2 |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 | 4 |
5 <head> | 5 <head> |
6 | 6 |
7 <title>CSS Writing Modes Test: height and width - inline non-replaced element
in vertical writing-mode</title> | 7 <title>CSS Writing Modes Test: height and width - inline non-replaced element
in vertical writing-mode</title> |
8 | 8 |
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> | 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> |
11 <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.htm
l#inline-width" title="10.3.1 Inline, non-replaced elements" /> | 11 <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.htm
l#inline-width" title="10.3.1 Inline, non-replaced elements" /> |
12 <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.htm
l#inline-non-replaced" title="10.6.1 Inline, non-replaced elements" /> | 12 <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.htm
l#inline-non-replaced" title="10.6.1 Inline, non-replaced elements" /> |
13 <link rel="match" href="abs-pos-non-replaced-icb-vrl-008-ref.xht" /> | 13 <link rel="match" href="abs-pos-non-replaced-icb-vrl-008-ref.xht" /> |
14 | 14 |
15 <meta content="ahem" name="flags" /> | 15 <meta content="ahem" name="flags" /> |
16 <meta content="This test checks that height and width declarations do not appl
y to inline non-replaced elements in vertical writing-modes." name="assert" /> | 16 <meta content="This test checks that height and width declarations do not appl
y to inline non-replaced elements in vertical writing-modes." name="assert" /> |
17 | 17 |
18 <style type="text/css"><![CDATA[ | 18 <style type="text/css"><![CDATA[ |
19 div#block | 19 div#block |
20 { | 20 { |
21 font: 6.25em/1 Ahem; /* computes to 100px/100px */ | 21 font: 100px/1 Ahem; /* computes to 100px/100px */ |
22 height: 2em; | 22 height: 2em; |
23 width: 4em; | 23 width: 4em; |
24 -webkit-writing-mode: vertical-rl; | 24 -webkit-writing-mode: vertical-rl; |
25 } | 25 } |
26 | 26 |
27 div#inline | 27 div#inline |
28 { | 28 { |
29 background-color: red; | 29 background-color: red; |
30 color: red; | 30 color: red; |
31 display: inline; | 31 display: inline; |
(...skipping 18 matching lines...) Expand all Loading... |
50 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 50 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
51 | 51 |
52 <div id="block"> | 52 <div id="block"> |
53 <div id="inline">A</div> | 53 <div id="inline">A</div> |
54 </div> | 54 </div> |
55 | 55 |
56 <div id="overlapping-green"></div> | 56 <div id="overlapping-green"></div> |
57 | 57 |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |