- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Nov 2024 17:15:36 +0000
- To: public-css-archive@w3.org
>this is just for computing the inset-modified containing block
What is the expected output for the first example under CSS3 ?
```css
#child {
position: absolute;
background-color: red;
left: 10px;
width: 100px;
height: 50px;
/* Computes to 90px in compliance with CSS 2, Case 6 */
/* https://drafts.csswg.org/css2/#abs-non-replaced-width */
right: auto;
margin-left: auto;
margin-right: auto;
}
```
```js
const element = document.getElementById("child");
const styles = getComputedStyle(element);
console.log("Right:", styles.right);
```
--
GitHub Notification of comment by gitspeaks
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11258#issuecomment-2491825193 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 November 2024 17:15:37 UTC