Matthew Olsson
|
0487485fb1
LibWeb: Limit length values to 5 decimal places when serializing
|
1 year ago |
Andreas Kling
|
b66033720a
LibWeb: Let Length::to_px(Layout::Node) be inline for absolute lengths
|
1 year ago |
Andreas Kling
|
e7de5cb4d2
LibWeb: Bring CSS `line-height` closer to other engines
|
1 year ago |
Aliaksandr Kalenik
|
2cb0039a13
LibGfx+LibWeb: Produce font cascade list in CSS font matching algorithm
|
1 year ago |
Aliaksandr Kalenik
|
dd7bba66ed
LibWeb: Change viewport ownership from `BrowsingContext` to `Navigable`
|
1 year ago |
Zaggy1024
|
99c90e49b6
LibWeb: Calculate viewport-relative lengths in `CSSPixels`
|
1 year ago |
Zaggy1024
|
607a398917
LibWeb: Store computed CSS font size as `CSSPixels`
|
1 year ago |
MacDue
|
71baa8c31a
LibWeb: Add CSSPixels::nearest_value_for(FloatingPoint)
|
1 year ago |
MacDue
|
360c0eb509
LibWeb: Remove implicit conversion from float and double to CSSPixels
|
1 year ago |
Sam Atkins
|
6bee81cfb6
LibWeb: Make serializing basic CSS types infallible
|
1 year ago |
Sam Atkins
|
1feacd4b52
LibWeb: Use doubles for CSS dimension types
|
1 year ago |
Andi Gallo
|
a426263dee
LibWeb: Remove 3 decimal places rounding hack in Length::percentage_of
|
1 year ago |
Aliaksandr Kalenik
|
147c3b3d97
LibWeb+WebContent: Forbid access to underlying type of CSSPixels
|
2 years ago |
Andreas Kling
|
df8a96ee00
LibWeb: Add a way to resolve calc() values without a layout node
|
2 years ago |
Andreas Kling
|
1a6a4ca7d4
LibWeb: Round lengths to 3 decimals after resolving from percentage
|
2 years ago |
Andreas Kling
|
655d9d1462
LibWeb: Make CSSPixels and Length use 64-bit (double) floating point
|
2 years ago |
Andreas Kling
|
70db40c9b0
LibWeb: Don't include Layout/Node.h from DOM/Element.h
|
2 years ago |
Andreas Kling
|
41d518669e
LibWeb: Remove weird CSS::Length::resolved() API
|
2 years ago |
Sam Atkins
|
28ceeec435
LibWeb: Split `Length::relative_length_to_px()` by type
|
2 years ago |
Sam Atkins
|
d6e5e61ed4
LibWeb: Add even more viewport-based Length units
|
2 years ago |
Sam Atkins
|
091a1ff527
LibWeb: Add *lots* of viewport-based Length units
|
2 years ago |
Sam Atkins
|
0dd585ba7b
LibWeb: Add `ic` and `ric` Length units
|
2 years ago |
Sam Atkins
|
03ed37eb14
LibWeb: Add `cap` and `rcap` Length units
|
2 years ago |
Sam Atkins
|
a8e0fa403a
LibWeb: Add `rex` and `rch` Length units
|
2 years ago |
Sam Atkins
|
0679b4e0b9
LibWeb: Wrap font metrics into a struct
|
2 years ago |
Sam Atkins
|
6ea84a7c87
LibWeb: Sort and group CSS Length units as they are in the spec
|
2 years ago |
Sam Atkins
|
16e3a86393
LibWeb: Make `absolutized_length()` helper a Length method
|
2 years ago |
Sam Atkins
|
53a4a31af2
LibWeb: Remove CalculatedStyleValue from Length
|
2 years ago |
Simon Wanner
|
554c4af90f
LibWeb: Add support for the lh and rlh length units
|
2 years ago |
Andreas Kling
|
a504ac3e2a
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
|
2 years ago |