mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.
MozReview-Commit-ID: 7wH5XcILVmX
This commit is contained in:
parent
e1eff691f8
commit
992f7dddf4
35 changed files with 1465 additions and 901 deletions
|
@ -38,6 +38,14 @@ pub struct SharedStyleContext {
|
|||
/// Screen sized changed?
|
||||
pub screen_size_changed: bool,
|
||||
|
||||
/// Skip the root during traversal?
|
||||
///
|
||||
/// This is used in Gecko to style newly-appended children without restyling
|
||||
/// the parent. It would be cleaner to add an API to allow us to enqueue the
|
||||
/// children directly from glue.rs.
|
||||
#[cfg(feature = "gecko")]
|
||||
pub skip_root: bool,
|
||||
|
||||
/// The CSS selector stylist.
|
||||
pub stylist: Arc<Stylist>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue