<?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>23466</bug_id>
          
          <creation_ts>2013-10-09 05:56:43 +0000</creation_ts>
          <short_desc>CSS3 scale transform should update an element&apos;s getComputedStyle&apos;s width/height</short_desc>
          <delta_ts>2013-10-09 09:59:53 +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>Transforms</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Chen Zhixiang">chenzx</reporter>
          <assigned_to name="Simon Fraser">smfr</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94487</commentid>
    <comment_count>0</comment_count>
      <attachid>1407</attachid>
    <who name="Chen Zhixiang">chenzx</who>
    <bug_when>2013-10-09 05:56:43 +0000</bug_when>
    <thetext>Created attachment 1407
Test case for this bug, after setting new scale and clicking update button, getComputedStyle&apos;s width/height should be updated

During recent project dev. on a image preview box control,
i have found that CSS3 transform doesn&apos;t update element&apos;s widht/height(by getComputedStyle)
But this is NOT reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94488</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Zhixiang">chenzx</who>
    <bug_when>2013-10-09 05:57:54 +0000</bug_when>
    <thetext>Also submitted to https://bugzilla.mozilla.org/show_bug.cgi?id=924752</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94491</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2013-10-09 09:59:53 +0000</bug_when>
    <thetext>(In reply to Chen Zhixiang from comment #1)
&gt; Also submitted to https://bugzilla.mozilla.org/show_bug.cgi?id=924752

Thanks for your report. CSS Transforms does not influence page layout. Therefore, all information about layout that you get do not reflect any kind of transforms.

However, we are working on APIs that give you access to the transform data and let you get the transformed information with CSSOM View. This is not in the scope of CSS Transforms Level 1 though.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1407</attachid>
            <date>2013-10-09 05:56:43 +0000</date>
            <delta_ts>2013-10-09 05:56:43 +0000</delta_ts>
            <desc>Test case for this bug, after setting new scale and clicking update button, getComputedStyle&apos;s width/height should be updated</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>1232</size>
            <attacher name="Chen Zhixiang">chenzx</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8aGVhZD4NCjxzdHlsZT4NCiN3cmFwcGVyew0KICAgIG92ZXJmbG93OmF1dG87DQog
ICAgYm9yZGVyOiAxcHggc29saWQgYmx1ZTsNCiAgICB3aWR0aDogNDAwcHg7DQogICAgaGVpZ2h0
OiA0MDBweDsNCn0NCiNpbWdBew0KICAgIHBvc2l0aW9uMTogYWJzb2x1dGU7DQogICAgd2lkdGg6
YXV0bzsNCiAgICBoZWlnaHQ6YXV0bzsNCiAgICBsZWZ0OiAtMTM0cHg7DQogICAgdG9wOiAtMjIw
cHg7DQogICAgLXdlYmtpdC10cmFuc2Zvcm06IG1hdHJpeCgwLj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