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

Unified Diff: LayoutTests/fast/events/touch/compositor-touch-hit-rects.html

Issue 250193002: Offset rects by origin when projecting from composited to graphics layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test expectations Created 6 years, 8 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/fast/events/touch/compositor-touch-hit-rects-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/compositor-touch-hit-rects.html
diff --git a/LayoutTests/fast/events/touch/compositor-touch-hit-rects.html b/LayoutTests/fast/events/touch/compositor-touch-hit-rects.html
index 0361a4f661dd9f05e9ba95eaaeb86faa9999cb28..20c840b677d9b8e84ea0c0a4a2235bc86fd02382 100644
--- a/LayoutTests/fast/events/touch/compositor-touch-hit-rects.html
+++ b/LayoutTests/fast/events/touch/compositor-touch-hit-rects.html
@@ -37,6 +37,21 @@
margin-top: 15px;
margin-bottom: 10px;
}
+#withNegativeOffsetChild {
+ position: relative;
+ width: 100px;
+ height: 10px;
+ border: 1px dotted blue;
+ transform: translateX(calc(120%)) translateZ(0);
+ clear: both;
+}
+#negativeOffsetChild {
+ position: absolute;
+ width: 100px;
+ height: 10px;
+ left: calc(-110%);
+ top: 0px;
+}
#transform3dChild {
-webkit-transform: rotate3d(0.2, 1, 0, 50grad);
}
@@ -92,6 +107,9 @@ to quickly validate graphically.</p>
<div class="testcase" id="transform3d">
<div id="transform3dChild">Transformed 3D</div>
</div>
+ <div id="withNegativeOffsetChild">
+ <div id="negativeOffsetChild" class="testcase"></div>
+ </div>
<div>
<b class="testcase" id="continuation">
This b tag
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/compositor-touch-hit-rects-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698