mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Removes duplicate CSS selector matching logic.
Now that DOM/Flow traversals have been refactored out, the `recalc_style_for_subtree` function in `css/matching.rs` can be removed, in lieu of just running the standard `recalc_style_for_node` and `construct_flows` traversals sequentially. Now we no longer have the maintenance headache of duplicating selector matching logic in two places! \o/ r? @pcwalton
This commit is contained in:
parent
56989b8dec
commit
7368d42225
8 changed files with 201 additions and 312 deletions
|
@ -55,6 +55,7 @@ pub mod layout_task;
|
|||
pub mod inline;
|
||||
pub mod model;
|
||||
pub mod parallel;
|
||||
pub mod sequential;
|
||||
pub mod table_wrapper;
|
||||
pub mod table;
|
||||
pub mod table_caption;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue