Name Description Size
align.rs Values for CSS Box Alignment properties https://drafts.csswg.org/css-align/ 3341
angle.rs Computed angles. 2543
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 1543
border.rs Computed types for CSS values related to borders. 2782
box.rs Computed types for box properties. 7766
color.rs Computed color values. 3548
column.rs Computed types for the column properties. 480
counters.rs Computed values for counter properties 992
easing.rs Computed types for CSS Easing functions. 543
effects.rs Computed types for CSS values related to effects. 1510
flex.rs Computed types for CSS values related to flexbox. 589
font.rs Computed values for font properties 30983
image.rs CSS handling for the computed value of [`image`][image]s [image]: https://drafts.csswg.org/css-images/#image-values 5359
length.rs `<length>` computed values, and related ones. 14276
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. 28119
list.rs `list` computed values. 559
mod.rs Computed values. 25315
motion.rs Computed types for CSS values that are related to motion path. 1475
outline.rs Computed values for outline properties 299
percentage.rs Computed percentages. 2276
position.rs CSS handling for the computed value of [`position`][position] values. [position]: https://drafts.csswg.org/css-backgrounds-3/#position 3022
rect.rs Computed types for CSS borders. 492
resolution.rs Resolution values: https://drafts.csswg.org/css-values/#resolution 1402
svg.rs Computed types for SVG properties. 2180
text.rs Computed types for text properties. 7444
time.rs Computed time values. 1138
transform.rs Computed types for CSS values that are related to transformations. 23310
ui.rs Computed values for UI properties 906
url.rs Common handling for the computed value CSS url() values. 685