Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE HTML>
2 <html><head>
3 <meta charset="utf-8">
4 <title>Testcases for overflow-clip-box:content-box</title>
5 <style type="text/css">
6 html,body {
7 color:black; background-color:white; font:16px monospace; padding:0; margin:7px;
8 }
9 div {
10 width: 100px; padding-right:50px; overflow-clip-box:content-box;
11 overflow:hidden;
12 }
13 </style>
14 </head>
15 <body>
17 <div contenteditable=true spellcheck=false tabindex=0 id=x class="block">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div>
19 <script>
20 var x = document.getElementById('x');
21 x.focus();
22 x.scrollLeft=100000
23 window.getSelection().collapse(x,1);
24 </script>
25 </body>
26 </html>