W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

Re: [csswg-drafts] [resize-observer] Make all returned properties have the word box in them (#3549)

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Mar 2019 22:49:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-471103297-1552085357-sysbot+gh@w3.org>
@TremayneChrist based on the opinions of people, if we say Box that implies that you should be able to produce the rect when taking into account the context of other APIs such as `getBoundingClientRect()` authors may expect a box to have all of the same information. Size is more accurate for what's being returned **now**. There's also an argument to be made for authors asking to observer `content-box` and then getting `contentSize` which is also somewhat confusing even if the name itself is more representative of the content within.

What are your thoughts, which name would you want?

GitHub Notification of comment by gregwhitworth
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3549#issuecomment-471103297 using your GitHub account
Received on Friday, 8 March 2019 22:49:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:45 UTC