mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Split layout/background.rs file
Have background, border and gradient modules for calculation functions. Use shorter names for functions that are qualified by the module name like `border::radii`. Use push_item and push_iter to add items to WebRender.
This commit is contained in:
parent
2304f02123
commit
2ff330a5c9
7 changed files with 577 additions and 658 deletions
|
@ -15,7 +15,9 @@ pub use self::conversions::ToLayout;
|
|||
pub use self::webrender_helpers::WebRenderDisplayListConverter;
|
||||
|
||||
mod background;
|
||||
mod border;
|
||||
mod builder;
|
||||
mod conversions;
|
||||
mod gradient;
|
||||
pub mod items;
|
||||
mod webrender_helpers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue