summaryrefslogtreecommitdiffstats
path: root/third_party/cygwin/quirks.css
diff options
context:
space:
mode:
authorjabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 04:22:16 +0000
committerjabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 04:22:16 +0000
commit71f1472f6e94a64db8a40aef4d77c6cba1e6dd2f (patch)
treece4ba5bffabf2f0d69bc284a981a8025c34af499 /third_party/cygwin/quirks.css
parent95ad043b3cafcf2e1a98b0e0f5cb6be25090118c (diff)
downloadchromium_src-71f1472f6e94a64db8a40aef4d77c6cba1e6dd2f.zip
chromium_src-71f1472f6e94a64db8a40aef4d77c6cba1e6dd2f.tar.gz
chromium_src-71f1472f6e94a64db8a40aef4d77c6cba1e6dd2f.tar.bz2
Replace our cygwin binaries with another set that we can get the source for (checked into cygwin_src).
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cygwin/quirks.css')
-rw-r--r--third_party/cygwin/quirks.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/third_party/cygwin/quirks.css b/third_party/cygwin/quirks.css
new file mode 100644
index 0000000..407f824
--- /dev/null
+++ b/third_party/cygwin/quirks.css
@@ -0,0 +1,60 @@
+/*
+ * Additonal style sheet used to render HTML pages in quirks mode.
+ *
+ * Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org)
+ * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ */
+
+/* Give floated images margins of 3px */
+img[align="left"] {
+ margin-right: 3px;
+}
+img[align="right"] {
+ margin-left: 3px;
+}
+
+/* Tables reset both line-height and white-space in quirks mode. */
+/* Compatible with WinIE. Note that font-family is *not* reset. */
+table {
+ white-space: normal;
+ line-height: normal;
+ font-weight: normal;
+ font-size: medium;
+ font-variant: normal;
+ font-style: normal;
+ color: -webkit-text;
+ text-align: -webkit-auto
+}
+
+/* This will apply only to text fields, since all other inputs already use border box sizing */
+input:not([type=image]), textarea {
+ -webkit-box-sizing: border-box;
+}
+/* Copyright 2008 Google Inc. All Rights Reserved. */
+/* Author: ojan@google.com (Ojan Vafai) */
+
+/* These styles override the default styling for HTML elements in quirks-mode
+ as defined in WebCore/css/quirks.css. So far we have used this file exclusively for
+ making our form elements match Firefoxes. If we find other needs for this
+ file we should seriously consider if this is the right place of them. */
+
+textarea {
+ /* Matches IE's text offsets in quirksmode (causes text to wrap the same as IE). */
+ padding: 2px 0 0 2px;
+}