Closed Bug 1897837 Opened 1 year ago Closed 11 months ago

New wpt failures in /css/css-color/parsing/color-valid-relative-color.html

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox135 --- fixed
firefox136 --- fixed

People

(Reporter: wpt-sync, Assigned: tlouw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [wpt])

Attachments

(2 files, 1 obsolete file)

Syncing wpt PR 46377 found new untriaged test failures in CI

Tests Affected

New Tests That Don't Pass

  • /css/css-color/parsing/color-valid-relative-color.html [wpt.fyi]
    • e.style['color'] = "hsl(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)
    • e.style['color'] = "hsla(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)

CI Results

Gecko CI (Treeherder)
GitHub PR Head

Notes

These updates will be on mozilla-central once bug 1897817 lands.

Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.

This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/

If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.

Severity: -- → S3
Duplicate of this bug: 1746070

(In reply to Web Platform Test Sync Bot [:wpt-sync] (Matrix: #interop:mozilla.org) from comment #0)

Syncing wpt PR 46377 found new untriaged test failures in CI

Tests Affected

New Tests That Don't Pass

  • /css/css-color/parsing/color-valid-relative-color.html [wpt.fyi]
    • e.style['color'] = "hsl(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)
    • e.style['color'] = "hsla(from rebeccapurple none none none / none)" should set the property value: FAIL (Chrome: FAIL, Safari: PASS)

We pass these subtests now, FWIW. We do have some other failures in this test but at first glance they look like they're cases where we're unwrapping calc() expressions when the test expects us not to.

Most of the tests were fixed in bug 1893966

Depends on: 1893966
  • Serialize color components with calc(..) when specified in a calc node.
  • Channel keywords outside calc(..) are serialized without calc(..).
Assignee: nobody → tlouw
Status: NEW → ASSIGNED
Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c90312a306a3 Track and serialize calc(..) nodes in relative colors correctly. r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
  • Serialize color components with calc(..) when specified in a calc node.
  • Channel keywords outside calc(..) are serialized without calc(..).

Original Revision: https://phabricator.services.mozilla.com/D233234

Attachment #9459224 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: No impact on users
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: None
  • Explanation of risk level: Fixes edge case serialization for relative colors which is a very new feature
  • String changes made/needed: n/a
  • Is Android affected?: yes

This uplift will increase our interop 2024 score for relative color syntax and would be great to include in 135.

  • Serialize color components with calc(..) when specified in a calc node.
  • Channel keywords outside calc(..) are serialized without calc(..).

Original Revision: https://phabricator.services.mozilla.com/D233234

Attachment #9459240 - Flags: approval-mozilla-beta?
Attachment #9459240 - Attachment is obsolete: true
Attachment #9459240 - Flags: approval-mozilla-beta?
Flags: in-testsuite+
Attachment #9459224 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: