mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
LibWeb: Add partial implementation of border conflict resolution
Fix handling of border style specified per column as well.
This commit is contained in:
parent
6c2712764d
commit
8090adf268
9 changed files with 282 additions and 16 deletions
|
@ -123,6 +123,8 @@ public:
|
|||
|
||||
bool is_out_of_view(PaintContext&) const;
|
||||
|
||||
void set_override_borders_data(BordersData const& override_borders_data) { m_override_borders_data = override_borders_data; };
|
||||
|
||||
protected:
|
||||
explicit PaintableBox(Layout::Box const&);
|
||||
|
||||
|
@ -161,6 +163,8 @@ private:
|
|||
|
||||
mutable bool m_clipping_overflow { false };
|
||||
Optional<BorderRadiusCornerClipper> mutable m_overflow_corner_radius_clipper;
|
||||
|
||||
Optional<BordersData> m_override_borders_data;
|
||||
};
|
||||
|
||||
class PaintableWithLines final : public PaintableBox {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue