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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt

Issue 14373010: Make abspos <dialog>'s containing block be the ICB. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 7 years, 7 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-anchored-dialog-positioning-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt
index 3570259b50f2ab34ef651171aafc2ec84591957c..6c2d40ab03254e107e87dbee895e0a9ed975eacd 100644
--- a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt
+++ b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt
@@ -1,4 +1,4 @@
-Tests default positioning of non-anchored dialogs.
+Tests positioning of non-anchored dialogs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -42,22 +42,22 @@ Dialog should not be centered if show() was called when an ancestor had display
PASS dialog.getBoundingClientRect().top is expectedTop
Test that setting 'top' on dialog results in the same position as for a plain, absolutely positioned span.
-PASS dialog.offsetTop is plainSpan.offsetTop
-PASS dialog.offsetTop is plainSpan.offsetTop
+PASS dialog.getBoundingClientRect().top is expectedTop
+PASS dialog.getBoundingClientRect().top is expectedTop
Test that setting 'bottom' on dialog results in the same position as for a plain, absolutely positioned span.
-PASS dialog.offsetBottom is plainSpan.offsetBottom
-PASS dialog.offsetBottom is plainSpan.offsetBottom
+PASS dialog.getBoundingClientRect().bottom is plainSpan.getBoundingClientRect().bottom
+PASS dialog.getBoundingClientRect().bottom is plainSpan.getBoundingClientRect().bottom
Test that fixed positioning for dialog has same behavior as for a plain span.
-PASS dialog.offsetTop is plainSpan.offsetTop
-PASS dialog.offsetTop is plainSpan.offsetTop
+PASS dialog.getBoundingClientRect().top is plainSpan.getBoundingClientRect().top
+PASS dialog.getBoundingClientRect().top is plainSpan.getBoundingClientRect().top
Test that static position for a non-modal dialog has the same behavior as for a plain span.
-PASS dialog.offsetTop is expectedTop
+PASS dialog.getBoundingClientRect().top is expectedTop
Test that relative position for a non-modal dialog has the same behavior as for a plain span.
-PASS dialog.offsetTop is expectedTop
+PASS dialog.getBoundingClientRect().top is expectedTop
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698