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

Side by Side Diff: LayoutTests/svg/css/type-selector.svg

Issue 1099963003: Support type selector for camel-cased SVG elements in HTML. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase issue. querySelector didn't use tagMatches anymore. Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd">
3 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="600" height="500">
4 <style>
5 foreignObject { background-color: green; }
6 foreignobject { background-color: red; }
7 </style>
8 <text y="20">There should be a PASS and a green square below.</text>
9 <text y="40" id="result">FAIL</text>
10 <foreignObject y="60" id="foreign" width="100" height="100" />
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 if (getComputedStyle(document.getElementById("foreign")).backgroundColor == "rgb (0, 128, 0)")
16 document.getElementById("result").firstChild.data = "PASS";
17 </script>
18 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698