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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/clip-path/display-none-children.html

Issue 1840343002: Do not show display:none clipPath targets when referenced with <use> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/clip-path/display-none-children-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <svg width="400" height="400">
3 <defs>
4 <rect id="clip1Shape" x="0" y="0" width="50" height="100"/>
5 <rect id="clip2Shape" x="50" y="0" width="50" height="100"/>
6 <!-- Should not contribute to the clip. -->
7 <rect id="clip3Shape" style="display:none" x="100" y="0" width="50" heig ht="100"/>
8 <clipPath id="clipUnion">
9 <use xlink:href="#clip1Shape"/>
10 <use xlink:href="#clip2Shape"/>
11 <use xlink:href="#clip3Shape"/>
12 <!-- Should not contribute to the clip. -->
13 <rect style="display:none" x="150" y="0" width="50" height="100"/>
14 </clipPath>
15 </defs>
16 <rect width="300" height="100" clip-path="url(#clipUnion)" fill="green"/>
17 </svg>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/clip-path/display-none-children-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698