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

Side by Side Diff: LayoutTests/svg/hittest/singular-transform-4.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 <image class="a" width="200" height="100" preserveAspectRatio="none"
16 xlink:href="../custom/resources/red-checker.png"></image>
17 <rect class="b" width="100" height="100" fill="green"/>
18 </g>
19 </svg>
20 <script>
21 if (window.testRunner)
22 eventSender.mouseMoveTo(150, 50);
23
24 shouldBeNull("document.querySelector('.p:hover .a')");
25 </script>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hittest/singular-transform-3-expected.txt ('k') | LayoutTests/svg/hittest/singular-transform-4-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698