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

Unified Diff: LayoutTests/svg/custom/remove-outline-property-on-root.html

Issue 211193002: Compute correct repaint rect for decorated RenderSVGRoots (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/custom/remove-outline-property-on-root.html
diff --git a/LayoutTests/svg/custom/remove-outline-property-on-root.html b/LayoutTests/svg/custom/remove-outline-property-on-root.html
new file mode 100644
index 0000000000000000000000000000000000000000..9bc74a81d29238c1173c49b23084d8a6968fed57
--- /dev/null
+++ b/LayoutTests/svg/custom/remove-outline-property-on-root.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+window.onload = function() {
+ setTimeout(function() {
+ requestAnimationFrame(function() {
+ document.querySelector('svg').style.removeProperty('outline');
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ }, 0);
+};
+</script>
+<svg style="outline: 10px solid red" width="100" height="100">
+ <rect width="100" height="100" fill="green"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698