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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping.html

Issue 499433003: Fix tap target consistency with link highlighting and hover/active (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix scrollbar case Created 6 years, 4 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/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping.html
new file mode 100644
index 0000000000000000000000000000000000000000..1d963ef4d49d8d33d750070ca78298ff1c19f250
--- /dev/null
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script src="resources/link-highlight-helper.js"></script>
+<link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
+<style>
+#highlightTarget {
+ position: absolute;
+ height: 200px;
+ left: 50px;
+ top: 180px;
+ width: 20px;
+ background-color: red;
+}
+
+#clip {
+ position: absolute;
+ top: 200px;
+ left: 0;
+ width: 50px;
+ height: 150px;
+ overflow: hidden;
+}
+
+#fakeTarget {
+ width: 150px;
+ height: 150px;
+ background-color: lightblue;
+}
+
+</style>
+
+<div id=highlightTarget class=target></div>
+<div id=clip>
+ <div id=fakeTarget class=target></div>
+</div>
+
+<script>
+description('This test is successful if the red box is completely covered in a green rectangle with square corners.');
+onload = testHighlightTarget;
+</script>
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698