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

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

Issue 417353004: Use explicit case-insensitive attribute-value matching in UA-stylesheets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « Source/core/css/mediaControls.css ('k') | Source/core/css/themeChromiumAndroid.css » ('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 * 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.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 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 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 * 21 *
22 */ 22 */
23 23
24 /* Give floated images margins of 3px */ 24 /* Give floated images margins of 3px */
25 img[align="left"] { 25 img[align="left" i] {
26 margin-right: 3px; 26 margin-right: 3px;
27 } 27 }
28 img[align="right"] { 28 img[align="right" i] {
29 margin-left: 3px; 29 margin-left: 3px;
30 } 30 }
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: -webkit-text;
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]), 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 }
OLDNEW
« no previous file with comments | « Source/core/css/mediaControls.css ('k') | Source/core/css/themeChromiumAndroid.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698