Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: LayoutTests/transitions/transition-transform-translate-calculated-length-crash.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698