Skip to content

Commit

Permalink
QuirkMode style sheet: b=38026 r=rods a=karnaze
Browse files Browse the repository at this point in the history
  • Loading branch information
attinasi%netscape.com committed Jun 2, 2000
1 parent d7e0e12 commit a8b538c
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 0 deletions.
59 changes: 59 additions & 0 deletions layout/html/document/src/quirk.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/

/* test rule: remove before shipping
.moz-quirktest { text-decoration: underline; color: lime; }
*/

/* Quirk: input images have a blue border (b=28010)*/
input[type=image] {
border: 2px solid blue;
}

/* Quirk: DL under a OL has no margins (b=33300) */
ol dl {
margin: 0 0 0 0;
}

/* Quirk: UL under a DL has no margins (b=32989) */
dl ul {
margin: 0 0 0 0;
color: red;
}

/* make orphaned li's have inside bullet */
li {
list-style-position: inside;
}

/* restore outside position for lists inside li's */
li ul, li ol, li dir, li menu {
list-style-position: outside;
}

/* undo previous two rules for properly nested lists */
ul li, dir li, menu li, ol li,
ul ul, ul dir, ul menu, ul ol,
dir ul, dir dir, dir menu, dir ol,
menu ul, menu dir, menu menu, menu ol,
ol ul, ol dir, ol menu, ol ol {
list-style-position: inherit;
}
59 changes: 59 additions & 0 deletions layout/style/quirk.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/

/* test rule: remove before shipping
.moz-quirktest { text-decoration: underline; color: lime; }
*/

/* Quirk: input images have a blue border (b=28010)*/
input[type=image] {
border: 2px solid blue;
}

/* Quirk: DL under a OL has no margins (b=33300) */
ol dl {
margin: 0 0 0 0;
}

/* Quirk: UL under a DL has no margins (b=32989) */
dl ul {
margin: 0 0 0 0;
color: red;
}

/* make orphaned li's have inside bullet */
li {
list-style-position: inside;
}

/* restore outside position for lists inside li's */
li ul, li ol, li dir, li menu {
list-style-position: outside;
}

/* undo previous two rules for properly nested lists */
ul li, dir li, menu li, ol li,
ul ul, ul dir, ul menu, ul ol,
dir ul, dir dir, dir menu, dir ol,
menu ul, menu dir, menu menu, menu ol,
ol ul, ol dir, ol menu, ol ol {
list-style-position: inherit;
}

0 comments on commit a8b538c

Please sign in to comment.