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

Side by Side Diff: LayoutTests/fast/css/webkit-keyframes-crash.html

Issue 7231013: Merge 88474 - 2011-06-09 Julien Chaffraix <jchaffraix@webkit.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/css/webkit-keyframes-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=62384">6238 4</a>: WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash</p> 3 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=62384">6238 4</a>: WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash</p>
4 <p>This test passed if it did not crash</p> 4 <p>This test passed if it did not crash</p>
5 <p id="console">FAILED (test not run)</p> 5 <p id="console">FAILED (test not run)</p>
6 <script> 6 <script>
7 if (window.layoutTestController) 7 if (window.layoutTestController)
8 layoutTestController.dumpAsText(); 8 layoutTestController.dumpAsText();
9 9
10 function main(){ 10 function main(){
11 var e = window.document.styleSheets[0].cssRules[0]; 11 var e = window.document.styleSheets[0].cssRules[0];
12 e.cssRules.item().parentStyleSheet.removeRule(); 12 e.cssRules.item().parentStyleSheet.removeRule();
13 e.name = 'bar'; 13 e.name = 'bar';
14 document.getElementById('console').innerHTML = "PASSED"; 14 document.getElementById('console').innerHTML = "PASSED";
15 } 15 }
16 window.onload = main; 16 window.onload = main;
17 </script> 17 </script>
18 <style> 18 <style>
19 @-webkit-keyframes foo { 19 @-webkit-keyframes foo {
20 0% {foo: bar;} 20 0% {foo: bar;}
21 } 21 }
22 </style> 22 </style>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/css/webkit-keyframes-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698