WICG/priority-hints

fetchpriority IDL attribute should be fetchPriority

domenic opened this issue · 2 comments

@domenic which IDL in particular should be camel-cased?

HTML elements and attributes are to be Lowercase, concatenated according to the table (and matches the other attributes like crossorigin). Is it since it's a property rather than an attribute?

I originally had it camel-cased but none of the other attributes in the HTML spec on the same DOM elements were camel.

The HTML attribute (i.e. content attribute) should be fetchpriority (all lowercase, concatenated). The IDL attribute (i.e. JavaScript property) should be fetchPriority (camel cased). The fetchPriority IDL attribute should reflect the fetchpriority content attribute.