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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent-expected.html

Issue 2577893004: position:fixed content is not offset by relative positioned ancestors (Closed)
Patch Set: Created 4 years 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/block/positioning/fixed-position-with-relative-parent-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent-expected.html b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..353d791527ac09f02786c38d4b2b72cd900012a7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent-expected.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<style> * { margin: 0; } </style>
+<div style="background: limegreen; width: 70px; height: 70px; position: relative; left: 40px; top: 40px;">
+<div style="background: green; top: auto; width: 40px; height: 40px; position: absolute;"></div>
mstensho (USE GERRIT) 2016/12/16 11:53:00 Please indent this line. Also no need for the top:
+</div>

Powered by Google App Engine
This is Rietveld 408576698