mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibWeb: Rename LayoutStyle => CSS::ComputedValues
This object represents the CSS "computed values" so let's call it that.
This commit is contained in:
parent
edeec2974f
commit
5721b2a3da
14 changed files with 160 additions and 160 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
namespace Web::Painting {
|
||||
|
||||
void paint_border(PaintContext& context, BorderEdge edge, const Gfx::FloatRect& rect, const LayoutStyle& style)
|
||||
void paint_border(PaintContext& context, BorderEdge edge, const Gfx::FloatRect& rect, const CSS::ComputedValues& style)
|
||||
{
|
||||
const auto& border_data = [&] {
|
||||
switch (edge) {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGfx/Forward.h>
|
||||
#include <LibWeb/Layout/LayoutStyle.h>
|
||||
#include <LibWeb/CSS/ComputedValues.h>
|
||||
|
||||
namespace Web::Painting {
|
||||
|
||||
|
@ -37,6 +37,6 @@ enum class BorderEdge {
|
|||
Bottom,
|
||||
Left,
|
||||
};
|
||||
void paint_border(PaintContext&, BorderEdge, const Gfx::FloatRect&, const LayoutStyle&);
|
||||
void paint_border(PaintContext&, BorderEdge, const Gfx::FloatRect&, const CSS::ComputedValues&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue