servo/components/layout
Matt Brubeck 6c9524b687 Implement background-position keyword values
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."
2014-09-16 10:24:31 -07:00
..
css Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00
block.rs Implement percentage heights for block flows 2014-09-16 09:02:01 -07:00
Cargo.toml Move link rel=stylesheet fetching to layout task 2014-09-16 07:12:01 -07:00
construct.rs Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00
context.rs Cargoify servo 2014-09-08 20:21:42 -06:00
extra.rs Cargoify servo 2014-09-08 20:21:42 -06:00
floats.rs Cargoify servo 2014-09-08 20:21:42 -06:00
flow.rs Fix layout of Create Account / Login when rendering Wikipedia. 2014-09-10 13:51:42 +10:00
flow_list.rs Cargoify servo 2014-09-08 20:21:42 -06:00
flow_ref.rs Cargoify servo 2014-09-08 20:21:42 -06:00
fragment.rs Implement background-position keyword values 2014-09-16 10:24:31 -07:00
incremental.rs Cargoify servo 2014-09-08 20:21:42 -06:00
inline.rs Implement basic support for display: inline-block. 2014-09-13 07:13:42 +10:00
layout_debug.rs Cargoify servo 2014-09-08 20:21:42 -06:00
layout_task.rs Move link rel=stylesheet fetching to layout task 2014-09-16 07:12:01 -07:00
lib.rs Move link rel=stylesheet fetching to layout task 2014-09-16 07:12:01 -07:00
model.rs Cargoify servo 2014-09-08 20:21:42 -06:00
parallel.rs Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00
table.rs Implement generated_containing_block_rect for TableFlow. Fixes #3337. 2014-09-15 15:39:58 +10:00
table_caption.rs Cargoify servo 2014-09-08 20:21:42 -06:00
table_cell.rs Cargoify servo 2014-09-08 20:21:42 -06:00
table_colgroup.rs Cargoify servo 2014-09-08 20:21:42 -06:00
table_row.rs Cargoify servo 2014-09-08 20:21:42 -06:00
table_rowgroup.rs Cargoify servo 2014-09-08 20:21:42 -06:00
table_wrapper.rs Cargoify servo 2014-09-08 20:21:42 -06:00
text.rs Cargoify servo 2014-09-08 20:21:42 -06:00
util.rs Cargoify servo 2014-09-08 20:21:42 -06:00
wrapper.rs Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00