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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding-expected.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-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding-expected.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..eb9e967a6eaa8e1b91225c9e9dbd85f7c4afa55c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+ .outer {
+ position: relative;
mstensho (USE GERRIT) 2016/05/12 09:34:03 This can be simplified. It's just a ref. A simple
Deokjin Kim 2016/05/12 11:24:20 Done.
+ padding: 2em;
+ width: 4em;
+ color: black;
+ background: black;
+ }
+ .inner {
+ position: absolute;
+ left: 0;
+ top: 0;
+ padding-left: 128px;
+ }
+</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