Name Description Size
align.rs Values for CSS Box Alignment properties https://drafts.csswg.org/css-align/ 3341
angle.rs Computed angles. 2543
animation.rs Computed values for properties related to animations and transitions 2354
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 1476
border.rs Computed types for CSS values related to borders. 2946
box.rs Computed types for box properties. 11578
color.rs Computed color values. 3154
column.rs Computed types for the column properties. 480
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. 1510
flex.rs Computed types for CSS values related to flexbox. 589
font.rs Computed values for font properties 45986
image.rs CSS handling for the computed value of [`image`][image]s [image]: https://drafts.csswg.org/css-images/#image-values 7628
length.rs `<length>` computed values, and related ones. 14957
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. 34624
list.rs `list` computed values. 502
mod.rs Computed values. 33480
motion.rs Computed types for CSS values that are related to motion path. 2069
outline.rs Computed values for outline properties 299
page.rs Computed @page at-rule properties and named-page style properties 2695
percentage.rs Computed percentages. 2896
position.rs CSS handling for the computed value of [`position`][position] values. [position]: https://drafts.csswg.org/css-backgrounds-3/#position 2464
ratio.rs `<ratio>` computed values. 4125
rect.rs Computed types for CSS borders. 492
resolution.rs Resolution values: https://drafts.csswg.org/css-values/#resolution 1525
svg.rs Computed types for SVG properties. 2083
table.rs Computed types for CSS values related to tables. 307
text.rs Computed types for text properties. 7614
time.rs Computed time values. 1141
transform.rs Computed types for CSS values that are related to transformations. 23514
ui.rs Computed values for UI properties 846
url.rs Common handling for the computed value CSS url() values. 588