OLD | NEW |
1 /* | 1 /* |
2 * Additonal style sheet used to render HTML pages in quirks mode. | 2 * Additonal style sheet used to render HTML pages in quirks mode. |
3 * | 3 * |
4 * Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2006, 2007 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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 /* Tables reset both line-height and white-space in quirks mode. */ | 32 /* Tables reset both line-height and white-space in quirks mode. */ |
33 /* Compatible with WinIE. Note that font-family is *not* reset. */ | 33 /* Compatible with WinIE. Note that font-family is *not* reset. */ |
34 table { | 34 table { |
35 white-space: normal; | 35 white-space: normal; |
36 line-height: normal; | 36 line-height: normal; |
37 font-weight: normal; | 37 font-weight: normal; |
38 font-size: medium; | 38 font-size: medium; |
39 font-variant: normal; | 39 font-variant: normal; |
40 font-style: normal; | 40 font-style: normal; |
41 color: -webkit-text; | 41 color: -internal-quirk-inherit; |
42 text-align: start; | 42 text-align: start; |
43 } | 43 } |
44 | 44 |
45 /* This will apply only to text fields, since all other inputs already use borde
r box sizing */ | 45 /* This will apply only to text fields, since all other inputs already use borde
r box sizing */ |
46 input:not([type=image i]), textarea { | 46 input:not([type=image i]), textarea { |
47 box-sizing: border-box; | 47 box-sizing: border-box; |
48 } | 48 } |
49 | 49 |
50 /* Set margin-bottom for form element in quirks mode. */ | 50 /* Set margin-bottom for form element in quirks mode. */ |
51 /* Compatible with Gecko. (Doing this only for quirks mode is a fix for bug 1769
6.) */ | 51 /* Compatible with Gecko. (Doing this only for quirks mode is a fix for bug 1769
6.) */ |
52 form { | 52 form { |
53 margin-bottom: 1em | 53 margin-bottom: 1em |
54 } | 54 } |
OLD | NEW |