mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Make box-shadow known throughout the CSS subsystem
This patch spreads box-shadows around: - The Values important to box-shadows are stored in a BoxShadowData struct - StyleProperties knows how to construct such a struct from a BoxShadowStyleValue and a Node knows how to ask for it - CalculatedValues contain BoxShadowData and expose them
This commit is contained in:
parent
36e6f559c5
commit
f1bdaafcf6
4 changed files with 27 additions and 0 deletions
|
@ -62,6 +62,7 @@ public:
|
|||
Optional<CSS::Overflow> overflow_y() const;
|
||||
Optional<CSS::Repeat> background_repeat_x() const;
|
||||
Optional<CSS::Repeat> background_repeat_y() const;
|
||||
Optional<CSS::BoxShadowData> box_shadow() const;
|
||||
|
||||
const Gfx::Font& font() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue