mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Upgrade to bitflags 0.6.0 and selectors 0.5.6
Types generated by `bitflags!` are now private by default. This PR marks them `pub` where necessary.
This commit is contained in:
parent
d3f55fbf60
commit
1e23d90631
29 changed files with 77 additions and 90 deletions
|
@ -11,7 +11,7 @@ use style::properties::{ComputedValues, ServoComputedValues};
|
|||
|
||||
bitflags! {
|
||||
#[doc = "Individual layout actions that may be necessary after restyling."]
|
||||
flags RestyleDamage: u8 {
|
||||
pub flags RestyleDamage: u8 {
|
||||
#[doc = "Repaint the node itself."]
|
||||
#[doc = "Currently unused; need to decide how this propagates."]
|
||||
const REPAINT = 0x01,
|
||||
|
@ -45,7 +45,7 @@ bitflags! {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
flags SpecialRestyleDamage: u8 {
|
||||
pub flags SpecialRestyleDamage: u8 {
|
||||
#[doc = "If this flag is set, we need to reflow the entire document. This is more or less a \
|
||||
temporary hack to deal with cases that we don't handle incrementally yet."]
|
||||
const REFLOW_ENTIRE_DOCUMENT = 0x01,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue