Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- Any copyright is dedicated to the Public Domain. |
michael@0 | 2 | - http://creativecommons.org/publicdomain/zero/1.0/ --> |
michael@0 | 3 | <!DOCTYPE HTML> |
michael@0 | 4 | <html><head> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
michael@0 | 6 | <title>Testcase for bug 672944</title> |
michael@0 | 7 | <style type="text/css"> |
michael@0 | 8 | @font-face { |
michael@0 | 9 | font-family: DejaVuSansMono; |
michael@0 | 10 | src: url(../fonts/DejaVuSansMono.woff),url(DejaVuSansMono.woff); |
michael@0 | 11 | } |
michael@0 | 12 | html,body { |
michael@0 | 13 | color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | .bacon { |
michael@0 | 17 | white-space: nowrap; |
michael@0 | 18 | text-overflow: clip; |
michael@0 | 19 | overflow: hidden; |
michael@0 | 20 | width: 30ch; |
michael@0 | 21 | display: -moz-box; |
michael@0 | 22 | background: lime; |
michael@0 | 23 | margin-bottom: 1em; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | .auto { |
michael@0 | 27 | overflow-x: auto; |
michael@0 | 28 | width: 29.5ch; |
michael@0 | 29 | padding-bottom: 2ch; |
michael@0 | 30 | } |
michael@0 | 31 | .scroll { |
michael@0 | 32 | overflow: auto; |
michael@0 | 33 | padding: 2ch; |
michael@0 | 34 | border: 3px solid black; |
michael@0 | 35 | } |
michael@0 | 36 | .scroll2 { |
michael@0 | 37 | overflow: auto; |
michael@0 | 38 | padding: 3ch; |
michael@0 | 39 | } |
michael@0 | 40 | .scroll3 { |
michael@0 | 41 | overflow: auto; |
michael@0 | 42 | padding: 2ch; |
michael@0 | 43 | text-indent: -3ch; |
michael@0 | 44 | } |
michael@0 | 45 | .scroll4 { |
michael@0 | 46 | overflow: auto; |
michael@0 | 47 | padding: 2ch 0.2ch; |
michael@0 | 48 | } |
michael@0 | 49 | span { background-color:white; position: relative; } |
michael@0 | 50 | ml3 {position: absolute; left:29ch; } |
michael@0 | 51 | |
michael@0 | 52 | #block-hover { |
michael@0 | 53 | position:fixed; |
michael@0 | 54 | top:0;left:0;width:100%;height:100%; |
michael@0 | 55 | } |
michael@0 | 56 | </style> |
michael@0 | 57 | </head> |
michael@0 | 58 | <body> |
michael@0 | 59 | |
michael@0 | 60 | <div style="float:right;" dir="rtl"> |
michael@0 | 61 | <div class="bacon"><span>1Beef hamburger bacon tri-tip… jowl biltong tail ribeye ham</span></div><br> |
michael@0 | 62 | <div class="bacon auto"><span>2Beef hamburger bacon tri- ipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 63 | <div class="bacon scroll"><span>3Beef hamburger bacon tri pJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 64 | <div class="bacon scroll2"><span>4Beef hamburger bacon tr pJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 65 | <div class="bacon scroll3"><span>5Beef hamburger bacon -tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 66 | <div class="bacon scroll4"><span>6Beef hamburger bacon tri- pJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 67 | </div> |
michael@0 | 68 | |
michael@0 | 69 | <div> |
michael@0 | 70 | <div class="bacon"><span>1Beef hamburger bacon tri-tip… jowl biltong tail ribeye ham</span></div><br> |
michael@0 | 71 | <div class="bacon auto"><span>2Beef hamburger bacon tri-tip OWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 72 | <div class="bacon scroll"><span>3Beef hamburger bacon tri-tipJ WLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 73 | <div class="bacon scroll2"><span>4Beef hamburger bacon tri-tipJO LBILTONG tail ribeye ham</span></div><br> |
michael@0 | 74 | <div class="bacon scroll3"><span>5Beef hamburger bacon tri-tipJOWL ILTONG tail ribeye ham</span></div><br> |
michael@0 | 75 | <div class="bacon scroll4"><span>6Beef hamburger bacon tri-ti JOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 76 | </div> |
michael@0 | 77 | |
michael@0 | 78 | <div id="block-hover"></div> |
michael@0 | 79 | </body> |
michael@0 | 80 | </html> |