aboutsummaryrefslogtreecommitdiffstats
path: root/resources/quirks-mode.css
blob: 4ba71bb6392077f6fe247c5828d618fb5fe668cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*

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; }