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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.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: Modify commit message 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html b/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html
new file mode 100644
index 0000000000000000000000000000000000000000..3c3da109dc88adfd54ec940370ed8873a7842b3b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+ .outer {
+ position: relative;
+ padding: 2em;
+ width: 4em;
+ 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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698