Design document: Attributing style invalidations to CSS rules

12 views
Skip to first unread message

Kevin Babbitt

unread,
May 17, 2024, 4:32:24 PM5/17/24
to devtoo...@chromium.org

[Apologies if this ends up being a duplicate message; I got a delivery failure notification the first time I tried to send]

 

Hello devtools-dev,

 

This is a design for some instrumentation I’m adding to Blink to help link style invalidations back to CSS selectors, to help web authors understand why invalidations are happening. Originally, I was planning on implementing the whole feature into the CSS engine itself, but as discussions happened with the style team and I started to write code, it became apparent that some of the code would fit better under renderer/core/inspector. Alex Rudenko suggested I share with this group, so here’s a link: https://docs.google.com/document/d/1Nvkp6vXadwUyZspOG7gbuv0sZcroEZ_BsxxFV1eLmJ4/edit?usp=sharing

 

Happy to hear any comments.

 

Thanks!

Kevin

 

Reply all
Reply to author
Forward
0 new messages