Sam Atkins
|
affc8a22ca
LibWeb+WebContent: Convert BrowsingContext to new pixel units
|
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 |
Ben Wiederhake
|
8deced39a8
LibWeb: Resolve cyclic declaration/definitions involving Length
|
2 years ago |
networkException
|
9ff6c1e692
LibWeb: Avoid copying viewport rect when converting length to pixels
|
2 years ago |
Sam Atkins
|
7b4004d682
LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T
|
2 years ago |
Andreas Kling
|
e7370443f2
LibWeb: Make non-finite CSS lengths resolve to "auto"
|
3 years ago |
Simon Wanner
|
206d6ece55
LibGfx: Move other font-related files to LibGfx/Font/
|
3 years ago |
Idan Horowitz
|
086969277e
Everywhere: Run clang-format
|
3 years ago |
Andreas Kling
|
344374588b
LibGfx: Rename FontMetrics => FontPixelMetrics
|
3 years ago |
Andreas Kling
|
0f6dd8c62b
LibGfx: Make Gfx::FontMetrics include the advance of '0' instead of 'M'
|
3 years ago |
Andreas Kling
|
2f7b6af87e
LibGfx: Remove code point parameter from Gfx::Font::Metrics
|
3 years ago |
Andreas Kling
|
88aca4c996
LibWeb: Add fast-path for absolute lengths in Length::to_px()
|
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 |
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
|
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 |
Ali Mohammad Pur
|
9de33629da
AK+Everywhere: Make Variant::visit() respect the Variant's constness
|
3 years ago |
Andreas Kling
|
7c57961c61
LibWeb: Move BrowsingContext into HTML/
|
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 |
Andreas Kling
|
23a08fd35a
LibWeb: Start absolutizing lengths after performing the CSS cascade
|
3 years ago |