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: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt
deleted file mode 100644
index a6ee00781e8a67a05daea5d9d232d0113730276e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-Tests layout of absolutely positioned modal dialogs.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-showModal() should center in the viewport.
-PASS dialog.getBoundingClientRect().top is centeredTop
-
-The dialog is a positioned element, so the top and bottom should not have style auto.
-PASS window.getComputedStyle(dialog).top is "790px"
-PASS window.getComputedStyle(dialog).bottom is "-210px"
-
-Dialog should be recentered if showModal() is called after close().
-PASS dialog.getBoundingClientRect().top is centeredTop
-
-Dialog should not recenter on relayout.
-PASS dialog.getBoundingClientRect().top is expectedTop
-
-A tall dialog should be positioned at the top of the viewport.
-PASS dialog.getBoundingClientRect().top is 0
-
-The dialog should be centered regardless of the presence of a horizontal scrollbar.
-PASS dialog.getBoundingClientRect().top is centeredTop
-
-Centering should work when dialog is inside positioned containers.
-PASS dialog.getBoundingClientRect().top is centeredTop
-PASS dialog.getBoundingClientRect().top is centeredTop
-
-A centered dialog's position should survive becoming display:none temporarily.
-PASS dialog.getBoundingClientRect().top is expectedTop
-
-Dialog should lose centering when removed from the document.
-PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top
-
-Dialog's specified position should survive after close() and showModal().
-PASS dialog.getBoundingClientRect().top is expectedTop
-
-Dialog should be recentered if showModal() is called after removing 'open'.
-PASS dialog.getBoundingClientRect().top is centeredTop
-
-Dialog should not be centered if showModal() was called when an ancestor had display 'none'.
-PASS dialog.getBoundingClientRect().top is document.body.getBoundingClientRect().bottom
-
-A dialog with specified 'top' should be positioned as usual
-PASS dialog.getBoundingClientRect().top + window.scrollY is offset
-
-A dialog with specified 'bottom' should be positioned as usual
-PASS dialog.getBoundingClientRect().bottom + window.scrollY is window.innerHeight - offset
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698