Andreas Kling
58b99df16d
LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr
...
It's not safe for this to be a raw pointer, as the child can outlive the
parent.
2021-12-06 19:22:16 +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
d07fcba69b
LibWeb: Implement StyleSheet.ownerNode :^)
2021-03-08 16:03:14 +01:00
Andreas Kling
fefb05f6f3
LibWeb: Split CSS::StyleSheet into StyleSheet and CSSStyleSheet
...
This is a little convoluted but matches the CSSOM specification.
2021-03-07 17:45:15 +01:00
Sviatoslav Peleshko
04d67d0239
LibWeb: Create base class CSSRule for all CSS rules
...
This is a foundation for handling other ("at") CSS rules.
2021-02-28 10:27:32 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00