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

Side by Side Diff: third_party/WebKit/Source/core/css/html.css

Issue 2782823005: Use display:block for dialog in UA stylesheet. (Closed)
Patch Set: Fixed test relying on display:inline as default for dialog. Created 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/html/dialog/element-removed-from-top-layer-has-original-position.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 1072
1073 textarea[dir=auto i] { 1073 textarea[dir=auto i] {
1074 unicode-bidi: -webkit-plaintext; 1074 unicode-bidi: -webkit-plaintext;
1075 } 1075 }
1076 1076
1077 dialog:not([open]) { 1077 dialog:not([open]) {
1078 display: none 1078 display: none
1079 } 1079 }
1080 1080
1081 dialog { 1081 dialog {
1082 display: block;
1082 position: absolute; 1083 position: absolute;
1083 left: 0; 1084 left: 0;
1084 right: 0; 1085 right: 0;
1085 width: -webkit-fit-content; 1086 width: -webkit-fit-content;
1086 height: -webkit-fit-content; 1087 height: -webkit-fit-content;
1087 margin: auto; 1088 margin: auto;
1088 border: solid; 1089 border: solid;
1089 padding: 1em; 1090 padding: 1em;
1090 background: white; 1091 background: white;
1091 color: black 1092 color: black
(...skipping 21 matching lines...) Expand all
1113 padding: 0px; 1114 padding: 0px;
1114 border-width: 0px; 1115 border-width: 0px;
1115 } 1116 }
1116 1117
1117 /* Allows thead sections to print at the top of each page. */ 1118 /* Allows thead sections to print at the top of each page. */
1118 @media print { 1119 @media print {
1119 thead { break-inside:avoid; } 1120 thead { break-inside:avoid; }
1120 } 1121 }
1121 1122
1122 /* noscript is handled internally, as it depends on settings. */ 1123 /* noscript is handled internally, as it depends on settings. */
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/html/dialog/element-removed-from-top-layer-has-original-position.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698