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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGStyleElement.html

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files Created 4 years, 5 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 <title>SVGStyleElement tests</title> 2 <title>SVGStyleElement tests</title>
3 <script src=../../resources/testharness.js></script> 3 <script src=../../resources/testharness.js></script>
4 <script src=../../resources/testharnessreport.js></script> 4 <script src=../../resources/testharnessreport.js></script>
5 <div id="testcontainer"> 5 <div id="testcontainer">
6 <svg width="1" height="1" visibility="hidden"> 6 <svg width="1" height="1" visibility="hidden">
7 <defs><style>.test { fill: green; }</style></defs> 7 <defs><style>.test { fill: green; }</style></defs>
8 </svg> 8 </svg>
9 </div> 9 </div>
10 <div id=log></div> 10 <div id=log></div>
(...skipping 14 matching lines...) Expand all
25 25
26 test(function() { 26 test(function() {
27 assert_equals(document.styleSheets[0].ownerNode, style); 27 assert_equals(document.styleSheets[0].ownerNode, style);
28 }, "sheet has correct ownerNode #1"); 28 }, "sheet has correct ownerNode #1");
29 29
30 test(function() { 30 test(function() {
31 assert_equals(style.sheet.ownerNode, style); 31 assert_equals(style.sheet.ownerNode, style);
32 }, "sheet has correct ownerNode #2"); 32 }, "sheet has correct ownerNode #2");
33 33
34 </script> 34 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698