diff options
author | bptato <nincsnevem662@gmail.com> | 2022-11-25 18:42:27 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-11-25 18:42:27 +0100 |
commit | 7ab7f28fdefe503fdde53ba9e253e308cb06b44f (patch) | |
tree | cd4cc561061c673999f9e8ecf1063a0664ba4dae /res | |
parent | d205ef228866cad35891ca96cacae547c02fd4ae (diff) | |
download | chawan-7ab7f28fdefe503fdde53ba9e253e308cb06b44f.tar.gz |
Add some quirks mode rules + presentational hints
Only as a POC for now.
Diffstat (limited to 'res')
-rw-r--r-- | res/quirk.css | 10 | ||||
-rw-r--r-- | res/ua.css | 32 |
2 files changed, 30 insertions, 12 deletions
diff --git a/res/quirk.css b/res/quirk.css new file mode 100644 index 00000000..0515f028 --- /dev/null +++ b/res/quirk.css @@ -0,0 +1,10 @@ + +table { + font-weight: initial; + font-style: initial; + font-variant: initial; + font-size: initial; + line-height: initial; + white-space: initial; + text-align: initial; +} diff --git a/res/ua.css b/res/ua.css index 920232d7..3c2b4daa 100644 --- a/res/ua.css +++ b/res/ua.css @@ -46,6 +46,26 @@ colgroup { display: table-column-group; } +tr { + display: table-row; +} + +col { + display: table-column; +} + +th { + display: table-cell; + font-weight: bold; + vertical-align: inherit; +} + +td { + display: table-cell; + text-align: unset; + vertical-align: inherit; +} + input { margin-right: 1ch; white-space: pre; @@ -92,18 +112,6 @@ input:is([type="submit"], [type="button"], [type="reset"])::after { color: red; } -tr { - display: table-row; -} - -col { - display: table-column; -} - -th, td { - display: table-cell; -} - li { display: list-item; } |