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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt

Issue 1890743002: Reland of ix getComputedStyle positioned element values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 8 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
index 02101c9c704c5903c1371bbf6b95711ca48441de..a6ee00781e8a67a05daea5d9d232d0113730276e 100644
--- 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
@@ -7,9 +7,9 @@
showModal() should center in the viewport.
PASS dialog.getBoundingClientRect().top is centeredTop
-The computed top and bottom of a centered dialog should still have position auto.
-PASS window.getComputedStyle(dialog).top is "auto"
-PASS window.getComputedStyle(dialog).bottom is "auto"
+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

Powered by Google App Engine
This is Rietveld 408576698