Dan Klishch
|
56d355a15e
LibWeb: Properly round CSSPixels values in device_to_css_rect
|
1 年之前 |
Bastian Neumann
|
7cd489d6aa
LibWeb: Remove early continue in size parsing
|
1 年之前 |
Aliaksandr Kalenik
|
e7eaf3b566
LibWeb: Remove rounding division for CSSPixels
|
1 年之前 |
Bastiaan van der Plaat
|
c069ab1ca0
LibWeb: Refactor int types in WebContentServer to DevicePixels
|
1 年之前 |
timmot
|
da3cfd5bbc
AK+LibWeb: Make clamp_to_int generic over all integrals
|
1 年之前 |
Tim Schumacher
|
a2f60911fe
AK: Rename GenericTraits to DefaultTraits
|
1 年之前 |
Zaggy1024
|
883f44d397
LibWeb: Use `CSSPixels` only when calculating radial gradient sizes
|
1 年之前 |
Zaggy1024
|
fc05cda8cf
LibWeb: Make division of `CSSPixels` by integers create a fraction
|
1 年之前 |
Zaggy1024
|
d792461714
LibWeb: Use `Integral` concept for `CSSPixels` operators
|
1 年之前 |
Sergey Bugaev
|
79022090bf
LibWeb: Add CSSPixels operator overloads for unsigned int
|
1 年之前 |
Zaggy1024
|
98926b487c
LibWeb: Perform rounding when dividing `CSSPixels`
|
1 年之前 |
Zaggy1024
|
bd85e1b30b
LibWeb: Entirely and exactly distribute grids' extra space to tracks
|
1 年之前 |
Zaggy1024
|
34c5043cbe
LibWeb: Use `CSSPixelFraction` to represent aspect ratios
|
1 年之前 |
Zaggy1024
|
8cd1f65507
LibWeb: Add a CSSPixelFraction class to allow comparison of fractions
|
1 年之前 |
MacDue
|
71baa8c31a
LibWeb: Add CSSPixels::nearest_value_for(FloatingPoint)
|
1 年之前 |
MacDue
|
360c0eb509
LibWeb: Remove implicit conversion from float and double to CSSPixels
|
1 年之前 |
Hendiadyoin1
|
b342b4dfb8
LibWeb: Fix a rounding issue on CSSPixels multiplication
|
1 年之前 |
Aliaksandr Kalenik
|
e9a718ff88
LibWeb/Layout: Replace `INFINITY` with `CSSPixels::min()` or `max()`
|
1 年之前 |
Hendiadyoin1
|
ce188c9a9c
LibWeb: Allow direct rouding of CSSPixelRects to CSSPixelRects
|
1 年之前 |
MacDue
|
5f0d3c083f
LibWeb: Allow (explicitly) converting CSSPixels to float and int
|
1 年之前 |
Hendiadyoin1
|
36dcb0ada7
LibWeb: Use int-hash for CSSPixels
|
1 年之前 |
Hendiadyoin1
|
6c341ca985
LibWeb: Implement rounding for PixelUnits
|
1 年之前 |
Hendiadyoin1
|
cc74083f27
LibWeb: Inline and constexpr most PixelUnits methods
|
1 年之前 |
Hendiadyoin1
|
1e5ba09d76
LibWeb: Saturate PixelUnits on creation when needed
|
1 年之前 |
Hendiadyoin1
|
f9fc0505fb
LibWeb: Add propper rounding to PixelUnits::operator*
|
1 年之前 |
Hendiadyoin1
|
618f889486
LibWeb: Add and use convinient `from_raw` helper in PixelUnits
|
1 年之前 |
Aliaksandr Kalenik
|
2bd7d1426b
LibWeb: Remove unused CSSPixels::epsilon()
|
1 年之前 |
Aliaksandr Kalenik
|
bec07d4af7
LibWeb: Use fixed-point saturated arithmetics for CSSPixels
|
1 年之前 |
Aliaksandr Kalenik
|
147c3b3d97
LibWeb+WebContent: Forbid access to underlying type of CSSPixels
|
2 年之前 |
Andreas Kling
|
655d9d1462
LibWeb: Make CSSPixels and Length use 64-bit (double) floating point
|
2 年之前 |