Regarding the conversations on declarative container rules, one idea that came up in discussion is that this is basically equivalent to a style resolution and would work the same way as normal style rules (performance wise). This got me thinking... should it just be a css property?
Strawman:
body > div.mySelector {
container-timing: 'id'; /* or just element-timing */
}
All this would do is provide a hint to the browser that it is worth buffering the timing data for elements, which would still need to be collected by the Observer.
Regarding the conversations on declarative container rules, one idea that came up in discussion is that this is basically equivalent to a style resolution and would work the same way as normal style rules (performance wise). This got me thinking... should it just be a css property?
Strawman:
All this would do is provide a hint to the browser that it is worth buffering the timing data for elements, which would still need to be collected by the Observer.