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

Unified Diff: LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html

Issue 423173003: Incorrect Static Position of Absolute Positioned Elements inside Rel-Positioned Containers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 5 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/css/abs-pos-child-inside-rel-pos-inline-001-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html
diff --git a/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html b/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html
new file mode 100644
index 0000000000000000000000000000000000000000..7012fba0e3958e7f23bbd79322ab1f0d459b4b1d
--- /dev/null
+++ b/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<link rel="author" title="Alan Gresley" href="alan[at]css-class.com">
+<link rel="author" title="Boris Zbarsky" href="bzbarsky[at]MIT.EDU">
+<link rel="author" title="Greg Whitworth" href="gwhit[at]microsoft.com">
+<link rel="author" title="GĂ©rard Talbot" href="www-style[at]gtalbot.org">
+<style>
+ div#wrapper { font: 100px/1 Ahem; /* width: 200px; */ }
+ div#wrapper span { color: green; border-bottom: 100px solid red; }
+ div#rel-pos-inline { display: inline; position: relative; }
+ div#abs-pos { background-color: green; position: absolute; height: 100px; width: 100px; }
+</style>
+<p>Test passes if there is no red.</p>
+<div id="wrapper">
+ <span>X</span>
+ <div id="rel-pos-inline">
+ <div id="abs-pos">
+ </div>
+ </div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698