Skip to content

Container Definitions, manifest, and querySelectors #27

Description

@mmocny

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions