Permalink
Browse files

style: Introduce break-inside, and alias page-break-inside to it.

This property has no weird value mapping, so we can just do this.

Differential Revision: https://phabricator.services.mozilla.com/D12212
  • Loading branch information...
emilio committed Nov 20, 2018
1 parent 67414f4 commit d0ac1b06d16c5279b46e706f52538c7916ba860e
Showing with 3 additions and 3 deletions.
  1. +3 −3 components/style/properties/longhands/box.mako.rs
@@ -458,13 +458,13 @@ ${helpers.predefined_type(
)}

${helpers.predefined_type(
"page-break-inside",
"break-inside",
"BreakWithin",
"computed::BreakWithin::Auto",
gecko_ffi_name="mBreakInside",
needs_context=False,
products="gecko",
spec="https://drafts.csswg.org/css2/page.html#propdef-page-break-inside",
alias="page-break-inside",
spec="https://drafts.csswg.org/css-break/#propdef-break-inside",
animation_value_type="discrete",
)}

0 comments on commit d0ac1b0

Please sign in to comment.