Closed Bug 1867520 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43450 - css-color : modern rgb supports mixed units

Categories

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

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Romain Menke <romainmenke@gmail.com> wrote:

css-color : modern rgb supports mixed units

see : https://drafts.csswg.org/css-color-4/#rgb-functions

<modern-rgb-syntax> = rgb( 
  [ <number> | <percentage> | none]{3} 
  [ / [<alpha-value> | none] ]?  )

Firefox passes this test.
Chrome and Safari do not.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbdddda7bd76 [wpt PR 43450] - css-color : modern `rgb` supports mixed component types, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.