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

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

Issue 23060031: Set <dialog> width and height to 'fit-content'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: give dialog height auto for dialog-autoheight test Created 7 years, 4 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.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 {
« no previous file with comments | « LayoutTests/dialog/top-layer-stacking-expected.html ('k') | LayoutTests/fast/regions/dialog-autoheight.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698