mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Use intrinsic_percentage instead of percentage_{width, height}
Follow the terminology from specification.
This commit is contained in:
parent
2f7527b0a4
commit
1f3fca996c
Notes:
sideshowbarker
2024-07-16 18:03:21 +09:00
Author: https://github.com/axgallo
Commit: 1f3fca996c
Pull-request: https://github.com/SerenityOS/serenity/pull/20156
2 changed files with 17 additions and 17 deletions
|
@ -77,8 +77,8 @@ private:
|
|||
CSSPixels min_size { 0 };
|
||||
CSSPixels max_size { 0 };
|
||||
CSSPixels used_width { 0 };
|
||||
bool has_percentage_width { false };
|
||||
double percentage_width { 0 };
|
||||
bool has_intrinsic_percentage { false };
|
||||
double intrinsic_percentage { 0 };
|
||||
// Store whether the column is constrained: https://www.w3.org/TR/css-tables-3/#constrainedness
|
||||
bool is_constrained { false };
|
||||
// Store whether the column has originating cells, defined in https://www.w3.org/TR/css-tables-3/#terminology.
|
||||
|
@ -93,8 +93,8 @@ private:
|
|||
CSSPixels baseline { 0 };
|
||||
CSSPixels min_size { 0 };
|
||||
CSSPixels max_size { 0 };
|
||||
bool has_percentage_height { false };
|
||||
double percentage_height { 0 };
|
||||
bool has_intrinsic_percentage { false };
|
||||
double intrinsic_percentage { 0 };
|
||||
// Store whether the row is constrained: https://www.w3.org/TR/css-tables-3/#constrainedness
|
||||
bool is_constrained { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue