| Index: third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-class.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-class.html b/third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-class.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..918b6123e2ad48aa3e7f9f8e7c589af4630ab43b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/svg/css/use-replicates-changes-class.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<style>
|
| +.a.b .c {
|
| + fill: red;
|
| +}
|
| +.a .c {
|
| + fill: green;
|
| +}
|
| +</style>
|
| +<svg width="50" height="50">
|
| + <use xlink:href="#main"></use>
|
| +</svg>
|
| +<svg id="main" width="100" height="100" class="a b">
|
| + <g>
|
| + <use xlink:href="#r"></use>
|
| + </g>
|
| + <defs>
|
| + <rect id="r" class="c" x="0" y="0" width="100" height="100"></rect>
|
| + </defs>
|
| +</svg>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + main.classList.remove('b');
|
| +}, true);
|
| +</script>
|
|
|