- From: Chris Harrelson via GitHub <noreply@w3.org>
- Date: Mon, 14 Jul 2025 22:06:29 +0000
- To: public-css-archive@w3.org
chrishtr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-paged-media] Should position:fixed elements get repeated on every page? == The specification [says](https://www.w3.org/TR/CSS22/visuren.html#fixed-positioning) that position:fixed elements and their descendants should be repeated on each paged of printed media, and browsers follow this rule. However, this can lead to content getting clipped out on pages 2+. Try to print [this recipe page](https://sallysbakingaddiction.com/guinness-chocolate-cake/) in Chrome or Firefox, for example, and you'll see that some of the text is overwritten by the repeated position:fixed elements on pages 2+. This problem doesn't occur for non-printed output because this page has a rule applying padding on the root element of the main content to manually move it out of the way of the header. Given these downsides, is repeating position:fixed on every page a good idea? Perhaps repeating should be an opt-in feature via a new CSS property. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12481 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 14 July 2025 22:06:30 UTC