mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
9e98fa0dba
Based on https://html.spec.whatwg.org/multipage/rendering.html rather than http://dev.w3.org/csswg/css2/grammar.html Fixes #3629. r? @pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: 6e3c77638723894d5c133bcaec85b442634662f1
34 lines
641 B
CSS
34 lines
641 B
CSS
/*
|
|
|
|
https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3
|
|
|
|
> In quirks mode, the following rules are also expected to apply:
|
|
|
|
*/
|
|
|
|
@namespace url(http://www.w3.org/1999/xhtml);
|
|
|
|
|
|
form { margin-bottom: 1em; }
|
|
|
|
|
|
table {
|
|
font-weight: initial;
|
|
font-style: initial;
|
|
font-variant: initial;
|
|
font-size: initial;
|
|
line-height: initial;
|
|
white-space: initial;
|
|
text-align: initial;
|
|
}
|
|
|
|
|
|
/* FIXME: https://html.spec.whatwg.org/multipage/rendering.html#margin-collapsing-quirks */
|
|
|
|
|
|
input:not([type=image]), textarea { box-sizing: border-box; }
|
|
|
|
|
|
img[align=left i] { margin-right: 3px; }
|
|
img[align=right i] { margin-left: 3px; }
|