зеркало из https://github.com/mozilla/pjs.git
QuirkMode style sheet: b=38026 r=rods a=karnaze
This commit is contained in:
Родитель
d42616b00c
Коммит
d1b51e73f2
|
@ -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,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;
|
||||
}
|
Загрузка…
Ссылка в новой задаче