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
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <style> |
michael@0 | 3 | #d { overflow:scroll; width:200px; height:200px; background:yellow; } |
michael@0 | 4 | #d2 { right:0; width:100px; height:100px; background:purple; } |
michael@0 | 5 | </style> |
michael@0 | 6 | <fieldset id="d"> |
michael@0 | 7 | <div id="d2"></div> |
michael@0 | 8 | </fieldset> |
michael@0 | 9 | <script> |
michael@0 | 10 | d.getBoundingClientRect(); |
michael@0 | 11 | d.style.transform = "translateX(100px)"; |
michael@0 | 12 | d.getBoundingClientRect(); |
michael@0 | 13 | d2.style.position = "absolute"; |
michael@0 | 14 | </script> |