auto merge of #5067 : servo/servo/counters, r=SimonSapin

Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)

Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.

Moved from #4544, because Critic.

Fixes #4544.
This commit is contained in:
bors-servo 2015-03-03 10:42:52 -07:00
commit 5cd6316add
38 changed files with 1662 additions and 511 deletions

View file

@ -172,6 +172,11 @@ fragment=top != ../html/acid2.html acid2_ref.html
== block_formatting_context_containing_floats_a.html block_formatting_context_containing_floats_ref.html
== clear_generated_content_table_a.html clear_generated_content_table_ref.html
== inline_block_border_a.html inline_block_border_ref.html
== counters_simple_a.html counters_simple_ref.html
== counters_nested_a.html counters_nested_ref.html
== quotes_simple_a.html quotes_simple_ref.html
== ol_simple_a.html ol_simple_ref.html
== ol_japanese_iroha_a.html ol_japanese_iroha_ref.html
== vertical_align_top_a.html vertical_align_top_ref.html
== vertical_align_bottom_a.html vertical_align_bottom_ref.html
== vertical_align_top_span_a.html vertical_align_top_span_ref.html