This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23466 - CSS3 scale transform should update an element's getComputedStyle's width/height
Summary: CSS3 scale transform should update an element's getComputedStyle's width/height
Status: RESOLVED INVALID
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Simon Fraser
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 05:56 UTC by Chen Zhixiang
Modified: 2013-10-09 09:59 UTC (History)
6 users (show)

See Also:


Attachments
Test case for this bug, after setting new scale and clicking update button, getComputedStyle's width/height should be updated (1.20 KB, text/html)
2013-10-09 05:56 UTC, Chen Zhixiang
Details

Description Chen Zhixiang 2013-10-09 05:56:43 UTC
Created attachment 1407 [details]
Test case for this bug, after setting new scale and clicking update button, getComputedStyle's width/height should be updated

During recent project dev. on a image preview box control,
i have found that CSS3 transform doesn't update element's widht/height(by getComputedStyle)
But this is NOT reasonable.
Comment 1 Chen Zhixiang 2013-10-09 05:57:54 UTC
Also submitted to https://bugzilla.mozilla.org/show_bug.cgi?id=924752
Comment 2 Dirk Schulze 2013-10-09 09:59:53 UTC
(In reply to Chen Zhixiang from comment #1)
> 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.