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

Side by Side 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: Issue 590153 Created 4 years, 1 month 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 <script>
4 if (window.testRunner)
5 testRunner.waitUntilDone();
6
7 window.onload = function () {
8 runAfterLayoutAndPaint(function() {
9 container.style.visibility = "hidden";
fs 2016/11/07 12:03:30 Does the problem still reproduce with style="visib
10 runAfterLayoutAndPaint(function() {
11 container.style.visibility = "visible";
12 if (window.testRunner)
13 testRunner.notifyDone();
14 });
15 });
16 }
17 </script>
18 <div id="container">
19 <svg>
20 <clipPath id="clip">
21 <rect width="100" height="100"></rect>
22 </clipPath>
23 <rect width="400" height="400" fill="green" visibility="visible" clip-path=" url(#clip)"></rect>
24 </svg>
25 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698