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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/resources/dialog-layout.css

Issue 342943002: Center fixpos <dialog> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 6 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
Index: LayoutTests/fast/dom/HTMLDialogElement/resources/dialog-layout.css
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/resources/dialog-layout.css b/LayoutTests/fast/dom/HTMLDialogElement/resources/dialog-layout.css
new file mode 100644
index 0000000000000000000000000000000000000000..709b4505869c2efb85461eabfa1e523a345b70d4
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLDialogElement/resources/dialog-layout.css
@@ -0,0 +1,25 @@
+/* Remove body margin and dialog styles for easier positioning expected values */
+body {
+ height: 10000px;
+ margin: 0;
+}
+
+dialog {
+ border: 0;
+ padding: 0;
+ height: auto;
+ width: auto;
+}
+
+#absolute-div {
+ position: absolute;
+ top: 800px;
+ height: 50px;
+ width: 90%;
+}
+
+#relative-div {
+ position: relative;
+ top: 20px;
+ height: 30px;
+}
« no previous file with comments | « LayoutTests/fast/dom/HTMLDialogElement/non-modal-dialog-layout-expected.txt ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698