tooltip-display-vertical-001-manual.html (1147B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Writing Modes Test: tooltip should display in the writing mode of associated element</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#block-flow"> 9 10 <!-- 11 12 Bug 1183691: Tooltips should display in the writing mode of the associated element 13 https://bugzilla.mozilla.org/show_bug.cgi?id=1183691 14 15 Issue 703011: Tooltip should be displayed according to the writing mode of associated element 16 https://bugs.chromium.org/p/chromium/issues/detail?id=703011 17 18 --> 19 20 <meta content="may interact" name="flags"> 21 22 <style> 23 h3#vrl 24 { 25 float: right; 26 writing-mode: vertical-rl; 27 } 28 29 h3#vlr 30 { 31 float: left; 32 writing-mode: vertical-lr; 33 } 34 </style> 35 36 <h3 title="Test passes if tooltip is vertical and if tooltip text is rotated 90°" id="vrl">Hover pointing device over this text</h3> 37 38 <h3 title="Test passes if tooltip is vertical and if tooltip text is rotated 90°" id="vlr">Hover pointing device over this text</h3>