mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -31,7 +31,7 @@ xml5ever = {version = "0.1.2", features = ["unstable"]}
|
|||
gfx_traits = {path = "../gfx_traits"}
|
||||
webrender_traits = {git = "https://github.com/servo/webrender_traits"}
|
||||
app_units = {version = "0.2.3", features = ["plugins"]}
|
||||
bitflags = "0.3"
|
||||
bitflags = "0.6.0"
|
||||
caseless = "0.1.0"
|
||||
cssparser = {version = "0.5.4", features = ["heap_size", "serde-serialization"]}
|
||||
encoding = "0.2"
|
||||
|
|
|
@ -131,7 +131,7 @@ pub struct Node {
|
|||
bitflags! {
|
||||
#[doc = "Flags for node items."]
|
||||
#[derive(JSTraceable, HeapSizeOf)]
|
||||
flags NodeFlags: u8 {
|
||||
pub flags NodeFlags: u8 {
|
||||
#[doc = "Specifies whether this node is in a document."]
|
||||
const IS_IN_DOC = 0x01,
|
||||
#[doc = "Specifies whether this node _must_ be reflowed regardless of style differences."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue