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

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

Issue 553353002: Move default style for <dialog> to html.css (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/RenderTheme.cpp » ('j') | 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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 } 1050 }
1051 1051
1052 bdo { 1052 bdo {
1053 unicode-bidi: bidi-override; 1053 unicode-bidi: bidi-override;
1054 } 1054 }
1055 1055
1056 textarea[dir=auto i] { 1056 textarea[dir=auto i] {
1057 unicode-bidi: -webkit-plaintext; 1057 unicode-bidi: -webkit-plaintext;
1058 } 1058 }
1059 1059
1060 dialog:not([open]) {
1061 display: none
1062 }
1063
1064 dialog {
1065 position: absolute;
1066 left: 0;
1067 right: 0;
1068 width: -webkit-fit-content;
1069 height: -webkit-fit-content;
1070 margin: auto;
1071 border: solid;
1072 padding: 1em;
1073 background: white;
1074 color: black
1075 }
1076
1077 dialog::backdrop {
1078 position: fixed;
1079 top: 0;
1080 right: 0;
1081 bottom: 0;
1082 left: 0;
1083 background: rgba(0,0,0,0.1)
1084 }
1085
1060 /* page */ 1086 /* page */
1061 1087
1062 @page { 1088 @page {
1063 /* FIXME: Define the right default values for page properties. */ 1089 /* FIXME: Define the right default values for page properties. */
1064 size: auto; 1090 size: auto;
1065 margin: auto; 1091 margin: auto;
1066 padding: 0px; 1092 padding: 0px;
1067 border-width: 0px; 1093 border-width: 0px;
1068 } 1094 }
1069 1095
1070 /* noscript is handled internally, as it depends on settings. */ 1096 /* noscript is handled internally, as it depends on settings. */
1071 1097
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698