Re: [css-houdini-drafts] Observer for property being applied?

Regarding the design of this API, I would hope it to happen only when style flush happens, and the observer can get a list of elements which get updated on the property being observed during this style flush.

In Gecko, we compare each property for elements get restyled and invalidate stuff accordingly. I suppose other engines do something similar, so it would be closer to mechanism inside implementations.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/555#issuecomment-401641421 using your GitHub account

Received on Sunday, 1 July 2018 23:45:51 UTC