Tobias Christiansen
301eb998c6
LibWeb: Improve performance of CSS custom property resolution
...
By memoizing already resolved custom properties in the DOM::Element,
we achieve a notable speed increase when loading SerenityOS on GitHub.
2021-05-29 00:58:07 +04:30
Tobias Christiansen
fd6b04055c
LibWeb: Resolve custom properties
...
The way to get the custom properties is pretty weird and this code is
as far from optimized as it gets but somehow it works :^)
2021-05-28 10:45:38 +01:00
Tobias Christiansen
bf9c5ffb3f
LibWeb: StyleResolver: Keep track of specificity of matched selector
...
This way it gets easier to compare matches.
2021-05-28 10:45:38 +01:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
0af4762662
LibWeb: Rename StyleRule => CSSStyleRule
...
This matches the CSSOM specification.
2021-03-07 17:45:15 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00