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

Unified Diff: LayoutTests/fast/block/positioning/positioned-layout-in-line.html

Issue 1178893003: Fix regression on positioned movement layout on a line from r195813 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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/block/positioning/positioned-layout-in-line-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/positioning/positioned-layout-in-line.html
diff --git a/LayoutTests/fast/block/positioning/positioned-layout-in-line.html b/LayoutTests/fast/block/positioning/positioned-layout-in-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..a8d075c1b8f384212ee2d2dab685a7e129fa7fe9
--- /dev/null
+++ b/LayoutTests/fast/block/positioning/positioned-layout-in-line.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<style>
+ #container {
+ position: relative;
+ }
+ .img {
+ position: absolute;
+ background-color: green;
+ height: 10px;
+ width: 10px;
+ top: 0;
+ }
+</style>
+<div id="container">
+ <input type="text" id="leading"></input>
+ <input type="text"></input>
+ <img class="img" id="img">
+</div>
+crbug.com/498290: Tests positioned movement layout when it has a non-static block position and sits in a line. The green image should be beside the input box.
+<script>
+ document.body.offsetTop;
+ leading = document.getElementById("leading");
+ leading.setAttribute('type', 'hidden');
+ document.body.offsetTop;
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/positioned-layout-in-line-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698