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
The output of the cascade is a (potentially empty) sorted list of declared values for each property on each element.
But the top of the cascade section contradicts that, and seems more accurate to me (emphasis added):
The cascade takes an unordered list of declared values for a given property on a given element, sorts them by their declaration’s precedence as determined below, and outputs a single cascaded value.
Am I missing something (/cc @fantasai)? This has been in every level of the spec going back 9 years, so now I don't trust my reading…
The text was updated successfully, but these errors were encountered:
After discussing with Tab, I think it's just an editorial issue. Using the term 'output' in both contexts is maybe a bit confusing. The result of the cascade is a sorted list of declared values based on precedence. If not empty, the top of that list is the single cascaded value.
At the end of the Cascade Sorting Order section, from
cascade-3
and up, it says:But the top of the cascade section contradicts that, and seems more accurate to me (emphasis added):
Am I missing something (/cc @fantasai)? This has been in every level of the spec going back 9 years, so now I don't trust my reading…
The text was updated successfully, but these errors were encountered: