You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the anchor() function's optional fallback value, the spec text specifies <length-percentage>, but the corresponding WPT, anchor-parse-valid.html, considers the use of anchor() function itself to be valid, seemingly contradicting the spec text.
It seems to me that both the spec and the test were initially committed this way - Which one is correct?
The text was updated successfully, but these errors were encountered:
So the fallback is somewhat desirable IMO, e.g. you can chain things together like:
right: anchor(--a left, anchor(--b left))
e.g. if "a" doesn't exist, use "b".
Note this is different than something like: min(anchor(--a left), anchor(--b left)) as this will resolve the unknowns to zero, having an affect on the result.
For the
anchor()
function's optional fallback value, the spec text specifies<length-percentage>
, but the corresponding WPT,anchor-parse-valid.html
, considers the use ofanchor()
function itself to be valid, seemingly contradicting the spec text.It seems to me that both the spec and the test were initially committed this way - Which one is correct?
The text was updated successfully, but these errors were encountered: