1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/tests/bug966992-3-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html><head> 1.6 + <meta charset="utf-8"> 1.7 + <title>Testcases for overflow-clip-box:content-box</title> 1.8 + <style type="text/css"> 1.9 + html,body { 1.10 + color:black; background-color:white; font:16px monospace; padding:0; margin:7px; 1.11 + } 1.12 + div { 1.13 + width: 100px; padding-right:50px; overflow-clip-box:padding-box; 1.14 + overflow:hidden; 1.15 + } 1.16 +.rel { position:relative; } 1.17 +.mask5 { position:absolute; height:40px; background:white; top:3px; left:0px; width:50px; } 1.18 + </style> 1.19 +</head> 1.20 +<body> 1.21 + 1.22 +<div contenteditable=true spellcheck=false tabindex=0 id=x class="block"><span style="padding-right:50px">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span></div> 1.23 + 1.24 +<script> 1.25 +var x = document.getElementById('x'); 1.26 +x.focus(); 1.27 +x.scrollLeft=100000 1.28 +window.getSelection().collapse(x,1); 1.29 +</script> 1.30 +</body> 1.31 +</html>