summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/QuirksMode.css
blob: ab19bd4444b9a5febd32eec4039856e39ec2fdf6 (plain)
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
34
35
36
37
38
39
40
41
/* 15.3.3 Flow content
 * https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3
 */

form {
    margin-bottom: 1em;
}

/* 15.3.8 Tables
 * https://html.spec.whatwg.org/multipage/rendering.html#tables-2
 */

table {
    font-weight: initial;
    font-style: initial;
    font-variant: initial;
    font-size: initial;
    line-height: initial;
    white-space: initial;
    text-align: initial;
}

/* 15.3.10 Form controls
 * https://html.spec.whatwg.org/multipage/rendering.html#form-controls
 */

input:not([type=image i]), textarea {
    box-sizing: border-box;
}

/* 15.4.2 Images
 * https://html.spec.whatwg.org/multipage/rendering.html#images-3
 */

img[align=left i] {
    margin-right: 3px;
}

img[align=right i] {
    margin-left: 3px;
}