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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/animations/animate-local-url.html

Issue 2905033003: Stricter equality check for local refs in CSSURIValue (Closed)
Patch Set: Created 3 years, 6 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/animations/animate-local-url-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>
3 <marker id="a" markerWidth="2" markerHeight="2" refX="1" refY="1">
4 <rect width="2" height="2" fill="red"/>
5 </marker>
6 <marker id="b" markerWidth="2" markerHeight="2" refX="1" refY="1">
7 <rect width="2" height="2" fill="green"/>
8 </marker>
9 <line stroke-width="50" stroke="red" y1="50" x2="50" y2="50">
10 <animate attributeName="marker-end" fill="freeze" dur="10s" values="url(#a); url(#b)"/>
11 </line>
12 </svg>
13 <script>
14 if (window.testRunner)
15 testRunner.waitUntilDone();
16 // Advance the timeline to just before the value transition, then wait
17 // for two frames (first red, second green.)
18 // NOTE: Because of "legacy" in the animation engine, we first wait for 25ms,
19 // since no updates will be performed prior to that. Without this the two rAF
20 // calls ought to be enough.
21 document.querySelector('svg').setCurrentTime(5 - 0.001);
22 onload = function() {
23 setTimeout(function() {
24 requestAnimationFrame(function() {
25 requestAnimationFrame(function() {
26 testRunner.notifyDone();
27 });
28 });
29 }, 25);
30 };
31 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/animations/animate-local-url-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698