<?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>14207</bug_id>
          
          <creation_ts>2011-09-19 02:07:57 +0000</creation_ts>
          <short_desc>ElementCSSInlineStyle needs binding to Element</short_desc>
          <delta_ts>2013-08-08 13:26:42 +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>All</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="Glenn Adams">glenn</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56962</commentid>
    <comment_count>0</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2011-09-19 02:07:57 +0000</bug_when>
    <thetext>the (incomplete) definition of ElementCSSInlineStyle (see 7.1) does not specify that an object that implements the Element interface must also implement ElementCSSInlineStyle;

need to add normative text specifying:

Element implements ElementCSSInlineStyle;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56973</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-09-19 08:04:01 +0000</bug_when>
    <thetext>Neh, it should become &quot;partial Element&quot; instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56978</commentid>
    <comment_count>2</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2011-09-19 08:24:38 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Neh, it should become &quot;partial Element&quot; instead.

ok, that works for me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57059</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2011-09-21 03:05:29 +0000</bug_when>
    <thetext>Except not all elements implement ElementCSSInlineStyle.  In particular, not all SVG elements have a .style per current SVG spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57061</commentid>
    <comment_count>4</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2011-09-21 03:12:51 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Except not all elements implement ElementCSSInlineStyle.  In particular, not
&gt; all SVG elements have a .style per current SVG spec.

good point; perhaps it is best specified as

HTMLElement implements ElementCSSInlineStyle

or as

partial HTMLElement {}

though personally I do not like the use of partial, since it does not permit one to identify the collection of new members being added, and does not support instanceof (or equivalent) operator</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57062</commentid>
    <comment_count>5</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2011-09-21 03:18:50 +0000</bug_when>
    <thetext>If we want .style to appear on the mixin prototype object, we use &quot;implements&quot;.

If we want it to appear on HTMLElement.prototype, we use &quot;partial&quot;.

In neither case would &quot;document.createElement(&quot;div&quot;) instanceof ElementCSSInlineStyle&quot; return true, if I read webidl correctly.

I would personally be reasonably OK with trying to push .style up to Element if the SVG folks are OK with it...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88016</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-21 18:27:25 +0000</bug_when>
    <thetext>My thinking is that HTML and SVG should say HTMLElement implements ElementCSSInlineStyle and SVGElement implements ElementCSSInlineStyle.

If we make it work on Element, should we make style=&quot;&quot; work on any element as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89127</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-06-11 22:15:06 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/ca20cc414744</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>