mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Fixes text-indent for DD in quirks mode. Patch provided by fantasai, b=5119, r=attinasi,hixie sr=shaver
This commit is contained in:
parent
cee9d0e301
commit
c12bc73aae
@ -161,31 +161,29 @@ hr:after {
|
||||
/* Quirk: DD not in DL has text-indent instead of margin (b=5119) */
|
||||
|
||||
dd {
|
||||
text-indent: 40px;
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dd > * {
|
||||
text-indent: 0;
|
||||
dd:before {
|
||||
display: inline;
|
||||
white-space: pre;
|
||||
font-size: 1px;
|
||||
line-height: 0;
|
||||
content: "\A ";
|
||||
margin-right: 40px;
|
||||
}
|
||||
dl > dd:before {
|
||||
white-space: normal;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
content: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dl > dd {
|
||||
text-indent: inherit;
|
||||
display: block;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
dl > dd > * {
|
||||
text-indent: inherit;
|
||||
}
|
||||
|
||||
dl dl {
|
||||
margin: 0 0 0 40px;
|
||||
}
|
||||
|
||||
dt dl, dd dl {
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/* Quirk: MAP acts like an inline, not a block */
|
||||
map {
|
||||
display: inline;
|
||||
|
@ -161,31 +161,29 @@ hr:after {
|
||||
/* Quirk: DD not in DL has text-indent instead of margin (b=5119) */
|
||||
|
||||
dd {
|
||||
text-indent: 40px;
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dd > * {
|
||||
text-indent: 0;
|
||||
dd:before {
|
||||
display: inline;
|
||||
white-space: pre;
|
||||
font-size: 1px;
|
||||
line-height: 0;
|
||||
content: "\A ";
|
||||
margin-right: 40px;
|
||||
}
|
||||
dl > dd:before {
|
||||
white-space: normal;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
content: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dl > dd {
|
||||
text-indent: inherit;
|
||||
display: block;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
dl > dd > * {
|
||||
text-indent: inherit;
|
||||
}
|
||||
|
||||
dl dl {
|
||||
margin: 0 0 0 40px;
|
||||
}
|
||||
|
||||
dt dl, dd dl {
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/* Quirk: MAP acts like an inline, not a block */
|
||||
map {
|
||||
display: inline;
|
||||
|
Loading…
Reference in New Issue
Block a user