Closed
Bug 1791274
Opened 2 years ago
Closed 2 years ago
[wpt-sync] Sync PR 35941 - Fix CSS `log()` and CSS `exp()` calculation
Categories
(Core :: CSS Parsing and Computation, task, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
107 Branch
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35941 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35941
Details from upstream follow.
Rami Yushuvaev <r_a_m_i@hotmail.com> wrote:
Fix CSS
log()
and CSSexp()
calculationWe have two simple test:
test_math_used('log(1)', '0', {type:'number'}); test_math_used('exp(0)', '1', {type:'number'});
The first test
log(1)
return0
. The second testexp(0)
return1
.Next, we have a calculations that sums those functions
log(1) + exp(0)
:test_math_used('calc(log(1) + exp(0))', '2'), {type:'number', approx:0.1};
According to the test should it should return
2
, but according to the two separate tests above it should return1
.
Assignee | ||
Updated•2 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c7f81d32a79e18c997312927abe4a09002cf632d
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c26d927c6e80 [wpt PR 35941] - Fix CSS `log()` and CSS `exp()` calculation, a=testonly https://hg.mozilla.org/integration/autoland/rev/5978ba82cdcc [wpt PR 35941] - Update wpt metadata, a=testonly
Comment 3•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c26d927c6e80
https://hg.mozilla.org/mozilla-central/rev/5978ba82cdcc
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox107:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•