1/* 2 * Additonal style sheet used to render HTML pages in quirks mode. 3 * 4 * Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) 5 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 6 * 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 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 * Boston, MA 02110-1301, USA. 21 * 22 */ 23 24/* Give floated images margins of 3px */ 25img[align="left" i] { 26 margin-right: 3px; 27} 28img[align="right" i] { 29 margin-left: 3px; 30} 31 32/* Tables reset both line-height and white-space in quirks mode. */ 33/* Compatible with WinIE. Note that font-family is *not* reset. */ 34table { 35 white-space: normal; 36 line-height: normal; 37 font-weight: normal; 38 font-size: medium; 39 font-variant: normal; 40 font-style: normal; 41 color: -webkit-text; 42 text-align: start; 43} 44 45/* This will apply only to text fields, since all other inputs already use border box sizing */ 46input:not([type=image i]), textarea { 47 box-sizing: border-box; 48} 49 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 17696.) */ 52form { 53 margin-bottom: 1em 54} 55