Closed Bug 1912316 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47527 - Remove the 1-argument form of calc-size().

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Baron <dbaron@chromium.org> wrote:

Remove the 1-argument form of calc-size().

This removes the 1-argument form of calc-size() as resolved in
https://github.com/w3c/csswg-drafts/issues/10478

Bug: 313072
Change-Id: I323127d93c846ee7d5a05dc06eb7f164df63ac26
Reviewed-on: https://chromium-review.googlesource.com/5773233
WPT-Export-Revision: e51dc472604f46c7e83bef81869e8487a6356fdc

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 19 subtests

Status Summary

Firefox

OK : 3
PASS: 53
FAIL: 62

Chrome

OK : 3
PASS: 109
FAIL: 6

Safari

OK : 3
PASS: 53
FAIL: 62

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-values/calc-size/animation/calc-size-interpolation-expansion.html [wpt.fyi]
    • value at progress 0.75 in animation of "height" from "auto" to "calc-size(any, 0px)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "height" from "0px" to "calc-size(calc-size(min-content, size + 20px), size * 2)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "height" from "calc-size(min-content, size * 4)" to "calc-size(calc-size(min-content, size + 20px), size * 2)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "width" from "calc-size(fit-content, 20px)" to "calc-size(calc-size(fit-content, 40px), size)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "width" from "calc-size(any, 20px)" to "calc-size(calc-size(fit-content, 40px), size)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "width" from "calc-size(calc-size(any, 30px), 20px)" to "calc-size(calc-size(fit-content, 40px), size)": FAIL (Chrome: PASS, Safari: FAIL)
    • value at progress 0.75 in animation of "width" from "calc-size(fit-content, 20px)" to "calc-size(calc-size(fit-content, 3 * size + 10px), min(size + 20px, size * 2 - 30px) + size * 2 + 80px)": FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-values/calc-size/calc-size-parsing.html [wpt.fyi]
    • e.style['width'] = "calc-size(auto, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-width'] = "calc-size(auto, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['height'] = "calc-size(auto, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-height'] = "calc-size(auto, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['height'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-width'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-height'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-width'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-height'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['block-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['inline-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-block-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-inline-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-block-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['min-inline-size'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(fit-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['height'] = "calc-size(min-content, size * 2)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-width'] = "calc-size(max-content, size / 2)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['max-height'] = "calc-size(fit-content, 30px + size / 2)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(fit-content, 50% + size / 2)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(any, 25em)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(any, 40%)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(any, 50px + 30%)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(10px, sign(size) * size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(30px, 25em)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(calc-size(any, 30px), 25em)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(calc-size(2in, 30px), 25em)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(calc-size(min-content, 30px), 25em)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['width'] = "calc-size(calc-size(min-content, size), size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(any, 50px)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(auto, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(min-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(max-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(fit-content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['flex-basis'] = "calc-size(content, size)" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-values/calc-size/calc-size-typed-om.html [wpt.fyi]
    • computedStyleMap serialization of width: calc-size(auto, size): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(fit-content, size): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of height: calc-size(min-content, size * 2): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of max-width: calc-size(max-content, size / 2): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of max-height: calc-size(fit-content, 30px + size / 2): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(fit-content, 50% + size / 2): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(any, 30px): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(any, 25em): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(any, 40%): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(any, 50px + 30%): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(any, min(30px, 2em)): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(10px, sign(size) * size): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(30px, 25em): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(any, 30px), size): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(any, 30px), 25em): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(2in, 30px), 25em): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(min-content, 30px), 25em): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(min-content, size), size): FAIL (Chrome: PASS, Safari: FAIL)
    • computedStyleMap serialization of width: calc-size(calc-size(fit-content, size * 2), size): FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9acdf280200 [wpt PR 47527] - Remove the 1-argument form of calc-size()., a=testonly https://hg.mozilla.org/integration/autoland/rev/50923a881c43 [wpt PR 47527] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.