Simon Wanner
|
554c4af90f
LibWeb: Add support for the lh and rlh length units
|
2 years ago |
Sam Atkins
|
9e735cc02e
LibWeb: Remove unused includes for DeprecatedString
|
2 years ago |
martinfalisse
|
ce0f41b9fb
LibWeb+WebContent: Use new String class in CSS::StyleValue
|
2 years ago |
Sam Atkins
|
4084c66ad2
LibWeb: Use CSS Pixels for viewport rects
|
2 years ago |
Sam Atkins
|
8cc0bdf777
LibWeb: Resolve Lengths to CSSPixels
|
2 years ago |
Sam Atkins
|
7d40e3eb0d
LibWeb: Replace all px Length creation with Length::make_px(CSSPixels)
|
2 years ago |
Sam Atkins
|
56422e37e0
LibWeb: Allow creating Lengths from CSSPixels
|
2 years ago |
Linus Groh
|
57dc179b1f
Everywhere: Rename to_{string => deprecated_string}() where applicable
|
2 years ago |
Linus Groh
|
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
|
2 years ago |
Daniel Bertalan
|
4296425bd8
Everywhere: Remove redundant inequality comparison operators
|
2 years ago |
Ben Wiederhake
|
8deced39a8
LibWeb: Resolve cyclic declaration/definitions involving Length
|
2 years ago |
Sam Atkins
|
7b4004d682
LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T
|
2 years ago |
Idan Horowitz
|
086969277e
Everywhere: Run clang-format
|
3 years ago |
Andreas Kling
|
344374588b
LibGfx: Rename FontMetrics => FontPixelMetrics
|
3 years ago |
Sam Atkins
|
f76a541819
LibWeb: Move length-unit-from-string code into Length
|
3 years ago |
Sam Atkins
|
a07fed4e53
LibWeb: Account for `Calculated` in Length methods
|
3 years ago |
Andreas Kling
|
c61747fb2a
LibWeb: Respect font-size specified by CSS in "em" length calculations
|
3 years ago |
Andreas Kling
|
bfe69e9d0d
LibWeb: Cache and reuse some very common StyleValue objects
|
3 years ago |
Sam Atkins
|
356d8bcfe8
LibWeb: Remove Length::Type::Undefined! :^)
|
3 years ago |
Sam Atkins
|
6df3f9920d
LibWeb: Calculate calc() lengths in to_px()
|
3 years ago |
Sam Atkins
|
67066c5140
LibWeb: Remove fallback value from Length::resolved()
|
3 years ago |
Sam Atkins
|
ce0a516e59
LibWeb: Replace Length::set_calculated_style() with ::make_calculated()
|
3 years ago |
Sam Atkins
|
db04b5687d
LibWeb: Move calc()-resolution code from Length to CalculatedStyleValue
|
3 years ago |
Sam Atkins
|
b34950a825
LibWeb: Add Formatters for Length, Percentage and LengthPercentage
|
3 years ago |
Sam Atkins
|
bfcbab0dcf
LibWeb: Remove reference_for_percent parameter from Length::resolved()
|
3 years ago |
Sam Atkins
|
cff44831a8
LibWeb: Remove Length::Type::Percentage :^)
|
3 years ago |
Sam Atkins
|
01b57fa8b7
LibWeb: Add CSS::Percentage, PercentageOr and LengthPercentage types
|
3 years ago |
Andreas Kling
|
d413d0557d
LibWeb: Remove unused CSS::Length::relative_length_to_px(Layout::Node)
|
3 years ago |
Ben Wiederhake
|
21ba485fd3
LibWeb: Resolve cyclic dependency: Length and CalculatedStyleValue
|
3 years ago |
Sam Atkins
|
f354fd72f1
LibWeb: Split Length::absolute_length_to_px() out from to_px()
|
3 years ago |