[wpt-sync] Sync PR 15481 - Make calc() function can be used in any place that only accepts integer.

RESOLVED FIXED in Firefox 67

Status

()

enhancement
P4
normal
RESOLVED FIXED
3 months ago
2 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

3 months ago

Sync web-platform-tests PR 15481 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15481
Details from upstream follow.

Joonghun Park <pjh0718@gmail.com> wrote:

Make calc() function can be used in any place that only accepts integer.

https://www.w3.org/TR/css-values-4/#calc-type-checking spec
says that calc() function that resolve to \<number> can be used
in any place that only accepts \<integer>.
This change makes calc() function's behavior to comply with the spec.

Bug: 931216
Change-Id: Iac9ad21d664bb60538d40ab42cbb8153de6db89f
Reviewed-on: https://chromium-review.googlesource.com/1478852
WPT-Export-Revision: 7fc76077fb063933050c1e291c38d02b315602f3

Assignee

Updated

3 months ago
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee

Comment 4

3 months ago
Ran 2 tests and 15 subtests
OK     : 2
PASS   : 6
FAIL   : 9

Comment 5

2 months ago
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1f293875c401
[wpt PR 15481] - Make calc() function can be used in any place that only accepts integer., a=testonly

Comment 6

2 months ago
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a51a4a136f3
[wpt PR 15481] - Make calc() function can be used in any place that only accepts integer., a=testonly

Comment 7

2 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.