OLD | NEW |
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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 right: 0; | 1083 right: 0; |
1084 width: -webkit-fit-content; | 1084 width: -webkit-fit-content; |
1085 height: -webkit-fit-content; | 1085 height: -webkit-fit-content; |
1086 margin: auto; | 1086 margin: auto; |
1087 border: solid; | 1087 border: solid; |
1088 padding: 1em; | 1088 padding: 1em; |
1089 background: white; | 1089 background: white; |
1090 color: black | 1090 color: black |
1091 } | 1091 } |
1092 | 1092 |
| 1093 /* TODO(foolip): In the Fullscreen spec, there's a ::backdrop block with the |
| 1094 properties shared with :fullscreen::backdrop (see fullscreen.css). */ |
1093 dialog::backdrop { | 1095 dialog::backdrop { |
1094 position: fixed; | 1096 position: fixed; |
1095 top: 0; | 1097 top: 0; |
1096 right: 0; | 1098 right: 0; |
1097 bottom: 0; | 1099 bottom: 0; |
1098 left: 0; | 1100 left: 0; |
1099 background: rgba(0,0,0,0.1) | 1101 background: rgba(0,0,0,0.1) |
1100 } | 1102 } |
1101 | 1103 |
1102 slot { | 1104 slot { |
1103 display: contents; | 1105 display: contents; |
1104 } | 1106 } |
1105 | 1107 |
1106 /* page */ | 1108 /* page */ |
1107 | 1109 |
1108 @page { | 1110 @page { |
1109 /* FIXME: Define the right default values for page properties. */ | 1111 /* FIXME: Define the right default values for page properties. */ |
1110 size: auto; | 1112 size: auto; |
1111 margin: auto; | 1113 margin: auto; |
1112 padding: 0px; | 1114 padding: 0px; |
1113 border-width: 0px; | 1115 border-width: 0px; |
1114 } | 1116 } |
1115 | 1117 |
1116 /* Allows thead sections to print at the top of each page. */ | 1118 /* Allows thead sections to print at the top of each page. */ |
1117 @media print { | 1119 @media print { |
1118 thead { break-inside:avoid; } | 1120 thead { break-inside:avoid; } |
1119 } | 1121 } |
1120 | 1122 |
1121 /* noscript is handled internally, as it depends on settings. */ | 1123 /* noscript is handled internally, as it depends on settings. */ |
OLD | NEW |