mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1
§ 12.3-12.5. 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.
This commit is contained in:
parent
2df4dd9e09
commit
f9cdd05d58
39 changed files with 1704 additions and 537 deletions
|
@ -67,7 +67,9 @@ pub mod flow;
|
|||
pub mod flow_list;
|
||||
pub mod flow_ref;
|
||||
pub mod fragment;
|
||||
pub mod generated_content;
|
||||
pub mod layout_task;
|
||||
pub mod incremental;
|
||||
pub mod inline;
|
||||
pub mod list_item;
|
||||
pub mod model;
|
||||
|
@ -83,7 +85,6 @@ pub mod table_row;
|
|||
pub mod table_cell;
|
||||
pub mod text;
|
||||
pub mod traversal;
|
||||
pub mod incremental;
|
||||
pub mod wrapper;
|
||||
|
||||
pub mod css {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue