stelar7
55446172cb
LibWeb: Add selector support to the new CSSParser
...
This is stolen from the old parser, but it seems to parse fine :^)
2021-04-30 08:52:36 +02: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
Nicholas-Baron
73dd293ec4
Everywhere: Add -Wdouble-promotion
warning
...
This warning informs of float-to-double conversions. The best solution
seems to be to do math *either* in 32-bit *or* in 64-bit, and only to
cross over when absolutely necessary.
2021-04-16 19:01:54 +02:00
Andreas Kling
1d065aa51b
LibWeb: Support the :last-of-type CSS selector :^)
2021-04-06 13:06:42 +02:00
Andreas Kling
0eb9a9dd13
LibWeb: Support the :first-of-type CSS selector :^)
2021-04-06 13:06:42 +02: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
Andreas Kling
0af4762662
LibWeb: Rename StyleRule => CSSStyleRule
...
This matches the CSSOM specification.
2021-03-07 17:45:15 +01:00
Sviatoslav Peleshko
54617e1a91
LibWeb: Added simple parsing for (at)import rules
...
For now, the parsing is very crude, and parses only the document url.
The meta queries for the import are ignored.
2021-02-28 10:27:32 +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
AnotherTest
c989e55195
LibWeb: Fix a tiny appendff() format issue
...
This would've just left the colour on for a few characters, nothing _too_ bad.
2021-02-23 13:59:33 +01:00
Andreas Kling
2d64ba7b9d
LibWeb: Convert dbgprintf() => dbgln()
2021-02-17 15:59:13 +01:00
Andreas Kling
e4e325ff61
LibWeb: Include shadow DOM subtrees in DOM dumps
2021-02-10 19:06:20 +01:00
Andreas Kling
bbce1ab1c1
LibWeb: Use the DOM::Node::node_name() a bit more in dumps
2021-02-10 17:15:16 +01:00
Andreas Kling
140463e833
LibWeb: Parse "display: flex" and create BlockBox layout nodes for them
...
I'm not 100% sure that BlockBox is the right layout node for flex
containers, but it's the most obviously fitting one we already have.
2021-01-18 20:20:00 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00