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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21848

            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

https://dvcs.w3.org/hg/csswg/raw-file/tip/cssom/Overview.html#the-elementcssinlinestyle-interface

[[
The ElementCSSInlineStyle interface is implemented by Element objects in order
to provide access to inline style properties.
[NoInterfaceObject]
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:
http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#dom-style

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