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

Unified Diff: third_party/WebKit/LayoutTests/paint/transforms/percentage-transform-fractional-box-size.html

Issue 2386263002: Don't pixel-snap box size before applying transform to it. (Closed)
Patch Set: none Created 4 years, 2 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
Index: third_party/WebKit/LayoutTests/paint/transforms/percentage-transform-fractional-box-size.html
diff --git a/third_party/WebKit/LayoutTests/paint/transforms/percentage-transform-fractional-box-size.html b/third_party/WebKit/LayoutTests/paint/transforms/percentage-transform-fractional-box-size.html
new file mode 100644
index 0000000000000000000000000000000000000000..66b121196f18079871d1e27e41e97d1b6f8a42dc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/transforms/percentage-transform-fractional-box-size.html
@@ -0,0 +1,21 @@
+<!doctype HTML>
+<style>
+.container {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: 303px;
+ height: 303px;
+ background-color: #ccc;
+}
+
+.child {
+ width: 10%;
+ height: 10%;
+ background-color: #333;
+ transform: translate(900%, 900%);
+}
+</style>
+<div class="container">
+ <div class="child"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698