mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:05:07 +00:00
LibWeb: Move CSS classes into the Web::CSS namespace
This commit is contained in:
parent
3e389f4cdc
commit
1f008c95b6
100 changed files with 358 additions and 366 deletions
|
@ -186,7 +186,7 @@ void LayoutBox::paint(PaintContext& context, PaintPhase phase)
|
|||
|
||||
auto bgimage = specified_style().property(CSS::PropertyID::BackgroundImage);
|
||||
if (bgimage.has_value() && bgimage.value()->is_image()) {
|
||||
auto& image_value = static_cast<const ImageStyleValue&>(*bgimage.value());
|
||||
auto& image_value = static_cast<const CSS::ImageStyleValue&>(*bgimage.value());
|
||||
if (image_value.bitmap()) {
|
||||
context.painter().draw_tiled_bitmap(enclosing_int_rect(padded_rect), *image_value.bitmap());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue