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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding.html

Issue 1876123002: Absolute positioned child with percent should include containing block padding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply mstensho's comment Created 4 years, 7 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/fast/css/getComputedStyle/getComputedStyle-padding.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding.html
new file mode 100644
index 0000000000000000000000000000000000000000..5d35c9f1b63d3b64fcf75be22ba89efc49c41b7c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
mstensho (USE GERRIT) 2016/05/12 09:34:03 The file name is misleading. This has nothing to d
Deokjin Kim 2016/05/12 11:24:20 Done.
+<style>
+ .outer {
+ position: relative;
+ padding: 2em;
+ width: 4em;
+ color: black;
+ background: black;
+ }
+ .inner {
+ position: absolute;
+ left: 0;
+ top: 0;
+ padding-left: 100%;
+ }
+</style>
+<p>The word "PASS" should be seen below, to the right of a black rectangle.</p>
+<div class="outer">
+ <div class="inner">PASS</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698