outline-inline-vlr-013.xht (1861B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <!-- 8 Original test is 9 http://test.csswg.org/suites/css2.1/latest/html4/outline-layout-004.htm 10 --> 11 12 <title>CSS Writing Mode Test: outline and multi-line non-replaced inline box</title> 13 14 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 15 <link href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" /> 16 <link href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" rel="help" title="18.4 Dynamic outlines: the 'outline' property" /> 17 <link rel="bookmark" href="https://bugzilla.mozilla.org/show_bug.cgi?id=266122" title="Bug 266122: Outline applied on a multi-line element should encompass all the line boxes and stay connected" /> 18 19 <meta name="assert" content="Outline border must be connected and must enclose entirely a multi-line (non-replaced) inline box in a vertical writing-mode." /> 20 21 <meta name="DC.date.created" content="2016-04-30T09:54:03+11:00" scheme="W3CDTF" /> 22 <meta name="DC.date.modified" content="2016-09-22T09:54:03+11:00" scheme="W3CDTF" /> 23 24 <style type="text/css"><![CDATA[ 25 div 26 { 27 font-size: 20px; 28 height: 200px; 29 writing-mode: vertical-lr; 30 } 31 32 span 33 { 34 outline: blue solid 2px; 35 } 36 ]]></style> 37 </head> 38 39 <body> 40 41 <p>Test passes if 1 and only 1 blue border encloses a whole set of several "Filler Text" (each rotated 90 degrees clockwise). The shape of the blue border may be non-rectangular but this is not required.</p> 42 43 <div><span>Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text</span></div> 44 45 </body> 46 </html>