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

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

From: cathiechen via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Feb 2019 06:48:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-466292708-1550818129-sysbot+gh@w3.org>
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

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