[Bug 21848] New: Sort out the mess with the .style attribute


            Bug ID: 21848
           Summary: Sort out the mess with the .style attribute
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: glenn@skynav.com
          Reporter: simonp@opera.com
        QA Contact: public-css-bugzilla@w3.org


The ElementCSSInlineStyle interface is implemented by Element objects in order
to provide access to inline style properties.
interface ElementCSSInlineStyle {
    readonly attribute CSSStyleDeclaration style;

style of type CSSStyleDeclaration, readonly

The style attribute must return a mutable CSSStyleDeclaration object    that
represents the inline style properties of the associated Element instance.

HTML has:

SVG has: http://www.w3.org/TR/SVG2/types.html#__svg__SVGElement__style

I think we should make the definition in CSSOM more like HTML's definition,
then make the HTML and SVG specs say (HTML|SVG)Element implements
ElementCSSInlineStyle; if CSS is supported (and not if it's not).

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 26 April 2013 12:13:39 UTC