Andreas Kling
9290117b77
LibHTML: Let's put debug output on the debugger stream
2019-10-03 10:25:34 +02:00
Andreas Kling
a5e5a3fab7
LibHTML: Implement basic support for inline style attributes
...
You can now style elements with inline styles:
<div style="color: #ff0000">This is red!</div>
Pretty neat :^)
2019-09-30 20:25:33 +02:00
Andreas Kling
8d797fc62e
LibHTML: Fix incorrect CSS object model
...
A StyleRule has a StyleDeclaration which has many StyleProperty. :^)
2019-09-30 20:06:17 +02:00
Andreas Kling
8271ad40a5
LibHTML: Implement basic support for "text-decoration: underline"
2019-09-28 22:57:46 +02:00
Andreas Kling
62cbaa74f3
LibHTML: Respect the CSS "color" property for text
...
Also remove the color values from the ComputedStyle object and get them
via StyleProperties instead.
At the moment, we only handle colors that Color::from_string() parses.
2019-09-28 22:57:46 +02:00
Sergey Bugaev
6491493e26
LibHTML: Hide debugging output unless HTML_DEBUG is defined
2019-09-28 18:29:42 +02:00
Sergey Bugaev
841ae44392
LibHTML: Implement basic style inheritance
2019-09-28 18:29:42 +02:00
Sergey Bugaev
fd0aa5dd43
LibHTML: Get rid of the style tree
...
We now create a layout tree directly from the DOM tree.
This way we don't actually lose text nodes ^)
2019-09-28 18:29:42 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00