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

Side by Side Diff: LayoutTests/svg/hittest/singular-transform-5.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 <clipPath id="c" clipPathTransform="scale(0)">
15 <rect width="100%" height="100%"/>
16 </clipPath>
17 <g class="p">
18 <rect class="a" width="200" height="100" fill="red" clip-path="url(#c)"/>
19 <rect class="b" width="100" height="100" fill="green"/>
20 </g>
21 </svg>
22 <script>
23 if (window.testRunner)
24 eventSender.mouseMoveTo(150, 50);
25
26 shouldBeNull("document.querySelector('.p:hover .a')");
27 </script>
OLDNEW
« no previous file with comments | « LayoutTests/svg/hittest/singular-transform-4-expected.txt ('k') | LayoutTests/svg/hittest/singular-transform-5-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698