align.rs |
Values for CSS Box Alignment properties
https://drafts.csswg.org/css-align/ |
3309 |
angle.rs |
Computed angles. |
2543 |
animation.rs |
Computed values for properties related to animations and transitions |
2897 |
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 |
7674 |
border.rs |
Computed types for CSS values related to borders. |
2736 |
box.rs |
Computed types for box properties. |
8220 |
color.rs |
Computed color values. |
3308 |
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. |
1510 |
flex.rs |
Computed types for CSS values related to flexbox. |
589 |
font.rs |
Computed values for font properties |
46510 |
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. |
16244 |
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. |
38180 |
list.rs |
`list` computed values. |
502 |
mod.rs |
Computed values. |
34655 |
motion.rs |
Computed types for CSS values that are related to motion path. |
2090 |
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. |
2934 |
position.rs |
CSS handling for the computed value of
[`position`][position] values.
[position]: https://drafts.csswg.org/css-backgrounds-3/#position |
2998 |
ratio.rs |
`<ratio>` computed values. |
3446 |
rect.rs |
Computed types for CSS borders. |
492 |
resolution.rs |
Resolution values:
https://drafts.csswg.org/css-values/#resolution |
1534 |
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. |
5088 |
time.rs |
Computed time values. |
1230 |
transform.rs |
Computed types for CSS values that are related to transformations. |
23514 |
ui.rs |
Computed values for UI properties |
897 |
url.rs |
Common handling for the computed value CSS url() values. |
588 |