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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash.html

Issue 2648343004: Don't paint selections in <mask>s, <clipPath>s and <pattern>s (Closed)
Patch Set: Rebase Created 3 years, 10 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/text/selection-style-within-mask-crash-expected.txt » ('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 <style>
3 text::selection { color: blue; }
4 </style>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 window.onload = function () {
10 var range = document.createRange();
11 range.setEnd(id1, id1.childNodes.length);
12 document.getSelection().addRange(range);
13 document.getElementById("masktext").setAttribute("display", "inherit");
14 };
15 </script>
16 <svg>
17 <mask id="m1">
18 <text id="masktext" y="100" fill="white" font-size="100">PASS</text>
19 </mask>
20 <rect width="100%" height="100" id="id1" mask="url(#m1)"/>
21 </svg>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698