mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:58:12 +00:00
LibWeb: Move StackingContext and PaintPhase into the Painting namespace
This commit is contained in:
parent
a4d51b3dc2
commit
f0d833a3d7
41 changed files with 105 additions and 103 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <LibWeb/Layout/SVGGraphicsBox.h>
|
||||
#include <LibWeb/Painting/StackingContext.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
|
@ -13,10 +14,10 @@ SVGGraphicsBox::SVGGraphicsBox(DOM::Document& document, SVG::SVGGraphicsElement&
|
|||
{
|
||||
}
|
||||
|
||||
void SVGGraphicsBox::before_children_paint(PaintContext& context, PaintPhase phase)
|
||||
void SVGGraphicsBox::before_children_paint(PaintContext& context, Painting::PaintPhase phase)
|
||||
{
|
||||
SVGBox::before_children_paint(context, phase);
|
||||
if (phase != PaintPhase::Foreground)
|
||||
if (phase != Painting::PaintPhase::Foreground)
|
||||
return;
|
||||
|
||||
auto& graphics_element = verify_cast<SVG::SVGGraphicsElement>(dom_node());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue