Re: [csswg-drafts] [resize-observer] Introduce a granularity to indicate the sensibility of observe? (#3663)

Hi @gregwhitworth,
Sorry, I didn't make it clear.

I meant to add the capability to filter the slight resize. For instance, the appearance of scrollbar might cause a slightly size change, which the web developers might not be interested.
It might look like this:
`observe(target, options, granularity)`
If the change is smaller than granularity, the resize notification would be skipped.

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

Received on Friday, 22 February 2019 06:48:51 UTC