aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/fragment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r--components/layout/fragment.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs
index 4dda58364aa..f90a18a438d 100644
--- a/components/layout/fragment.rs
+++ b/components/layout/fragment.rs
@@ -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,
}