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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/selection-pseudo-resource-invalidation-crash.html

Issue 2846513002: More targeted resource-switching mechanism for SVG selection painting (Closed)
Patch Set: Use rALAP instead of first rAF Created 3 years, 7 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/Source/core/layout/svg/SVGResourcesCache.h » ('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/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <style>
6 ::selection {
7 page-break-before: right;
8 }
9 </style>
10 <script>
11 async_test(t => {
12 window.onload = t.step_func(() => {
13 document.body.offsetTop;
14 document.getElementById("text1").setAttribute("filter", "url(#f)");
15 document.execCommand("SelectAll", false);
16
17 runAfterLayoutAndPaint(t.step_func(() => {
18 document.vlinkColor = "#ff0000";
19 requestAnimationFrame(t.step_func_done());
20 }));
21 });
22 }, "Don't crash.");
23 </script>
24 <svg id="svg1">
25 <text>Text2</text>
26 </svg>
27 <svg>
28 <text id="text1">Text</text>
29 </svg>
30 <svg>
31 <filter id="f">
32 <feImage xlink:href="#svg1"/>
33 </filter>
34 </svg>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698