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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/non-modal-dialog-layout-expected.txt

Issue 342943002: Center fixpos <dialog> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm non-anchored-dialog-positioning-expected.txt 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/non-modal-dialog-layout-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/non-modal-dialog-layout-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/non-modal-dialog-layout-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69354e614d844036df6b1e6c0157732c70ee8f0b
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLDialogElement/non-modal-dialog-layout-expected.txt
@@ -0,0 +1,25 @@
+Tests layout of non-modal dialogs.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Test absolute position
+PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top + offset
+PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left + offset
+
+Test static position
+PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top
+PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left
+
+Test relative position
+PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top + offset
+PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left + offset
+
+Test fixed position
+PASS dialog.getBoundingClientRect().top is offset
+PASS dialog.getBoundingClientRect().left is offset
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698