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

@dholbert:
> I think it's safe to say we did not resolve on matching that WebKit-specific behavior.
> i.e. I think the answer to my "....and maybe also this:" above is "no, not also that."

Thanks, agree.

> if the block box is zero-height, for consistency with how getBoundingClientRect behaves.

Since you said "for consistency," I think you mean "height **or width**", as currently defined in item 3 of the [`getBoundingClientRect` spec](https://www.w3.org/TR/cssom-view-1/#dom-range-getboundingclientrect). Assuming that:

@chrishtr:
> Is that fine from an implementation perspective in Chromium?

Yes, thank you.

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


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

Received on Wednesday, 19 January 2022 18:35:30 UTC