[whatwg] Allowing custom attributes on <html> or <body> in documents for media resources

Henri Sivonen hsivonen at iki.fi
Tue Nov 15 03:06:31 PST 2011

On Thu, Nov 10, 2011 at 2:03 AM, Robert O'Callahan <robert at ocallahan.org> wrote:
> http://www.whatwg.org/specs/web-apps/current-work/#read-media
> Can we allow the UA to add custom vendor-prefixed attributes to the <html>
> and/or <body> elements? Alternatively, a vendor-prefixed class? We want to
> be able to use a style sheet with rules matching custom attributes to
> indicate various situations (e.g., whether the document is a toplevel
> browsing context) to set the viewport background.

Why can't non-prefixed attributes be minted for these use cases?

Henri Sivonen
hsivonen at iki.fi

More information about the whatwg mailing list