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
|
@ -666,7 +666,7 @@ pub struct ScannedTextFragmentInfo {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
flags ScannedTextFlags: u8 {
|
||||
pub flags ScannedTextFlags: u8 {
|
||||
/// Whether a line break is required after this fragment if wrapping on newlines (e.g. if
|
||||
/// `white-space: pre` is in effect).
|
||||
const REQUIRES_LINE_BREAK_AFTERWARD_IF_WRAPPING_ON_NEWLINES = 0x01,
|
||||
|
@ -2707,7 +2707,7 @@ impl Overflow {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
flags FragmentFlags: u8 {
|
||||
pub flags FragmentFlags: u8 {
|
||||
/// Whether this fragment has a layer.
|
||||
const HAS_LAYER = 0x01,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue