Skip to content

Commit

Permalink
Merge pull request #49 from w3c/supported-paint
Browse files Browse the repository at this point in the history
Fix Note about supportedEntryTypes
  • Loading branch information
npm1 authored Feb 27, 2020
2 parents e58ecf8 + 4bcae73 commit 926ba86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion painttiming.bs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The {{PerformancePaintTiming}} interface {#sec-PerformancePaintTiming}
* The {{PerformanceEntry/startTime}} attribute must return a {{DOMHighResTimeStamp}} of when the paint occured.
* The {{PerformanceEntry/duration}} attribute must return 0.

NOTE: A user agent implementing {{PerformancePaintTiming}} would need to include <code>"first-paint"</code> and <code>"first-contentful-paint"</code> in {{PerformanceObserver/supportedEntryTypes}} for {{Window}} contexts.
NOTE: A user agent implementing {{PerformancePaintTiming}} would need to include <code>"paint"</code> in {{PerformanceObserver/supportedEntryTypes}} for {{Window}} contexts.
This allows developers to detect support for paint timing.

Processing model {#sec-processing-model}
Expand Down

0 comments on commit 926ba86

Please sign in to comment.