diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-08 17:42:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-08 18:01:43 +0100 |
commit | bb67136fd92e1bf777f51816bdb73ff0a0001f4c (patch) | |
tree | 89f0c45bd6b986ba424dc35012d4b29b6fc6f06c /src/css | |
parent | 250cbcfaf6cb57b152659fb9e3c195ef4938adae (diff) | |
download | chawan-bb67136fd92e1bf777f51816bdb73ff0a0001f4c.tar.gz |
buffer: load external resources when they are attached
We no longer have to wait for the entire document to be loaded to start loading CSS.
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/cascade.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim index 0168e940..4429dee4 100644 --- a/src/css/cascade.nim +++ b/src/css/cascade.nim @@ -79,6 +79,8 @@ func applies*(mqlist: MediaQueryList, window: Window): bool = return true return false +appliesFwdDecl = applies + type ToSorts = array[PseudoElem, seq[(int, seq[CSSDeclaration])]] |