Re: [csswg-drafts] [css-backgrounds] Are the rules for interactions of transforms and backgrounds on the root element what we want? (#6683)

While writing spec edits, I noticed one other minor inconsistency that I'm going to consider editorial, because on [this testcase](https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0Ahtml%20%7B%20transform%3A%20translate(50px%2C%2050px)%3B%20%7D%0Abody%20%7B%20background%3A%20url(https%3A%2F%2Fwww.w3.org%2FIcons%2Fw3c_home)%20fixed%3B%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Cdiv%20style%3D%22height%3A%201000px%22%3Ehello%3C%2Fdiv%3E) all of Chrome, Firefox, and Safari do the sensible thing rather than what a literal reading of the spec says.  Read literally, the spec says that the rule that `background-attachment: fixed` backgrounds become `scroll` instead when transforms are involved doesn't apply to *root* backgrounds that are propagated to the canvas, but it doesn't grant the same exception to `<body>` backgrounds that are propagated to the canvas.  This distinction seems wrong, and browsers interoperably ignore it, so I'm just going to fix it.

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


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

Received on Thursday, 6 April 2023 18:26:42 UTC