1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

LibWeb: Split BorderConflictFinder::conflicting_edges method

Make it clearer which edges and elements are considered at each step.
This commit is contained in:
Andi Gallo 2023-07-19 03:07:39 +00:00 committed by Andreas Kling
parent a7166eb103
commit 26c20e3da1
2 changed files with 54 additions and 3 deletions

View file

@ -177,6 +177,12 @@ private:
void collect_conflicting_col_elements();
void collect_conflicting_row_group_elements();
void collect_cell_conflicting_edges(Vector<ConflictingEdge>&, Cell const&, ConflictingSide) const;
void collect_row_conflicting_edges(Vector<ConflictingEdge>&, Cell const&, ConflictingSide) const;
void collect_row_group_conflicting_edges(Vector<ConflictingEdge>&, Cell const&, ConflictingSide) const;
void collect_column_group_conflicting_edges(Vector<ConflictingEdge>&, Cell const&, ConflictingSide) const;
void collect_table_box_conflicting_edges(Vector<ConflictingEdge>&, Cell const&, ConflictingSide) const;
struct RowGroupInfo {
Node const* row_group;
size_t start_index;