OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 div { | 3 div { |
4 -webkit-transition: -webkit-transform 50ms; | 4 -webkit-transition: transform 50ms; |
5 } | 5 } |
6 #div2 { | 6 #div2 { |
7 -webkit-transform: translate(calc(10% + 10px)); | 7 transform: translate(calc(10% + 10px)); |
8 } | 8 } |
9 </style> | 9 </style> |
10 <body> | 10 <body> |
11 <p>Bug <a href="https://crbug.com/261474">http://crbug.com/261474</a>: Deref
erence null pointer crash in Length::decrementCalculatedRef()</p> | 11 <p>Bug <a href="https://crbug.com/261474">http://crbug.com/261474</a>: Deref
erence null pointer crash in Length::decrementCalculatedRef()</p> |
12 <p>The test passes if it does not crash.</p> | 12 <p>The test passes if it does not crash.</p> |
13 <div id="div1"></div> | 13 <div id="div1"></div> |
14 <div id="div2"></div> | 14 <div id="div2"></div> |
15 </body> | 15 </body> |
16 <script> | 16 <script> |
17 if (window.testRunner) | 17 if (window.testRunner) |
18 testRunner.dumpAsText(); | 18 testRunner.dumpAsText(); |
19 | 19 |
20 document.getElementById("div1").style.webkitTransform = "translate(calc(10%
+ 20px))"; | 20 document.getElementById("div1").style.transform = "translate(calc(10% + 20px
))"; |
21 document.getElementById("div2").style.webkitTransform = "none"; | 21 document.getElementById("div2").style.transform = "none"; |
22 </script> | 22 </script> |
OLD | NEW |