blob: ed617406d73e2e86630ca3fae0a8b553f7fa9760 [file] [log] [blame]
darinac448292006-01-18 08:56:191/*
2 * The default style sheet used to render HTML.
kociendaf6fe31f2001-08-24 14:24:403 *
darinac448292006-01-18 08:56:194 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
mitz@apple.comf2029f62011-01-13 09:50:335 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
darinac448292006-01-18 08:56:196 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
ddkilzere6d89822007-09-26 02:29:5719 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
darinac448292006-01-18 08:56:1921 *
kociendaf6fe31f2001-08-24 14:24:4022 */
23
hyattc593ca52004-01-26 22:33:1924@namespace "http://www.w3.org/1999/xhtml";
25
kociendaf6fe31f2001-08-24 14:24:4026html {
hyatteca875e2004-05-05 00:16:2127 display: block
darin18d73502006-04-03 01:11:2828}
kociendaf6fe31f2001-08-24 14:24:4029
darinac448292006-01-18 08:56:1930/* children of the <head> element all have display:none */
darin18d73502006-04-03 01:11:2831head {
hyatteca875e2004-05-05 00:16:2132 display: none
kociendaf6fe31f2001-08-24 14:24:4033}
darin18d73502006-04-03 01:11:2834
kociendaf6fe31f2001-08-24 14:24:4035meta {
hyatteca875e2004-05-05 00:16:2136 display: none
kociendaf6fe31f2001-08-24 14:24:4037}
38
39title {
hyatteca875e2004-05-05 00:16:2140 display: none
kociendaf6fe31f2001-08-24 14:24:4041}
42
43link {
hyatteca875e2004-05-05 00:16:2144 display: none
kociendaf6fe31f2001-08-24 14:24:4045}
46
47style {
hyatteca875e2004-05-05 00:16:2148 display: none
kociendaf6fe31f2001-08-24 14:24:4049}
50
51script {
hyatteca875e2004-05-05 00:16:2152 display: none
kociendaf6fe31f2001-08-24 14:24:4053}
54
hyatteca875e2004-05-05 00:16:2155/* generic block-level elements */
kociendaf6fe31f2001-08-24 14:24:4056
hyatta6aeb222003-04-04 17:39:4757body {
58 display: block;
hyatteca875e2004-05-05 00:16:2159 margin: 8px
mjs14ceec52002-03-22 00:31:5760}
kociendaf6fe31f2001-08-24 14:24:4061
62p {
hyatteca875e2004-05-05 00:16:2163 display: block;
hyatt@apple.come5f7e412011-01-26 23:10:5764 -webkit-margin-before: 1__qem;
65 -webkit-margin-after: 1__qem;
66 -webkit-margin-start: 0;
67 -webkit-margin-end: 0;
kociendaf6fe31f2001-08-24 14:24:4068}
69
70div {
hyatteca875e2004-05-05 00:16:2171 display: block
kociendaf6fe31f2001-08-24 14:24:4072}
73
kociendaf6fe31f2001-08-24 14:24:4074layer {
hyatteca875e2004-05-05 00:16:2175 display: block
kociendaf6fe31f2001-08-24 14:24:4076}
77
tkent@chromium.orge9b54532010-03-09 06:24:5778article, aside, footer, header, hgroup, nav, section {
mjs@apple.comfa455722009-08-19 05:09:3579 display: block
80}
81
hyattf9dafda2003-10-29 08:57:2082marquee {
83 display: inline-block;
hyattd36138b2006-04-14 22:50:0784 overflow: -webkit-marquee
hyattf9dafda2003-10-29 08:57:2085}
86
kociendaf6fe31f2001-08-24 14:24:4087address {
hyatteca875e2004-05-05 00:16:2188 display: block
kociendaf6fe31f2001-08-24 14:24:4089}
darin18d73502006-04-03 01:11:2890
kociendaf6fe31f2001-08-24 14:24:4091blockquote {
hyatteca875e2004-05-05 00:16:2192 display: block;
hyatt@apple.come5f7e412011-01-26 23:10:5793 -webkit-margin-before: 1__qem;
94 -webkit-margin-after: 1em;
95 -webkit-margin-start: 40px;
96 -webkit-margin-end: 40px;
kociendaf6fe31f2001-08-24 14:24:4097}
98
commit-queue@webkit.orgf10e1492010-12-09 16:40:5399figcaption {
100 display: block
101}
102
103figure {
104 display: block;
hyatt@apple.come5f7e412011-01-26 23:10:57105 -webkit-margin-before: 1em;
106 -webkit-margin-after: 1em;
107 -webkit-margin-start: 40px;
108 -webkit-margin-end: 40px;
commit-queue@webkit.orgf10e1492010-12-09 16:40:53109}
110
hyatteca875e2004-05-05 00:16:21111q {
112 display: inline
mjs14ceec52002-03-22 00:31:57113}
114
hyatteca875e2004-05-05 00:16:21115q:before {
carol.szabo@nokia.com28b08b22011-03-02 19:34:00116 content: open-quote;
mjs14ceec52002-03-22 00:31:57117}
118
hyatteca875e2004-05-05 00:16:21119q:after {
carol.szabo@nokia.com28b08b22011-03-02 19:34:00120 content: close-quote;
mjs14ceec52002-03-22 00:31:57121}
122
hyatteca875e2004-05-05 00:16:21123center {
124 display: block;
125 /* special centering to be able to emulate the html4/netscape behaviour */
hyattd36138b2006-04-14 22:50:07126 text-align: -webkit-center
darin18d73502006-04-03 01:11:28127}
hyatteca875e2004-05-05 00:16:21128
129hr {
130 display: block;
hyatt@apple.come5f7e412011-01-26 23:10:57131 -webkit-margin-before: 0.5em;
132 -webkit-margin-after: 0.5em;
133 -webkit-margin-start: auto;
134 -webkit-margin-end: auto;
hyatteca875e2004-05-05 00:16:21135 border-style: inset;
136 border-width: 1px
hyatt94f0a532003-11-11 01:03:15137}
138
hyatteca875e2004-05-05 00:16:21139map {
140 display: inline
141}
kociendaf6fe31f2001-08-24 14:24:40142
hyatteca875e2004-05-05 00:16:21143/* heading elements */
darin18d73502006-04-03 01:11:28144
hyatteca875e2004-05-05 00:16:21145h1 {
146 display: block;
147 font-size: 2em;
hyatt@apple.come5f7e412011-01-26 23:10:57148 -webkit-margin-before: 0.67__qem;
149 -webkit-margin-after: 0.67em;
150 -webkit-margin-start: 0;
151 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21152 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40153}
darin18d73502006-04-03 01:11:28154
tkent@chromium.orgeb3adc42011-03-30 07:00:25155:-webkit-any(article,aside,nav,section) h1 {
156 font-size: 1.5em;
157 -webkit-margin-before: 0.83__qem;
158 -webkit-margin-after: 0.83em;
159}
160
161:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1 {
162 font-size: 1.17em;
163 -webkit-margin-before: 1__qem;
164 -webkit-margin-after: 1em;
165}
166
167:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1 {
168 font-size: 1.00em;
169 -webkit-margin-before: 1.33__qem;
170 -webkit-margin-after: 1.33em;
171}
172
173:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1 {
174 font-size: .83em;
175 -webkit-margin-before: 1.67__qem;
176 -webkit-margin-after: 1.67em;
177}
178
179:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1 {
180 font-size: .67em;
181 -webkit-margin-before: 2.33__qem;
182 -webkit-margin-after: 2.33em;
183}
184
hyatteca875e2004-05-05 00:16:21185h2 {
186 display: block;
187 font-size: 1.5em;
hyatt@apple.come5f7e412011-01-26 23:10:57188 -webkit-margin-before: 0.83__qem;
189 -webkit-margin-after: 0.83em;
190 -webkit-margin-start: 0;
191 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21192 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40193}
darin18d73502006-04-03 01:11:28194
hyatteca875e2004-05-05 00:16:21195h3 {
196 display: block;
197 font-size: 1.17em;
hyatt@apple.come5f7e412011-01-26 23:10:57198 -webkit-margin-before: 1__qem;
199 -webkit-margin-after: 1em;
200 -webkit-margin-start: 0;
201 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21202 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40203}
darin18d73502006-04-03 01:11:28204
hyatteca875e2004-05-05 00:16:21205h4 {
206 display: block;
hyatt@apple.come5f7e412011-01-26 23:10:57207 -webkit-margin-before: 1.33__qem;
208 -webkit-margin-after: 1.33em;
209 -webkit-margin-start: 0;
210 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21211 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40212}
213
hyatteca875e2004-05-05 00:16:21214h5 {
215 display: block;
216 font-size: .83em;
hyatt@apple.come5f7e412011-01-26 23:10:57217 -webkit-margin-before: 1.67__qem;
218 -webkit-margin-after: 1.67em;
219 -webkit-margin-start: 0;
220 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21221 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40222}
223
hyatteca875e2004-05-05 00:16:21224h6 {
225 display: block;
226 font-size: .67em;
hyatt@apple.come5f7e412011-01-26 23:10:57227 -webkit-margin-before: 2.33__qem;
228 -webkit-margin-after: 2.33em;
229 -webkit-margin-start: 0;
230 -webkit-margin-end: 0;
hyatteca875e2004-05-05 00:16:21231 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40232}
233
hyatteca875e2004-05-05 00:16:21234/* tables */
kociendaf6fe31f2001-08-24 14:24:40235
hyatteca875e2004-05-05 00:16:21236table {
237 display: table;
238 border-collapse: separate;
hyatteca875e2004-05-05 00:16:21239 border-spacing: 2px;
240 border-color: gray
kociendaf6fe31f2001-08-24 14:24:40241}
hyatt97bb4fe2002-12-15 07:39:56242
hyatteca875e2004-05-05 00:16:21243thead {
244 display: table-header-group;
hyatt66b64e12002-12-20 01:50:10245 vertical-align: middle;
hyatteca875e2004-05-05 00:16:21246 border-color: inherit
kociendaf6fe31f2001-08-24 14:24:40247}
darin18d73502006-04-03 01:11:28248
hyatteca875e2004-05-05 00:16:21249tbody {
250 display: table-row-group;
darin18d73502006-04-03 01:11:28251 vertical-align: middle;
hyatteca875e2004-05-05 00:16:21252 border-color: inherit
kociendaf6fe31f2001-08-24 14:24:40253}
darin18d73502006-04-03 01:11:28254
hyatteca875e2004-05-05 00:16:21255tfoot {
256 display: table-footer-group;
hyatt66b64e12002-12-20 01:50:10257 vertical-align: middle;
hyatteca875e2004-05-05 00:16:21258 border-color: inherit
kociendaf6fe31f2001-08-24 14:24:40259}
260
darinaae2ca52007-05-01 19:59:53261/* for tables without table section elements (can happen with XHTML or dynamically created tables) */
262table > tr {
263 vertical-align: middle;
264}
265
hyatteca875e2004-05-05 00:16:21266col {
267 display: table-column
kociendaf6fe31f2001-08-24 14:24:40268}
269
hyatteca875e2004-05-05 00:16:21270colgroup {
271 display: table-column-group
kociendaf6fe31f2001-08-24 14:24:40272}
273
hyatteca875e2004-05-05 00:16:21274tr {
275 display: table-row;
276 vertical-align: inherit;
277 border-color: inherit
kociendaf6fe31f2001-08-24 14:24:40278}
279
hyatteca875e2004-05-05 00:16:21280td, th {
281 display: table-cell;
282 vertical-align: inherit
kociendaf6fe31f2001-08-24 14:24:40283}
284
hyatteca875e2004-05-05 00:16:21285th {
286 font-weight: bold
kociendaf6fe31f2001-08-24 14:24:40287}
288
hyatteca875e2004-05-05 00:16:21289caption {
290 display: table-caption;
hyattb61521c2006-05-08 08:19:53291 text-align: -webkit-center
kociendaf6fe31f2001-08-24 14:24:40292}
293
darinac448292006-01-18 08:56:19294/* lists */
kociendaf6fe31f2001-08-24 14:24:40295
hyatteca875e2004-05-05 00:16:21296ul, menu, dir {
297 display: block;
298 list-style-type: disc;
hyatt@apple.coma36b0aac2010-11-10 01:46:10299 -webkit-margin-before: 1__qem;
300 -webkit-margin-after: 1em;
301 -webkit-margin-start: 0;
302 -webkit-margin-end: 0;
hyattd36138b2006-04-14 22:50:07303 -webkit-padding-start: 40px
kociendaf6fe31f2001-08-24 14:24:40304}
mjs14ceec52002-03-22 00:31:57305
hyatteca875e2004-05-05 00:16:21306ol {
307 display: block;
308 list-style-type: decimal;
hyatt@apple.coma36b0aac2010-11-10 01:46:10309 -webkit-margin-before: 1__qem;
310 -webkit-margin-after: 1em;
311 -webkit-margin-start: 0;
312 -webkit-margin-end: 0;
hyattd36138b2006-04-14 22:50:07313 -webkit-padding-start: 40px
kociendaf6fe31f2001-08-24 14:24:40314}
315
hyatteca875e2004-05-05 00:16:21316li {
317 display: list-item
318}
319
320ul ul, ol ul {
321 list-style-type: circle
322}
323
324ol ol ul, ol ul ul, ul ol ul, ul ul ul {
325 list-style-type: square
326}
327
328dd {
329 display: block;
hyattd36138b2006-04-14 22:50:07330 -webkit-margin-start: 40px
hyatteca875e2004-05-05 00:16:21331}
332
333dl {
334 display: block;
hyatt@apple.coma36b0aac2010-11-10 01:46:10335 -webkit-margin-before: 1__qem;
336 -webkit-margin-after: 1em;
337 -webkit-margin-start: 0;
338 -webkit-margin-end: 0;
darin18d73502006-04-03 01:11:28339}
kociendaf6fe31f2001-08-24 14:24:40340
hyatteca875e2004-05-05 00:16:21341dt {
342 display: block
kociendaf6fe31f2001-08-24 14:24:40343}
hyatted84c1c2004-04-29 01:19:04344
hyatteca875e2004-05-05 00:16:21345ol ul, ul ol, ul ul, ol ol {
hyatt@apple.coma36b0aac2010-11-10 01:46:10346 -webkit-margin-before: 0;
347 -webkit-margin-after: 0
kociendaf6fe31f2001-08-24 14:24:40348}
349
hyatteca875e2004-05-05 00:16:21350/* form elements */
kociendaf6fe31f2001-08-24 14:24:40351
hyatteca875e2004-05-05 00:16:21352form {
353 display: block;
morrita@google.com4646de82011-02-07 01:40:17354 margin-top: 0__qem;
kociendaf6fe31f2001-08-24 14:24:40355}
356
hyatt0de47952006-09-13 06:23:56357label {
358 cursor: default;
hyatt0de47952006-09-13 06:23:56359}
360
hyatteca875e2004-05-05 00:16:21361legend {
mitz@apple.com177c28f2009-03-09 22:20:50362 display: block;
hyatt@apple.com9136a002010-10-06 12:10:02363 -webkit-padding-start: 2px;
364 -webkit-padding-end: 2px;
hyatteca875e2004-05-05 00:16:21365 border: none
hyatt14633db2003-05-21 07:00:43366}
367
hyatteca875e2004-05-05 00:16:21368fieldset {
hyatt14633db2003-05-21 07:00:43369 display: block;
hyatt@apple.com9136a002010-10-06 12:10:02370 -webkit-margin-start: 2px;
371 -webkit-margin-end: 2px;
372 -webkit-padding-before: 0.35em;
373 -webkit-padding-start: 0.75em;
374 -webkit-padding-end: 0.75em;
375 -webkit-padding-after: 0.625em;
hyatteca875e2004-05-05 00:16:21376 border: 2px groove ThreeDFace
hyatt14633db2003-05-21 07:00:43377}
kociendaf6fe31f2001-08-24 14:24:40378
hyatteca875e2004-05-05 00:16:21379button {
hyattd36138b2006-04-14 22:50:07380 -webkit-appearance: button;
kociendaf6fe31f2001-08-24 14:24:40381}
382
hyatt@apple.com47967762010-09-22 22:11:01383/* Form controls don't go vertical. */
384input, textarea, keygen, select, button, isindex, meter, progress {
385 -webkit-block-flow: tb !important;
386}
387
hyatt@apple.com455fe5a2009-06-22 23:24:23388input, textarea, keygen, select, button, isindex, datagrid {
hyatt81905382003-11-17 20:38:09389 margin: 0__qem;
hyatt2ea48012006-08-15 22:37:51390 font: -webkit-small-control;
hyatt70db89e2005-07-20 00:45:49391 color: initial;
hyatt18462302005-10-26 06:08:03392 letter-spacing: normal;
393 word-spacing: normal;
394 line-height: normal;
395 text-transform: none;
396 text-indent: 0;
hyatt45f78ae2007-07-16 21:02:02397 text-shadow: none;
hyatt70db89e2005-07-20 00:45:49398 display: inline-block;
adele389a5c32007-04-06 00:42:03399 text-align: -webkit-auto;
hyattea187832002-11-12 21:44:52400}
401
hyatteca875e2004-05-05 00:16:21402input[type="hidden"] {
403 display: none
kociendaf6fe31f2001-08-24 14:24:40404}
405
adeleedb78062006-12-16 09:56:49406input, input[type="password"], input[type="search"], isindex {
hyattd36138b2006-04-14 22:50:07407 -webkit-appearance: textfield;
adelee843f092006-03-30 01:49:57408 padding: 1px;
409 background-color: white;
410 border: 2px inset;
hyattd36138b2006-04-14 22:50:07411 -webkit-rtl-ordering: logical;
adele34e15472006-04-25 00:30:13412 -webkit-user-select: text;
adele11eb9db2007-04-05 21:26:09413 cursor: auto;
adelee843f092006-03-30 01:49:57414}
415
adeleedb78062006-12-16 09:56:49416input[type="search"] {
417 -webkit-appearance: searchfield;
darin595a3492007-04-23 08:27:18418 -webkit-box-sizing: border-box;
adeleedb78062006-12-16 09:56:49419}
420
421input[type="search"]::-webkit-search-cancel-button {
422 -webkit-appearance: searchfield-cancel-button;
adele@apple.com0fbda8c2008-09-03 16:57:58423 display: inline-block;
adeleedb78062006-12-16 09:56:49424}
425
426input[type="search"]::-webkit-search-decoration {
427 -webkit-appearance: searchfield-decoration;
adele@apple.com0fbda8c2008-09-03 16:57:58428 display: inline-block;
adeleedb78062006-12-16 09:56:49429}
430
431input[type="search"]::-webkit-search-results-decoration {
432 -webkit-appearance: searchfield-results-decoration;
adele@apple.com0fbda8c2008-09-03 16:57:58433 display: inline-block;
adeleedb78062006-12-16 09:56:49434}
435
436input[type="search"]::-webkit-search-results-button {
437 -webkit-appearance: searchfield-results-button;
adele@apple.com0fbda8c2008-09-03 16:57:58438 display: inline-block;
adeleedb78062006-12-16 09:56:49439}
440
eric@webkit.org923f7042009-10-05 18:05:36441input::-webkit-input-list-button {
442 -webkit-appearance: list-button;
443 display: inline-block;
444}
445
eric@webkit.org1f8902b2009-12-21 04:57:59446input::-webkit-inner-spin-button {
447 -webkit-appearance: inner-spin-button;
448 display: inline-block;
tkent@chromium.orgfce8bf92010-04-30 08:45:49449 -webkit-user-select: none;
eric@webkit.org1f8902b2009-12-21 04:57:59450}
451
452input::-webkit-outer-spin-button {
453 -webkit-appearance: outer-spin-button;
454 display: inline-block;
455 margin-left: 2px;
tkent@chromium.orgfce8bf92010-04-30 08:45:49456 -webkit-user-select: none;
eric@webkit.org1f8902b2009-12-21 04:57:59457}
458
jorlow@chromium.org2082a6d2010-06-24 10:40:28459input::-webkit-input-speech-button {
satish@chromium.orgec9a80a2010-09-29 13:45:15460 -webkit-appearance: -webkit-input-speech-button;
jorlow@chromium.org2082a6d2010-06-24 10:40:28461 display: inline-block;
462}
463
morrita@google.com4646de82011-02-07 01:40:17464keygen, select {
465 -webkit-border-radius: 5px;
466}
467
468keygen::-webkit-keygen-select {
469 margin: 0px;
470}
471
adele2d542cb2006-05-17 23:32:38472textarea {
adele6401bff2006-06-21 07:23:06473 -webkit-appearance: textarea;
474 background-color: white;
adele3a2e0432006-06-16 18:27:54475 border: 1px solid;
adele2d542cb2006-05-17 23:32:38476 -webkit-rtl-ordering: logical;
477 -webkit-user-select: text;
478 -webkit-box-orient: vertical;
hyatt1c786862006-07-19 00:16:34479 resize: auto;
adele11eb9db2007-04-05 21:26:09480 cursor: auto;
ojan@chromium.org0484dd02009-04-29 20:31:53481 padding: 2px;
levin@chromium.orgfb47c842009-07-16 05:32:39482 white-space: pre-wrap;
483 word-wrap: break-word;
adele2d542cb2006-05-17 23:32:38484}
485
eric@webkit.org0b2155d2009-08-24 08:28:51486input::-webkit-input-placeholder, isindex::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
adele@apple.com81be3ce2008-09-30 23:21:50487 color: darkGray;
488}
489
adeleceb356d2006-08-26 00:33:22490input[type="password"] {
adeleef0b4ac2006-08-30 18:32:40491 -webkit-text-security: disc !important;
adeleceb356d2006-08-26 00:33:22492}
493
adeleedb78062006-12-16 09:56:49494input[type="hidden"], input[type="image"], input[type="file"] {
hyattd36138b2006-04-14 22:50:07495 -webkit-appearance: initial;
adelee843f092006-03-30 01:49:57496 padding: initial;
497 background-color: initial;
498 border: initial;
499}
500
aroben226ef412006-09-12 19:59:32501input[type="file"] {
502 -webkit-box-align: baseline;
simon.fraser@apple.come8e1abb2008-10-03 00:43:39503 text-align: start !important;
aroben226ef412006-09-12 19:59:32504}
505
hyattd36138b2006-04-14 22:50:07506input:-webkit-autofill {
adelea464e9f2006-04-13 01:50:04507 background-color: #FAFFBD !important;
508 background-image:none !important;
commit-queue@webkit.org99404842011-03-15 18:02:55509 color: #000000 !important;
adelea464e9f2006-04-13 01:50:04510}
511
hyatteca875e2004-05-05 00:16:21512input[type="radio"], input[type="checkbox"] {
hyatt21573352005-07-29 23:02:45513 margin: 3px 0.5ex;
adelee843f092006-03-30 01:49:57514 padding: initial;
515 background-color: initial;
516 border: initial;
hyatt21573352005-07-29 23:02:45517}
518
aroben226ef412006-09-12 19:59:32519input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button {
hyattd36138b2006-04-14 22:50:07520 -webkit-appearance: push-button;
hyatt18462302005-10-26 06:08:03521 white-space: pre
hyattf5b9a822005-10-21 21:27:51522}
523
aroben226ef412006-09-12 19:59:32524input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
hyattd36138b2006-04-14 22:50:07525 -webkit-box-align: center;
hyatt18462302005-10-26 06:08:03526 text-align: center;
hyatt969dc1e2005-10-22 18:19:27527 cursor: default;
528 color: ButtonText;
hyattcc278a42005-10-28 07:03:26529 padding: 2px 6px 3px 6px;
530 border: 2px outset ButtonFace;
hyattb2650252006-05-08 08:17:07531 background-color: ButtonFace;
darin595a3492007-04-23 08:27:18532 -webkit-box-sizing: border-box
hyatt969dc1e2005-10-22 18:19:27533}
534
adele832cc332006-11-16 01:42:28535input[type="range"] {
536 -webkit-appearance: slider-horizontal;
537 padding: initial;
538 border: initial;
adele832cc332006-11-16 01:42:28539 margin: 2px;
540}
541
542input[type="range"]::-webkit-slider-thumb {
543 -webkit-appearance: sliderthumb-horizontal;
dglazkov@chromium.orgb6ebe4e2011-01-11 21:05:33544 display: block;
adele832cc332006-11-16 01:42:28545}
546
hyatt@apple.com455fe5a2009-06-22 23:24:23547input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled,
548input[type="file"]:disabled::-webkit-file-upload-button, button:disabled,
549select:disabled, keygen:disabled, optgroup:disabled, option:disabled, datagrid:disabled {
darinac448292006-01-18 08:56:19550 color: GrayText
hyattf5b9a822005-10-21 21:27:51551}
552
weinig01f4fe92007-01-21 17:05:13553input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, input[type="file"]:active::-webkit-file-upload-button, button:active {
hyattcc278a42005-10-28 07:03:26554 border-style: inset
555}
556
weinig01f4fe92007-01-21 17:05:13557input[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, input[type="file"]:active:disabled::-webkit-file-upload-button, button:active:disabled {
hyattcc278a42005-10-28 07:03:26558 border-style: outset
559}
560
adeleaa949792006-07-06 05:47:30561area, param {
hyatteca875e2004-05-05 00:16:21562 display: none
kociendaf6fe31f2001-08-24 14:24:40563}
564
hyatt70db89e2005-07-20 00:45:49565input[type="checkbox"] {
hyattb2650252006-05-08 08:17:07566 -webkit-appearance: checkbox;
darin595a3492007-04-23 08:27:18567 -webkit-box-sizing: border-box;
hyatt70db89e2005-07-20 00:45:49568}
569
hyatt4da232a2005-08-08 21:12:02570input[type="radio"] {
hyattb2650252006-05-08 08:17:07571 -webkit-appearance: radio;
darin595a3492007-04-23 08:27:18572 -webkit-box-sizing: border-box;
hyattb2650252006-05-08 08:17:07573}
574
morrita@google.com4646de82011-02-07 01:40:17575select {
adele5f40b592006-07-10 07:19:24576 -webkit-appearance: menulist;
darin595a3492007-04-23 08:27:18577 -webkit-box-sizing: border-box;
adele5f40b592006-07-10 07:19:24578 -webkit-box-align: center;
bdashf448ccd2007-04-12 04:45:48579 border: 1px solid;
bdashf448ccd2007-04-12 04:45:48580 white-space: pre;
ap0e96bcc2006-07-24 16:21:36581 -webkit-rtl-ordering: logical;
adelec15bc252006-08-25 23:44:05582 color: black;
adelec15bc252006-08-25 23:44:05583 background-color: white;
adele11eb9db2007-04-05 21:26:09584 cursor: default;
adele5f40b592006-07-10 07:19:24585}
586
587select[size],
588select[multiple],
589select[size][multiple] {
adeled62c9ce2006-09-29 23:13:49590 -webkit-appearance: listbox;
bdashf448ccd2007-04-12 04:45:48591 -webkit-box-align: start;
adeled62c9ce2006-09-29 23:13:49592 border: 1px inset gray;
593 -webkit-border-radius: initial;
594 white-space: initial;
adele5f40b592006-07-10 07:19:24595}
kdecker0c25f702007-03-06 22:38:17596
adele5f40b592006-07-10 07:19:24597select[size="0"],
598select[size="1"] {
599 -webkit-appearance: menulist;
adele5f40b592006-07-10 07:19:24600 -webkit-box-align: center;
adelec15bc252006-08-25 23:44:05601 border: 1px solid;
602 -webkit-border-radius: 5px;
bdashf448ccd2007-04-12 04:45:48603 white-space: pre;
hyatt4da232a2005-08-08 21:12:02604}
605
adeleaa949792006-07-06 05:47:30606optgroup {
607 font-weight: bolder;
608}
609
610option {
611 font-weight: normal;
612}
613
commit-queue@webkit.orga8dec302010-11-05 00:57:50614output {
615 display: inline;
616}
617
tkent@chromium.org9b404a32011-01-14 06:21:51618/* form validation message bubble */
619
620::-webkit-validation-bubble {
tkent@chromium.orgf5853892011-03-29 01:10:49621 display: inline-block;
tkent@chromium.org9b404a32011-01-14 06:21:51622 z-index: 2147483647;
623 position: absolute;
tkent@chromium.orgf5853892011-03-29 01:10:49624 opacity: 0.95;
tkent@chromium.org9b404a32011-01-14 06:21:51625 line-height: 0;
tkent@chromium.orgf5853892011-03-29 01:10:49626 margin: 0;
tkent@chromium.org54e43e72011-01-31 23:50:53627 -webkit-text-security: none;
tkent@chromium.org9b404a32011-01-14 06:21:51628 -webkit-transition: opacity 05.5s ease;
629}
630
631::-webkit-validation-bubble-message {
632 display: block;
tkent@chromium.orgf5853892011-03-29 01:10:49633 position: relative;
634 top: -4px;
tkent@chromium.org9b404a32011-01-14 06:21:51635 font: message-box;
tkent@chromium.orgf5853892011-03-29 01:10:49636 color: black;
tkent@chromium.org9b404a32011-01-14 06:21:51637 min-width: 50px;
638 max-width: 200px;
tkent@chromium.orgf5853892011-03-29 01:10:49639 border: solid 2px #400;
640 background: -webkit-gradient(linear, left top, left bottom, from(#f8ecec), to(#e8cccc));
tkent@chromium.org9b404a32011-01-14 06:21:51641 padding: 8px;
642 -webkit-border-radius: 8px;
tkent@chromium.orgf5853892011-03-29 01:10:49643 -webkit-box-shadow: 4px 4px 4px rgba(100,100,100,0.6),
644 inset -2px -2px 1px #d0c4c4,
645 inset 2px 2px 1px white;
tkent@chromium.org9b404a32011-01-14 06:21:51646 line-height: normal;
tkent@chromium.orgf5853892011-03-29 01:10:49647 z-index: 2147483644;
tkent@chromium.org9b404a32011-01-14 06:21:51648}
649
tkent@chromium.orgf5853892011-03-29 01:10:49650::-webkit-validation-bubble-arrow {
tkent@chromium.org9b404a32011-01-14 06:21:51651 display: inline-block;
652 position: relative;
tkent@chromium.orgf5853892011-03-29 01:10:49653 left: 32px;
654 width: 16px;
655 height: 16px;
656 background-color: #f8ecec;
657 border-width: 2px 0 0 2px;
tkent@chromium.org9b404a32011-01-14 06:21:51658 border-style: solid;
tkent@chromium.orgf5853892011-03-29 01:10:49659 border-color: #400;
660 box-shadow: inset 2px 2px 1px white;
661 -webkit-transform-origin: 0 0;
662 -webkit-transform: rotate(45deg);
663 z-index: 2147483645;
tkent@chromium.org9b404a32011-01-14 06:21:51664}
665
tkent@chromium.orgf5853892011-03-29 01:10:49666::-webkit-validation-bubble-arrow-clipper {
667 display: block;
668 overflow: hidden;
669 height: 16px;
tkent@chromium.org9b404a32011-01-14 06:21:51670}
671
yael.aharon@nokia.comcf3f3f52010-05-15 16:41:06672/* meter */
673
674meter {
675 -webkit-appearance: meter;
morrita@google.coma8dfaec2011-04-05 02:01:56676 -webkit-box-sizing: border-box;
677 display: inline-box;
yael.aharon@nokia.comcf3f3f52010-05-15 16:41:06678 height: 1em;
679 width: 5em;
680 vertical-align: -0.2em;
681}
682
morrita@google.comc6e4a672011-04-01 15:59:19683meter::-webkit-meter-bar {
morrita@google.com81526f12010-06-18 05:13:19684 background: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#ddd), color-stop(0.20, #eee), color-stop(0.45, #ccc), color-stop(0.55, #ccc));
morrita@google.coma8dfaec2011-04-05 02:01:56685 height: 100%;
686 -webkit-box-sizing: border-box;
morrita@google.com81526f12010-06-18 05:13:19687}
688
morrita@google.comc6e4a672011-04-01 15:59:19689meter::-webkit-meter-optimum-value {
morrita@google.com81526f12010-06-18 05:13:19690 background: -webkit-gradient(linear, left top, left bottom, from(#ad7), to(#ad7), color-stop(0.20, #cea), color-stop(0.45, #7a3), color-stop(0.55, #7a3));
morrita@google.coma8dfaec2011-04-05 02:01:56691 height: 100%;
692 -webkit-box-sizing: border-box;
morrita@google.com81526f12010-06-18 05:13:19693}
694
morrita@google.coma8dfaec2011-04-05 02:01:56695meter::-webkit-meter-suboptimum-value {
morrita@google.com81526f12010-06-18 05:13:19696 background: -webkit-gradient(linear, left top, left bottom, from(#fe7), to(#fe7), color-stop(0.20, #ffc), color-stop(0.45, #db3), color-stop(0.55, #db3));
morrita@google.coma8dfaec2011-04-05 02:01:56697 height: 100%;
698 -webkit-box-sizing: border-box;
morrita@google.com81526f12010-06-18 05:13:19699}
700
morrita@google.comc6e4a672011-04-01 15:59:19701meter::-webkit-meter-even-less-good-value {
morrita@google.com81526f12010-06-18 05:13:19702 background: -webkit-gradient(linear, left top, left bottom, from(#f77), to(#f77), color-stop(0.20, #fcc), color-stop(0.45, #d44), color-stop(0.55, #d44));
morrita@google.coma8dfaec2011-04-05 02:01:56703 height: 100%;
704 -webkit-box-sizing: border-box;
morrita@google.com81526f12010-06-18 05:13:19705}
706
yael.aharon@nokia.comaae33d52010-03-15 01:00:36707/* progress */
708
709progress {
710 -webkit-appearance: progress-bar;
yael.aharon@nokia.comfc26df22010-03-26 15:42:41711 display: inline-block;
712 height: 1em;
713 width: 10em;
714 vertical-align: -0.2em;
morrita@google.comd7eb3862010-06-28 11:20:33715 background-color: gray;
yael.aharon@nokia.comaae33d52010-03-15 01:00:36716}
717
morrita@google.comd7eb3862010-06-28 11:20:33718progress::-webkit-progress-bar-value {
yael.aharon@nokia.comaae33d52010-03-15 01:00:36719 -webkit-appearance: progress-bar;
morrita@google.comd7eb3862010-06-28 11:20:33720 background-color: green;
yael.aharon@nokia.comaae33d52010-03-15 01:00:36721}
722
hyatt@apple.com455fe5a2009-06-22 23:24:23723/* datagrid */
724
725datagrid {
726 height: 150px; /* We don't use width:300px in CSS, since we want width:intrinsic and width:min-intrinsic to reset to 300 properly. */
727 -webkit-appearance: datagrid;
728 -webkit-box-sizing: border-box;
729 -webkit-rtl-ordering: logical;
730 color: black;
731 background-color: white;
732 cursor: default;
733 border: 1px inset gray;
734 white-space: initial;
735}
736
darin18d73502006-04-03 01:11:28737/* inline elements */
738
hyatteca875e2004-05-05 00:16:21739u, ins {
740 text-decoration: underline
kociendaf6fe31f2001-08-24 14:24:40741}
darin18d73502006-04-03 01:11:28742
hyatteca875e2004-05-05 00:16:21743strong, b {
744 font-weight: bolder
kociendaf6fe31f2001-08-24 14:24:40745}
darin18d73502006-04-03 01:11:28746
hyatteca875e2004-05-05 00:16:21747i, cite, em, var, address {
748 font-style: italic
kociendaf6fe31f2001-08-24 14:24:40749}
darin18d73502006-04-03 01:11:28750
hyatteca875e2004-05-05 00:16:21751tt, code, kbd, samp {
752 font-family: monospace
kociendaf6fe31f2001-08-24 14:24:40753}
darin18d73502006-04-03 01:11:28754
darin7816d5d2006-03-21 23:52:24755pre, xmp, plaintext, listing {
hyatteca875e2004-05-05 00:16:21756 display: block;
757 font-family: monospace;
758 white-space: pre;
759 margin: 1__qem 0
kociendaf6fe31f2001-08-24 14:24:40760}
hyatt31ff3c22005-11-02 08:52:50761
commit-queue@webkit.org296f65c2010-07-02 19:45:28762mark {
763 background-color: yellow;
764 color: black
765}
766
hyatteca875e2004-05-05 00:16:21767big {
darinac448292006-01-18 08:56:19768 font-size: larger
kociendaf6fe31f2001-08-24 14:24:40769}
darin18d73502006-04-03 01:11:28770
hyatteca875e2004-05-05 00:16:21771small {
darinac448292006-01-18 08:56:19772 font-size: smaller
kociendaf6fe31f2001-08-24 14:24:40773}
774
hyatteca875e2004-05-05 00:16:21775s, strike, del {
776 text-decoration: line-through
kociendaf6fe31f2001-08-24 14:24:40777}
778
hyatteca875e2004-05-05 00:16:21779sub {
780 vertical-align: sub;
781 font-size: smaller
kociendaf6fe31f2001-08-24 14:24:40782}
783
hyatteca875e2004-05-05 00:16:21784sup {
785 vertical-align: super;
786 font-size: smaller
kociendaf6fe31f2001-08-24 14:24:40787}
788
mjs14ceec52002-03-22 00:31:57789nobr {
hyatteca875e2004-05-05 00:16:21790 white-space: nowrap
mjs14ceec52002-03-22 00:31:57791}
792
darinac448292006-01-18 08:56:19793/* states */
hyatteca875e2004-05-05 00:16:21794
795:focus {
hyattd36138b2006-04-14 22:50:07796 outline: auto 5px -webkit-focus-ring-color
hyatteca875e2004-05-05 00:16:21797}
798
hyatt30d22002007-01-12 06:46:27799/* Read-only text fields do not show a focus ring but do still receive focus */
800html:focus, body:focus, input[readonly]:focus {
darin18d73502006-04-03 01:11:28801 outline: none
802}
803
kdecker0c25f702007-03-06 22:38:17804input:focus, textarea:focus, isindex:focus, keygen:focus, select:focus {
darin18d73502006-04-03 01:11:28805 outline-offset: -2px
806}
807
808input[type="button"]:focus,
809input[type="checkbox"]:focus,
810input[type="file"]:focus,
811input[type="hidden"]:focus,
812input[type="image"]:focus,
darin18d73502006-04-03 01:11:28813input[type="radio"]:focus,
814input[type="reset"]:focus,
815input[type="search"]:focus,
aroben226ef412006-09-12 19:59:32816input[type="submit"]:focus,
weinig01f4fe92007-01-21 17:05:13817input[type="file"]:focus::-webkit-file-upload-button {
darin18d73502006-04-03 01:11:28818 outline-offset: 0
819}
hyatt30d22002007-01-12 06:46:27820
hyattd36138b2006-04-14 22:50:07821a:-webkit-any-link {
822 color: -webkit-link;
hyatt21573352005-07-29 23:02:45823 text-decoration: underline;
mitz@apple.com599e57b2007-11-13 22:14:04824 cursor: auto;
hyatteca875e2004-05-05 00:16:21825}
826
hyattd36138b2006-04-14 22:50:07827a:-webkit-any-link:active {
828 color: -webkit-activelink
hyatteca875e2004-05-05 00:16:21829}
830
rolandsteiner@chromium.org34a7b142009-11-02 01:52:25831/* HTML5 ruby elements */
832
rolandsteiner@chromium.org03de9152009-11-20 05:44:06833ruby, rt {
rolandsteiner@chromium.org7adc98e2010-02-03 05:57:13834 text-indent: 0; /* blocks used for ruby rendering should not trigger this */
hyatt@apple.com99c8e782010-11-19 00:43:29835}
836
837rt {
rolandsteiner@chromium.org7adc98e2010-02-03 05:57:13838 line-height: normal;
mitz@apple.comf2029f62011-01-13 09:50:33839 -webkit-text-emphasis: none;
rolandsteiner@chromium.org03de9152009-11-20 05:44:06840}
841
rolandsteiner@chromium.org34a7b142009-11-02 01:52:25842ruby > rt {
843 display: block;
mitz@apple.com2c547fd2011-02-04 21:18:24844 font-size: 50%;
mitz@apple.com7f2f0f72011-03-01 19:48:04845 text-align: -webkit-auto;
rolandsteiner@chromium.org34a7b142009-11-02 01:52:25846}
847
848ruby > rp {
849 display: none;
850}
851
hyatteca875e2004-05-05 00:16:21852/* other elements */
853
854noframes {
855 display: none
856}
857
858frameset, frame {
859 display: block
mjs14ceec52002-03-22 00:31:57860}
861
hyattf7505692007-03-18 09:21:21862frameset {
863 border-color: inherit
864}
865
hyatt0cf370d2007-03-18 09:33:37866iframe {
867 border: 2px inset
868}
869
luiz@webkit.org1524baf2010-12-06 01:14:39870details {
871 display: block
872}
873
874summary {
875 display: block
876}
877
yuzo@google.com06721d02010-06-16 03:23:12878/* page */
879
880@page {
881 /* FIXME: Define the right default values for page properties. */
yuzo@google.comf9c1d522010-06-23 07:30:04882 size: auto;
yuzo@google.comc04f4962010-06-28 01:59:51883 margin: auto;
884 padding: 0px;
885 border-width: 0px;
yuzo@google.com06721d02010-06-16 03:23:12886}
887
darin18d73502006-04-03 01:11:28888/* noscript is handled internally, as it depends on settings */