mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Also fixes calculation of background-position percentages: Rather than multiplying the container size by a percent and aligning the top left of the image at the resulting width, we also need to subtract a corresponding percent of the image size, per http://dev.w3.org/csswg/css2/colors.html#propdef-background-position "A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of the padding box. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the padding box." |
||
---|---|---|
.. | ||
css | ||
block.rs | ||
Cargo.toml | ||
construct.rs | ||
context.rs | ||
extra.rs | ||
floats.rs | ||
flow.rs | ||
flow_list.rs | ||
flow_ref.rs | ||
fragment.rs | ||
incremental.rs | ||
inline.rs | ||
layout_debug.rs | ||
layout_task.rs | ||
lib.rs | ||
model.rs | ||
parallel.rs | ||
table.rs | ||
table_caption.rs | ||
table_cell.rs | ||
table_colgroup.rs | ||
table_row.rs | ||
table_rowgroup.rs | ||
table_wrapper.rs | ||
text.rs | ||
util.rs | ||
wrapper.rs |