w3c / fxtf-drafts

Mirror of https://hg.fxtf.org/drafts
https://drafts.fxtf.org/
Other
68 stars 49 forks source link

[compositing-2] Fixed examples with percentages in rgb() functions #457

Closed SebastianZ closed 2 years ago

SebastianZ commented 2 years ago

The syntax for rgb() only allows either all color components to be <number>s or <percentage> but not mix them. That means that 0 values must be written as 0%.

This change fixes all occurrences of those erroneous uses of rgb() and by that fixes #456.

Sebastian