mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Also move page-break-inside outside of mako.
Differential Revision: https://phabricator.services.mozilla.com/D11876
This commit is contained in:
parent
d9de68ad6a
commit
a5f0eb9205
8 changed files with 34 additions and 7 deletions
|
@ -1315,3 +1315,26 @@ pub enum BreakBetween {
|
|||
Left,
|
||||
Right,
|
||||
}
|
||||
|
||||
/// A kind of break within a box.
|
||||
///
|
||||
/// https://drafts.csswg.org/css-break/#break-within
|
||||
#[allow(missing_docs)]
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Eq,
|
||||
Hash,
|
||||
MallocSizeOf,
|
||||
Parse,
|
||||
PartialEq,
|
||||
SpecifiedValueInfo,
|
||||
ToCss,
|
||||
ToComputedValue,
|
||||
)]
|
||||
#[repr(u8)]
|
||||
pub enum BreakWithin {
|
||||
Auto,
|
||||
Avoid,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue