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 class="reftest-wait"><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: ellipsis ellipsis; |
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 | padding-bottom: 2ch; |
michael@0 | 29 | width: 29.5ch; |
michael@0 | 30 | text-overflow: "" ""; |
michael@0 | 31 | } |
michael@0 | 32 | .scroll { |
michael@0 | 33 | overflow: auto; |
michael@0 | 34 | padding: 2ch; |
michael@0 | 35 | border: 3px solid black; |
michael@0 | 36 | text-overflow: "" ""; |
michael@0 | 37 | } |
michael@0 | 38 | .scroll2 { |
michael@0 | 39 | overflow: auto; |
michael@0 | 40 | padding: 3ch; |
michael@0 | 41 | text-overflow: "" ""; |
michael@0 | 42 | } |
michael@0 | 43 | .scroll3 { |
michael@0 | 44 | overflow: auto; |
michael@0 | 45 | padding: 2ch; |
michael@0 | 46 | text-indent: -3ch; |
michael@0 | 47 | text-overflow: "" ""; |
michael@0 | 48 | } |
michael@0 | 49 | .scroll4 { |
michael@0 | 50 | overflow: auto; |
michael@0 | 51 | padding: 2ch 0.2ch; |
michael@0 | 52 | text-overflow: "" ""; |
michael@0 | 53 | } |
michael@0 | 54 | span { background-color:white; } |
michael@0 | 55 | |
michael@0 | 56 | #block-hover { |
michael@0 | 57 | position:fixed; |
michael@0 | 58 | top:0;left:0;width:100%;height:100%; |
michael@0 | 59 | } |
michael@0 | 60 | </style> |
michael@0 | 61 | <script type="text/javascript"> |
michael@0 | 62 | function init() { |
michael@0 | 63 | // workaround bug 936936 |
michael@0 | 64 | document.body.style.display="block"; |
michael@0 | 65 | |
michael@0 | 66 | document.getElementById('rtl_auto').scrollLeft=999999; |
michael@0 | 67 | |
michael@0 | 68 | document.documentElement.removeAttribute('class'); |
michael@0 | 69 | } |
michael@0 | 70 | </script> |
michael@0 | 71 | </head> |
michael@0 | 72 | <body onload="init();" style="display: inline;"> |
michael@0 | 73 | |
michael@0 | 74 | <div style="float:right;" dir="rtl"> |
michael@0 | 75 | <div class="bacon"><span>1Beef hamburger bacon tri-tip, jowl biltong tail ribeye ham</span></div><br> |
michael@0 | 76 | <div id="rtl_auto" class="bacon auto"><span>2Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 77 | <div class="bacon scroll"><span>3Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 78 | <div class="bacon scroll2"><span>4Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 79 | <div class="bacon scroll3"><span>5Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 80 | <div class="bacon scroll4"><span>6Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 81 | </div> |
michael@0 | 82 | |
michael@0 | 83 | <div> |
michael@0 | 84 | <div class="bacon"><span>1Beef hamburger bacon tri-tip, jowl biltong tail ribeye ham</span></div><br> |
michael@0 | 85 | <div class="bacon auto"><span>2Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 86 | <div class="bacon scroll"><span>3Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 87 | <div class="bacon scroll2"><span>4Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 88 | <div class="bacon scroll3"><span>5Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 89 | <div class="bacon scroll4"><span>6Beef hamburger bacon tri-tipJOWLBILTONG tail ribeye ham</span></div><br> |
michael@0 | 90 | </div> |
michael@0 | 91 | |
michael@0 | 92 | <div id="block-hover"></div> |
michael@0 | 93 | </body> |
michael@0 | 94 | </html> |