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

I prefer to report size to box. Box is often synonymous to rectangle, and rectangles have location + size by convention. We are only reporting width/height, therefore size is preferable for reporting.

Why are we using box instead of size in ResizeObserver::observe? There was only a weak preference for 'box' over 'size', this was an open issue in the spec for a while. 

Box stands for CSS box model. Size was already part of ResizeObserver name, so it felt redundant.


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

Received on Wednesday, 23 January 2019 18:10:52 UTC