diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-18 18:57:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-18 18:57:35 +0200 |
commit | cfab53903f0f50a1ccf7ccf390306a7a58ec1353 (patch) | |
tree | f4bf6f6035fd2c29b705c23cb408d927f132b10e /Libraries/LibWeb/Layout/LayoutListItemMarker.h | |
parent | abe811104f0666309dfbd834f7bc9f74988888a3 (diff) | |
download | serenity-cfab53903f0f50a1ccf7ccf390306a7a58ec1353.zip |
LibWeb: Separate layout tree rendering into phases
CSS defines a very specific paint order. This patch starts steering us
towards respecting that by introducing the PaintPhase enum with values:
- Background
- Border
- Foreground
- Overlay (internal overlays used by inspector)
Basically, to get the right visual result, we have to render the page
multiple times, going one phase at a time.
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutListItemMarker.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutListItemMarker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutListItemMarker.h b/Libraries/LibWeb/Layout/LayoutListItemMarker.h index d2fefaa4c0..712702ea90 100644 --- a/Libraries/LibWeb/Layout/LayoutListItemMarker.h +++ b/Libraries/LibWeb/Layout/LayoutListItemMarker.h @@ -35,7 +35,7 @@ public: LayoutListItemMarker(); virtual ~LayoutListItemMarker() override; - virtual void render(RenderingContext&) override; + virtual void render(RenderingContext&, PaintPhase) override; private: virtual const char* class_name() const override { return "LayoutListItemMarker"; } |