Closed Bug 1784839 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35463 - Add asin() function for CSSTrigonometrcFunctions

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Seokho Song <seokho@chromium.org> wrote:

Add asin() function for CSSTrigonometrcFunctions

According to the CSS Values and Units Module Level 4 [1],
the trigonometric function should be parsed and evaluated.

This CL adds asin() function and testcases for asin().

And add parentheses to the test cases in sin-cos-tan-serialized.html.
It does not make test failure due to the consume simple block rule in the spec [4]. However, the expression that missed closing parenthesis is not the goal of the test suite and could make misunderstandings.

Therefore, add the closing parentheses on the test cases.

Feature status: [2]
Intent to prototype: [3]

[1] https://www.w3.org/TR/css-values-4/#trig-funcs
[2] https://chromestatus.com/feature/5165381072191488
[3] https://groups.google.com/a/chromium.org/g/blink-dev/c/-c9p-Sq_gWg
[4] https://www.w3.org/TR/css-syntax-3/#consume-simple-block

Bug: 1190444
Change-Id: Ie000b6a7fd429d9c1bad28c29fc89104342706be

Reviewed-on: https://chromium-review.googlesource.com/3820863
WPT-Export-Revision: c904de1dd47e2215dd06083c65d81f3b7db3fee1

PR 35463 applied with additional changes from upstream: fdb7dbe0c5edd44e8122c679ca50188303b877ee
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/576f9d4a0e0f [wpt PR 35463] - Add asin() function for CSSTrigonometrcFunctions, a=testonly https://hg.mozilla.org/integration/autoland/rev/bb5f721502ab [wpt PR 35463] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.