- From: Psychpsyo (Cameron) via GitHub <noreply@w3.org>
- Date: Fri, 05 Sep 2025 10:18:20 +0000
- To: public-css-archive@w3.org
Psychpsyo has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-break] Add an ability to hide elements when they adjoin a page break == So I have a bunch of sections, separated by `<hr>`s. The `<hr>`s are there to visibly separate the content but they look weird if they land right before or right after a page or column break. It would be nice if there were a CSS property that I could use to tell the browser that these dividers should not be rendered when they are the first thing before or after a page or column break. Essentially a conditional `display: none`. Also, `break-before: avoid` and `break-after: avoid` don't work for my use-case, since the items that are being separated have `break-inside: avoid`, so any valid break point ends up right before or after one of these `<hr>`s. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12737 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 5 September 2025 10:18:21 UTC