mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
LibWeb: Support two-value background-repeat
The background-repeat value may be specified as either one- or two-value identifiers (to be interpreted as horizontal and vertical repeat). This adds two pseudo-properties, background-repeat-x and background-repeat-y, to handle this. One-value identifiers are mapped to two-value in accordance with the spec.
This commit is contained in:
parent
0794d879f3
commit
5de0e0068c
Notes:
sideshowbarker
2024-07-18 20:45:09 +09:00
Author: https://github.com/trflynn89
Commit: 5de0e0068c
Pull-request: https://github.com/SerenityOS/serenity/pull/6148
12 changed files with 152 additions and 35 deletions
|
@ -153,7 +153,7 @@ protected:
|
|||
|
||||
virtual void did_set_rect() { }
|
||||
|
||||
void paint_background_image(PaintContext&, const Gfx::Bitmap&, CSS::Repeat, Gfx::IntRect);
|
||||
void paint_background_image(PaintContext&, const Gfx::Bitmap&, CSS::Repeat, CSS::Repeat, Gfx::IntRect);
|
||||
|
||||
Vector<LineBox> m_line_boxes;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue