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

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: tidy 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 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <style>
4 #inputValid:valid + svg #r {
5 fill: green;
6 }
7 #r {
8 fill: red;
9 }
10 </style>
11 <input id="inputValid" required></input>
12 <svg width="100" height="100">
13 <use xlink:href="#g" transform="translate(50,50)"></use>
14 <g id="g">
15 <rect id="r" x="0" y="0" width="50" height="50"></rect>
16 </g>
17 </svg>
18 <script>
19 runAfterLayoutAndPaint(function() {
20 inputValid.removeAttribute("required");
21 }, true);
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698