Re: [csswg-drafts] [cssom-view] Needs more details for `offsetWidth` and `offsetHeight` (#6588)

The CSS Working Group just discussed `[cssom-view] Needs more details for offsetWidth and offsetHeight`, and agreed to the following:

* `RESOLVED: When an inline box is split by a block box, offsetWidth and offsetHeight will include dimensions of block box`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [cssom-view] Needs more details for offsetWidth and offsetHeight<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/6588<br>
&lt;dael> chrishtr: Discussed Oct 6 and resolved that they should be computed out of principle css box<br>
&lt;dael> chrishtr: If you have an inline split into mult frag with a child that's block shoudl the balance of the block be included<br>
&lt;dael> chrishtr: No strong opinion in discussion. Weak opinion not to, but impl difficulty should be a factor<br>
&lt;dael> chrishtr: Enginers have been trying to simplify code and have found that including it would be simplier to impl and give same answer as getBoundingClientRect. Suggest include block box in the bounds<br>
&lt;dael> astearns: Make sense.<br>
&lt;dael> astearns: Prop: When an inline box is split by a block box, offsetWidth and Height will include dimensions of block box<br>
&lt;dael> astearns: Obj?<br>
&lt;dael> RESOLVED: When an inline box is split by a block box, offsetWidth and offsetHeight will include dimensions of block box<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6588#issuecomment-1006198491 using your GitHub account


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

Received on Thursday, 6 January 2022 00:56:35 UTC