mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibHTML: Implement rendering
This commit is contained in:
parent
93003bfda1
commit
235dee8c42
7 changed files with 62 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <LibDraw/Rect.h>
|
||||
#include <LibHTML/CSS/StyleProperties.h>
|
||||
#include <LibHTML/Layout/ComputedStyle.h>
|
||||
#include <LibHTML/RenderingContext.h>
|
||||
#include <LibHTML/TreeNode.h>
|
||||
|
||||
class Node;
|
||||
|
@ -44,6 +45,7 @@ public:
|
|||
virtual bool is_inline() const { return false; }
|
||||
|
||||
virtual void layout();
|
||||
virtual void render(RenderingContext&);
|
||||
|
||||
const LayoutBlock* containing_block() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue