<?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>22528</bug_id>
          
          <creation_ts>2013-07-01 17:11:41 +0000</creation_ts>
          <short_desc>The computedStyle attribute</short_desc>
          <delta_ts>2013-08-20 01:37:32 +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="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>ian</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90070</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-01 17:11:41 +0000</bug_when>
    <thetext>http://dev.w3.org/csswg/cssom/#the-getstyleutils-interface

  &quot;The computedStyle attribute must return [...] the computed value&quot;
  &quot;getComputedStyle([...]) [...] must [...] return [...] the resolved value&quot;

That&apos;s just confusing. Please can we either have .computedStyle return the resolved style, or rename it?

Yes, the spec is confusing, but let&apos;s not let that confusion go into the API as well. It&apos;s far better for the API to be self-consistent and disagree with the formal terminology, than it is for the API to follow our evolving terminology.

Same reason we use URL in all our APIs and syntax, rather than the evolving term.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91684</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-06 12:27:41 +0000</bug_when>
    <thetext>I don&apos;t mind calling it rawComputedStyle. Any other candidates?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91921</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-12 19:51:44 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/59be33863762</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92313</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-20 01:37:32 +0000</bug_when>
    <thetext>It&apos;s a bit better, but still confusing, IMHO. I don&apos;t have a compellingly better suggestion, though.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>