Closed
Bug 1396535
Opened 7 years ago
Closed 7 years ago
Transform translate rounding issue if we use relative length
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: boris, Unassigned)
References
Details
According to Bug 1392161 Comment 1, the following case is failed in Gecko:
test.html
> font-size: 1px;
> transform: scale(100000) translate(0.001em) scale(0.00001);
test-ref.html
> transform: translate(100px);
"== test.html test-ref.html" is failed.
It seems all relative lengths used in translate() have this rounding issue in Gecko, i.e. we use nsRuleNode::CalcLength() to convert a relative length into a pixel value, but it seems there are some bugs there?
Reporter | ||
Comment 1•7 years ago
|
||
And the results in Chrome and Safari are correct.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Comment 2•7 years ago
|
||
This has been fixed for stylo in bug 1392161. Closing since this is gecko-specific now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•