Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / rounded-rect-update-to-empty.html
blobf3cfc6a7d271e76dd80755bef094b539d3b7a36a
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <script>
4 if (window.testRunner)
5 testRunner.waitUntilDone();
7 runAfterLayoutAndPaint(function() {
8 document.getElementById('rr1').setAttribute('width', 0);
9 document.getElementById('rr2').setAttribute('width', -100);
11 if (window.testRunner)
12 testRunner.notifyDone();
13 });
14 </script>
15 <svg width="200" height="100">
16 <rect width="200" height="100" fill="green"/>
17 <rect id="rr1" width="100" height="100" rx="8" stroke="red" fill="red"/>
18 <rect id="rr2" width="100" height="100" rx="8" stroke="red" fill="red" x="100"/>
19 </svg>