Re: [csswg-drafts] [css-page] Spec doesn't match browsers on alignment of headers & footers (particularly vertical centering) (#5870)

I've always thought that the spec is oblivious of browser-default margins, and that the default UA stylesheet for margin box alignment (https://drafts.csswg.org/css-page/#margin-text-alignment) only has an effect if the ```content``` property in a margin context is not ```none```. The spec also goes "As with the [:before](https://drafts.csswg.org/css2/#selectordef-before) and [:after](https://drafts.csswg.org/css2/#selectordef-after) pseudo-elements, a specified [content: normal](https://drafts.csswg.org/css-content-3/#propdef-content) on a page-margin box computes to [none](https://drafts.csswg.org/css-content-3/#valdef-content-none)." (https://drafts.csswg.org/css-page/#margin-text-alignment).

-- 
GitHub Notification of comment by mstensho
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5870#issuecomment-1959192884 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 22 February 2024 10:54:44 UTC