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

Unified Diff: LayoutTests/svg/hittest/singular-transform-1.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/hittest/singular-transform-1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/hittest/singular-transform-1.html
diff --git a/LayoutTests/svg/hittest/singular-transform-1.html b/LayoutTests/svg/hittest/singular-transform-1.html
new file mode 100644
index 0000000000000000000000000000000000000000..7fa60aa4e2fce4e30c3652e6efbfe8799a7a2b55
--- /dev/null
+++ b/LayoutTests/svg/hittest/singular-transform-1.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<style>
+body { margin: 0; }
+.p .a {
+ transform: scaleX(0);
+}
+.p:hover .a {
+ transform: scaleX(1);
+ fill: red;
+}
+</style>
+<svg width="400" height="100">
+ <g class="p">
+ <rect class="a" width="200" height="100" fill="blue"/>
+ <rect class="b" width="100" height="100" fill="green"/>
+ </g>
+</svg>
+<script>
+if (window.testRunner)
+ eventSender.mouseMoveTo(150, 50);
+
+shouldBeNull("document.querySelector('.p:hover .a')");
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/hittest/singular-transform-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698