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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-mutated.html

Issue 2484153003: Use an SVGElementProxy in ReferenceClipPathOperation (Closed)
Patch Set: Rebase; fix comments; findElement 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-mutated-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 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <style>
4 #target {
5 width: 100px;
6 height: 100px;
7 background-color: green;
8 clip-path: url(#clip);
9 }
10 </style>
11 <div id="target"></div>
12 <svg height="0" width="0">
13 <defs>
14 <clipPath id="clip" clipPathUnits="objectBoundingBox">
15 <circle cx="0.5" cy="0.5" r="0.25"></circle>
16 </clipPath>
17 </defs>
18 </svg>
19 <script>
20 runAfterLayoutAndPaint(function() {
21 document.querySelector('circle').setAttribute('r', 1);
22 }, true);
23 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-mutated-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698