1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00
Commit graph

18 commits

Author SHA1 Message Date
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
550b0b062b AK: Rename RetainPtr.h => RefPtr.h, Retained.h => NonnullRefPtr.h. 2019-06-21 18:45:59 +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
Andreas Kling
2e2b97dc8a LibHTML: Add layout() overrides for LayoutText and LayoutBlock. 2019-06-20 23:00:26 +02:00
Andreas Kling
0db2f3cbe6 LibHTML: Add a Frame class, start fleshing out recursive layout.
Layout is initiated from Frame::layout(). It makes the document's layout
node as wide as the frame, and then we'll take it from there.
2019-06-16 21:35:03 +02:00
Andreas Kling
e3d3e431dc LibHTML: Add a LayoutStyle object (computed style for a LayoutNode.) 2019-06-16 13:44:09 +02:00
Andreas Kling
fec098b5cd LibHTML: Give LayoutNodes a rect.
Also improve the layout tree dump format somewhat.
2019-06-16 12:26:24 +02:00
Andreas Kling
1f51c2b7da LibHTML: Create some subdirectories. 2019-06-15 23:41:15 +02:00
Andreas Kling
0522a8f71c LibHTML: Collapse all-whitespace LayoutText into a single ' ' char. 2019-06-15 23:18:00 +02:00
Andreas Kling
8a0e21b22b LibHTML: Start fleshing out a basic layout tree. 2019-06-15 22:49:44 +02:00
Andreas Kling
f8a86b5164 LibHTML: Basic element attribute parsing. 2019-06-15 21:08:36 +02:00
Andreas Kling
581d6b00c8 LibHTML: Start working on a very simplified HTML parser. 2019-06-15 20:21:57 +02:00
Andreas Kling
a67e823838 LibHTML: Start working on a simple HTML library.
I'd like to have rich text, and we might as well use HTML for that. :^)
2019-06-15 18:55:47 +02:00