mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Factors out DOM traversal, keeping the code in parallel
free of traversal-specific logic.
DOM traversals and Flow traversals look very similar. This patch unifies them with the preorder/postorder pattern. Hopefully, it also opens the door for writing the traversal code only once, instead of the duplication we have today.
This commit is contained in:
parent
bfb81a5d10
commit
24bff2416b
5 changed files with 501 additions and 403 deletions
|
@ -62,6 +62,7 @@ pub mod table_rowgroup;
|
|||
pub mod table_row;
|
||||
pub mod table_cell;
|
||||
pub mod text;
|
||||
pub mod traversal;
|
||||
pub mod util;
|
||||
pub mod incremental;
|
||||
pub mod wrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue