OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
| 4 <script src="/js-test-resources/ahem.js"></script> |
4 <script> | 5 <script> |
5 window.onload = function() { | 6 window.onload = function() { |
6 // fetch offsetTop to force a layout | 7 // fetch offsetTop to force a layout |
7 document.body.offsetTop; | 8 document.body.offsetTop; |
8 | 9 |
9 var el = document.querySelector('#add-shape-image-threshold .shape'); | 10 var el = document.querySelector('#add-shape-image-threshold .shape'); |
10 el.style.setProperty('shape-image-threshold', 0.25); | 11 el.style.setProperty('shape-image-threshold', 0.25); |
11 el.className = 'shape threshold25'; | 12 el.className = 'shape threshold25'; |
12 | 13 |
13 el = document.querySelector('#change-shape-image-threshold .shape'); | 14 el = document.querySelector('#change-shape-image-threshold .shape'); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <p>Setting shape-image-threshold with no prior entry</p> | 68 <p>Setting shape-image-threshold with no prior entry</p> |
68 <div id='add-shape-image-threshold' class='container'><div class='shape'></d
iv>x x x x x x x x x x</div> | 69 <div id='add-shape-image-threshold' class='container'><div class='shape'></d
iv>x x x x x x x x x x</div> |
69 | 70 |
70 <p>Setting shape-image-threshold with a prior entry</p> | 71 <p>Setting shape-image-threshold with a prior entry</p> |
71 <div id='change-shape-image-threshold' class='container'><div class='shape t
hreshold25'></div>x x x x x x x x x x</div> | 72 <div id='change-shape-image-threshold' class='container'><div class='shape t
hreshold25'></div>x x x x x x x x x x</div> |
72 | 73 |
73 <p>Removing shape-image-threshold with a prior entry</p> | 74 <p>Removing shape-image-threshold with a prior entry</p> |
74 <div id='remove-shape-image-threshold' class='container'><div class='shape t
hreshold25'></div>x x x x x x x x x x</div> | 75 <div id='remove-shape-image-threshold' class='container'><div class='shape t
hreshold25'></div>x x x x x x x x x x</div> |
75 </body> | 76 </body> |
76 </html> | 77 </html> |
OLD | NEW |