<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21848</bug_id>
          
          <creation_ts>2013-04-26 12:13:38 +0000</creation_ts>
          <short_desc>Sort out the mess with the .style attribute</short_desc>
          <delta_ts>2013-08-08 13:26:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86854</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-04-26 12:13:38 +0000</bug_when>
    <thetext>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&apos;s definition, then make the HTML and SVG specs say (HTML|SVG)Element implements ElementCSSInlineStyle; if CSS is supported (and not if it&apos;s not).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86859</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-04-26 12:56:46 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/c58d66b43ac6

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849 (HTML)
http://lists.w3.org/Archives/Public/www-svg/2013Apr/0058.html (SVG)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>