Skip to content

Commit

Permalink
Revise avoid support in light of caniuse results
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbeck committed May 2, 2024
1 parent 7add9a9 commit 537261b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 5 additions & 7 deletions feature-group-definitions/page-breaks.dist.yml
Expand Up @@ -5,18 +5,13 @@ name: Page breaks
description: The `break-after`, `break-before`, `break-inside` CSS properties (along with `page-break-` aliases) control where printed pages start and end. Also known as pagination or page breaking.
spec: https://drafts.csswg.org/css-break-3/#breaking-controls
caniuse: css-page-break
# TODO: remove status override when https://github.com/mdn/browser-compat-data/pull/22987 ships
status:
baseline: high
baseline_low_date: 2019-01-29
baseline_high_date: 2021-07-29
baseline: false
support:
chrome: "50"
chrome_android: "50"
edge: "12"
firefox: "65"
firefox_android: "65"
safari: "10"
safari_ios: "10"
compat_features:
- css.properties.break-after
- css.properties.break-after.paged_context
Expand All @@ -29,5 +24,8 @@ compat_features:
# `page-break-` are now legacy shorthands
# https://drafts.csswg.org/css-break/#page-break-properties
- css.properties.page-break-after
- css.properties.page-break-after.avoid
- css.properties.page-break-before
- css.properties.page-break-before.avoid
- css.properties.page-break-inside
- css.properties.page-break-inside.avoid
10 changes: 10 additions & 0 deletions feature-group-definitions/page-breaks.yml
Expand Up @@ -2,6 +2,13 @@ name: Page breaks
description: The `break-after`, `break-before`, `break-inside` CSS properties (along with `page-break-` aliases) control where printed pages start and end. Also known as pagination or page breaking.
spec: https://drafts.csswg.org/css-break-3/#breaking-controls
caniuse: css-page-break
# TODO: remove status override when https://github.com/mdn/browser-compat-data/pull/22987 ships
status:
baseline: false
support:
chrome: "50"
chrome_android: "50"
edge: "12"
compat_features:
- css.properties.break-after
- css.properties.break-after.paged_context
Expand All @@ -14,5 +21,8 @@ compat_features:
# `page-break-` are now legacy shorthands
# https://drafts.csswg.org/css-break/#page-break-properties
- css.properties.page-break-after
- css.properties.page-break-after.avoid
- css.properties.page-break-before
- css.properties.page-break-before.avoid
- css.properties.page-break-inside
- css.properties.page-break-inside.avoid

0 comments on commit 537261b

Please sign in to comment.