Closed Bug 1396535 Opened 2 years ago Closed Last year
Transform translate rounding issue if we use relative length
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?
And the results in Chrome and Safari are correct.
This has been fixed for stylo in bug 1392161. Closing since this is gecko-specific now.
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.