mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +01:00
First, we define computed::CSSPixelLength which contains a CSSFloat, a pixel value, and then we replace computed::Length with CSSPixelLength. Therefore, the |ComputedValue| of NoCalcLength, AbsoluteLength, FontRelativeLength, ViewportPercentageLength, CharacterWidth, and PhysicalLength is CSSPixelLength. Besides, we drop NonNegativeAu, and replace computed::NonNegativeLength with NonNegative<computed::Length>. (i.e. NonNegative<CSSPixelLength>) |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
Cargo.toml | ||
font.rs | ||
font_cache_thread.rs | ||
font_context.rs | ||
font_template.rs | ||
lib.rs |