w3c / fxtf-drafts

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

[css-masking-1] Fix <'clip'> syntax #466

Closed lahmatiy closed 1 year ago

lahmatiy commented 1 year ago

rect() should be a <reference> to a production definition

w3cbot commented 1 year ago

lahmatiy marked as non substantive for IPR from ash-nazg.

cdoublev commented 1 year ago

I think the value of clip should be defined with a "rect()" type of its own or with rect( <top>, <right>, <bottom>, <left> ) | auto. See https://github.com/w3c/csswg-drafts/issues/7219 (created in the wrong repo, sorry).

cdoublev commented 1 year ago

Would the following change be appropriate?

- Value: <<clip/rect()>> | ''clip/auto''
+ Value: <a for="clip" lt="rect()">rect( <<top>>, <<right>>, <<bottom>>, <<left>> )></a> | ''clip/auto''