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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html

Issue 2375043002: Fix up that no render SVG shape when change clip-path to visible after hidden. (Closed)
Patch Set: Fix up that no render SVG shape when change clip-path to visible after hidden. Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c8fdc73812c8fa429853f70f0e1bd7f590b6ed8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<script src=../../resources/run-after-layout-and-paint.js></script>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+window.onload = function () {
+ runAfterLayoutAndPaint(function() {
+ container.style.visibility = "visible";
+ runAfterLayoutAndPaint(function() {
+ container.style.visibility = "hidden";
+ runAfterLayoutAndPaint(function() {
+ container.style.visibility = "visible";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
+ });
+}
+</script>
+<div id="container" style="visibility: hidden">
+ <svg>
+ <clipPath id="clip">
+ <rect width="100" height="100"></rect>
+ </clipPath>
+ <rect width="400" height="400" fill="green" visibility="visible" clip-path="url(#clip)"></rect>
+ </svg>
+</div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698