blob: 21f31c945b75bb0e5c84876c934753c17037145a (
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
|
Title: Implement support for CSS variables
Author: rodarima
Created: Fri, 03 May 2024 23:18:41 +0000
State: open
Websites often use variables to store CSS values that have a large impact in how the page is rendered. As we simply ignore all variables, pages don't layout properly even if we support most of the underlying CSS properties.
Example for https://gwern.net/search where most CSS rules use variables:
```CSS
...
body {
max-width: var(--GW-body-max-width);
padding: 0 var(--GW-body-side-padding);
margin: 0 auto;
}
...
```
This is how is rendered in Firefox without JS enabled:

But it looks like this in Dillo:

|