Skip to content

How we deal with Canvas Support #50

Description

@jasonwilliams

We have 2 implementations of Container Timing, in both Firefox and Chromium.
Chromium doesn't support canvas right now, so the canvas example yields no PerformanceContainerTiming entries, however the Firefox example does.

The way the Firefox one works is it will yield a single Container Timing entry on the first paint of a canvas element and the size of that entry is the entire canvas, this means we'll only ever get one entry per canvas element as the paint checking isn't more granular than that. I suppose this is working as expected, similar to an image which will take up the full area regardless of what the image is made up off.

Are there any thoughts on this approach?

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

    needs discussionIssues with this label need discussion with the Web Perf WG to progress further

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions