Name Description Size Coverage
align.rs Values for CSS Box Alignment properties https://drafts.csswg.org/css-align/ 3259 -
angle.rs Computed angles. 2706 -
animation.rs Computed values for properties related to animations and transitions 2945 -
background.rs Computed types for CSS values related to backgrounds. 615 -
basic_shape.rs CSS handling for the computed value of [`basic-shape`][basic-shape]s [basic-shape]: https://drafts.csswg.org/css-shapes/#typedef-basic-shape 10144 -
border.rs Computed types for CSS values related to borders. 5027 -
box.rs Computed types for box properties. 7805 -
color.rs Computed color values. 4888 -
column.rs Computed types for the column properties. 465 -
counters.rs Computed values for counter properties 1093 -
easing.rs Computed types for CSS Easing functions. 4476 -
effects.rs Computed types for CSS values related to effects. 1352 -
flex.rs Computed types for CSS values related to flexbox. 589 -
font.rs Computed values for font properties 47983 -
image.rs CSS handling for the computed value of [`image`][image]s [image]: https://drafts.csswg.org/css-images/#image-values 9695 -
length.rs `<length>` computed values, and related ones. 18333 -
length_percentage.rs `<length-percentage>` computed values, and related ones. The over-all design is a tagged pointer, with the lower bits of the pointer being non-zero if it is a non-calc value. It is expected to take 64 bits both in x86 and x86-64. This is implemented as a `union`, with 4 different variants: * The length and percentage variants have a { tag, f32 } (effectively) layout. The tag has to overlap with the lower 2 bits of the calc variant. * The `calc()` variant is a { tag, pointer } in x86 (so same as the others), or just a { pointer } in x86-64 (so that the two bits of the tag can be obtained from the lower bits of the pointer). * There's a `tag` variant just to make clear when only the tag is intended to be read. Note that the tag needs to be masked always by `TAG_MASK`, to deal with the pointer variant in x86-64. The assertions in the constructor methods ensure that the tag getter matches our expectations. 45514 -
list.rs `list` computed values. 502 -
mod.rs Computed values. 34912 -
motion.rs Computed types for CSS values that are related to motion path. 2126 -
outline.rs Computed values for outline properties 299 -
page.rs Computed @page at-rule properties and named-page style properties 2727 -
percentage.rs Computed percentages. 2562 -
position.rs CSS handling for the computed value of [`position`][position] values. [position]: https://drafts.csswg.org/css-backgrounds-3/#position 9929 -
ratio.rs `<ratio>` computed values. 3470 -
rect.rs Computed types for CSS borders. 492 -
resolution.rs Resolution values: https://drafts.csswg.org/css-values/#resolution 1557 -
svg.rs Computed types for SVG properties. 2097 -
table.rs Computed types for CSS values related to tables. 307 -
text.rs Computed types for text properties. 4892 -
time.rs Computed time values. 1253 -
transform.rs Computed types for CSS values that are related to transformations. 23514 -
ui.rs Computed values for UI properties 886 -
url.rs Common handling for the computed value CSS url() values. 548 -