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

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

Issue 1713513002: Rename -webkit-text to -internal-quirk-inherit, limiting it to UA style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; add new (negative) test Created 4 years, 10 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
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.
(...skipping 20 matching lines...) Expand all
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698