summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/QuirksMode.css40
1 files changed, 39 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/QuirksMode.css b/Userland/Libraries/LibWeb/CSS/QuirksMode.css
index 8e1aeb392b..ab19bd4444 100644
--- a/Userland/Libraries/LibWeb/CSS/QuirksMode.css
+++ b/Userland/Libraries/LibWeb/CSS/QuirksMode.css
@@ -1,3 +1,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 {
- text-align: left;
+ 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;
}