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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-pseudo.html

Issue 2251073002: CSS: SVG use elements replicate updates to style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: instance not <use> subtree Created 4 years, 4 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
rune 2016/08/18 23:43:07 drop html/head/body. Do you need the meta charset?
Eric Willigers 2016/08/19 00:44:19 Done.
5 <script src="../../resources/run-after-layout-and-paint.js"></script>
6 <style>
7 #inputValid:valid + svg #r {
8 fill: green;
9 }
10 #r {
11 fill: red;
12 }
13 </style>
14 </head>
15 <body>
16 <input id="inputValid" required></input>
17 <svg width="100" height="100">
18 <use xlink:href="#g" transform="translate(50,50)"></use>
19 <g id="g">
20 <rect id="r" x="0" y="0" width="50" height="50"></rect>
21 </g>
22 </svg>
23 <script>
24 runAfterLayoutAndPaint(function() {
25 inputValid.removeAttribute("required");
26 }, true);
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698