Re: [csswg-drafts] [resize-observer] The initial size of ResizeObservation (#3664)

> Add a case to reproduce this issue.
> https://jsbin.com/qotevalowe/1/edit?html,console,output

In that example if you remove the last line (the one that changes the size to 0x0), then you'll get notified for a size change of 100x100 (when nothing has actually changed). I guess it's because the initial `lastReportedSize` is 0x0 and it detects a change.

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

Received on Friday, 22 February 2019 10:40:05 UTC