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

Side by Side Diff: LayoutTests/svg/hittest/singular-transform-2.html

Issue 411613002: [SVG] Reject hit-test queries when the element has a singular transform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 body { margin: 0; }
5 .p .a {
6 transform: scaleX(0);
7 }
8 .p:hover .a {
9 transform: scaleX(1);
10 fill: red;
11 }
12 </style>
13 <svg width="400" height="100">
14 <g class="p">
15 <g class="a">
16 <rect class="a" width="200" height="100" fill="blue"/>
17 </g>
18 <rect class="b" width="100" height="100" fill="green"/>
19 </g>
20 </svg>
21 <script>
22 if (window.testRunner)
23 eventSender.mouseMoveTo(150, 50);
24
25 shouldBeNull("document.querySelector('.p:hover .a')");
26 </script>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hittest/singular-transform-1-expected.txt ('k') | LayoutTests/svg/hittest/singular-transform-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698