[csswg-drafts] [CSS3PAGE]: Page margin content should be able to display complex HTML content (#10458)

SetTrend has just created a new issue for https://github.com/w3c/csswg-drafts:

== [CSS3PAGE]: Page margin content should be able to display complex HTML content ==
According to [§ 5.2](https://drafts.csswg.org/css-page-3/#populating-margin-boxes), _"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)."_

Many times, however, headers and footers are more than just an image. They may contain complex HTML content, like this:

![Table and Footer](https://github.com/w3c/csswg-drafts/assets/9283914/c8ade65f-816b-4916-b020-2705135ec8e9)

https://github.com/w3c/csswg-drafts/assets/9283914/e0f8d90f-141b-4057-b92b-3fd1b15db857

► [This is the source used for creating below image: Test HTML page.zip](https://github.com/user-attachments/files/15785803/Test.HTML.page.zip)

<br/>

Please amend the specification to accept complex HTML content.

One solution would be to add new properties for display:

|||
|-|-|
|Display| ...<br/>top-left-corner<br/>top-left<br/>top-center<br/>top-right<br/>top-right-corner<br/>left-top<br/>left-middle<br/>left-bottom<br/>right-top<br/>right-middle<br/>right-bottom<br/>bottom-left-corner<br/>bottom-left<br/>bottom-center<br/>bottom-right<br/>bottom-right-corner|

So, a `<footer>` HTML element could be assigned one of the above `display` values and styled accordingly.

This would render the [At-rules for page-margin boxes](https://drafts.csswg.org/css-page-3/#margin-at-rules) redundant.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10458 using your GitHub account


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

Received on Monday, 17 June 2024 21:31:19 UTC