1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 03:35:09 +00:00
Commit graph

13 commits

Author SHA1 Message Date
Andreas Kling
2b4eea5a50 LibHTML: Start fleshing out a StyleResolver class.
This will be responsible for matching selectors and creating LayoutStyle
objects for the document and its elements.
2019-06-27 17:47:59 +02:00
Andreas Kling
7cc9ce8380 LibHTML: Use NonnullRefPtrVector in LibHTML. 2019-06-27 12:16:20 +02:00
Andreas Kling
7a3f59ae3f LibHTML: Add a StyledNode class.
I'd like to try doing DOM -> style tree -> layout tree. I'm not exactly sure
how it's gonna work, but we'll figure it out as we go.
2019-06-27 08:37:47 +02:00
Andreas Kling
6469d7f043 LibHTML: Flesh out the code to dump a StyleSheet object graph. 2019-06-25 06:31:47 +02:00
Andreas Kling
4573eb226e LibHTML: Implement enough of the CSS parser to parse the default stylesheet. 2019-06-22 21:48:56 +02:00
Andreas Kling
ae8eff55a7 LibHTML: Some initial works towards a simple CSS parser. 2019-06-22 09:27:39 +02:00
Andreas Kling
891e668e35 LibHTML: Add an empty CSS parser. 2019-06-21 20:55:41 +02:00
Andreas Kling
85d71024f7 LibHTML: Add a basic default UA stylesheet.
We can't parse this yet, but we have to start somewhere. :^)
2019-06-21 20:27:11 +02:00
Andreas Kling
02e02ca3a5 LibHTML: More work on the CSS object model. 2019-06-21 19:19:49 +02:00
Andreas Kling
d343fb2429 AK: Rename Retainable.h => RefCounted.h. 2019-06-21 18:58:45 +02:00
Andreas Kling
90b1354688 AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr. 2019-06-21 18:37:47 +02:00
Andreas Kling
77b9fa89dd AK: Rename Retainable => RefCounted.
(And various related renames that go along with it.)
2019-06-21 15:30:03 +02:00
Andreas Kling
d99b1a9ea0 LibHTML: Add the outline of a CSS stylesheet object graph. 2019-06-20 23:25:25 +02:00