Open
Bug 957148
Opened 12 years ago
Updated 3 years ago
The layout view reports wrong dimensions if CSS transforms are used
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: paul, Unassigned)
References
(Blocks 1 open bug)
Details
div {
width: 10px;
height: 10px;
transform: scale(2);
}
We report a size of 20px. It should be 10px.
Comment 1•12 years ago
|
||
So what do we display if a node is transformed in a way that the top, middle and bottom are all different sizes?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #1)
> So what do we display if a node is transformed in a way that the top, middle
> and bottom are all different sizes?
Not sure to understand. We're talking about the size of the content. In the comment 0 example, the content size is 10px (even though it's scaled up).
Comment 3•10 years ago
|
||
In other words, the numbers within the box model should reflect the computed values for width and height, not the content box' bounding box size.
The bounding box size for each box may be displayed additionally, though, on hover.
Sebastian
Updated•10 years ago
|
Blocks: 1150496
Summary: The layout view reports wrong dimensions if css transforms are used → The layout view reports wrong dimensions if CSS transforms are used
Comment 5•10 years ago
|
||
Yes, the layout view should show the CSS box model and the perceptual sizes of the elements could be displayed additionally.
Updated•9 years ago
|
Priority: -- → P3
Updated•9 years ago
|
QA Contact: developer.tools → cristian.comorasu
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•