Index: LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html |
index 639369649018d785d1b269fa54b34b997b911c11..87a44f4e9d55f8c0ee20bb2f796d8440a5081301 100644 |
--- a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html |
@@ -2,7 +2,7 @@ |
<html> |
<head> |
<style> |
-/* Remove margin, border, and padding to allow comparing dialog's position with that of plain span elements. */ |
+/* Remove body margin and dialog styles to allow comparing dialog's position with that of plain span elements. */ |
body { |
margin: 0; |
} |
@@ -10,6 +10,8 @@ body { |
dialog { |
border: 0; |
padding: 0; |
+ height: auto; |
+ width: auto; |
} |
.filler { |