mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
IFrame geometry changes and object representation changes directly selected style invalidation reasons from their HTML element classes. Move those mappings into a new CSS::Invalidation::EmbeddedContentInvalidator. The HTML elements continue to own their loading, representation, and layout-tree side effects. CSS invalidation now owns the style dirtiness associated with those embedded-content changes.
21 lines
351 B
C++
21 lines
351 B
C++
/*
|
|
* Copyright (c) 2026-present, the Ladybird developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Web::DOM {
|
|
|
|
class Element;
|
|
|
|
}
|
|
|
|
namespace Web::CSS::Invalidation {
|
|
|
|
void invalidate_style_after_embedded_content_geometry_change(DOM::Element&);
|
|
void invalidate_style_after_object_representation_change(DOM::Element&);
|
|
|
|
}
|