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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-class.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 .a.b .c {
5 fill: red;
6 }
7 .a .c {
8 fill: green;
9 }
10 </style>
11 <svg width="50" height="50">
12 <use xlink:href="#main"></use>
13 </svg>
14 <svg id="main" width="100" height="100" class="a b">
15 <g>
16 <use xlink:href="#r"></use>
17 </g>
18 <defs>
19 <rect id="r" class="c" x="0" y="0" width="100" height="100"></rect>
20 </defs>
21 </svg>
22 <script>
23 runAfterLayoutAndPaint(function() {
24 main.classList.remove('b');
25 }, true);
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698