Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html><head> |
michael@0 | 3 | <meta charset="utf-8"> |
michael@0 | 4 | <title>Testcases for overflow-clip-box:content-box</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | html,body { |
michael@0 | 7 | color:black; background-color:white; font:16px monospace; padding:0; margin:7px; |
michael@0 | 8 | } |
michael@0 | 9 | div { |
michael@0 | 10 | width: 100px; padding-right:50px; overflow-clip-box:content-box; |
michael@0 | 11 | overflow:hidden; |
michael@0 | 12 | } |
michael@0 | 13 | </style> |
michael@0 | 14 | </head> |
michael@0 | 15 | <body> |
michael@0 | 16 | |
michael@0 | 17 | <div contenteditable=true spellcheck=false tabindex=0 id=x class="block">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div> |
michael@0 | 18 | |
michael@0 | 19 | <script> |
michael@0 | 20 | var x = document.getElementById('x'); |
michael@0 | 21 | x.focus(); |
michael@0 | 22 | x.scrollLeft=100000 |
michael@0 | 23 | window.getSelection().collapse(x,1); |
michael@0 | 24 | </script> |
michael@0 | 25 | </body> |
michael@0 | 26 | </html> |