Email or username:

Password:

Forgot your password?
Top-level
Mayank

@andreu seems to me like the old one should be completely ignored if the new one is present (regardless of order of appearance)

i believe that's how it works for standard scrollbar styling vs the older -webkit prefixed selectors; i use this example because it's closer to line-clamp than other prefixed properties in terms of behavioral difference

2 comments
Andreu Botella :verified_enby:

@mayank Huh, that is an interesting precedent that I didn't know about! But it's also a very different thing, because legacy selectors work very differently from the standard version.

Mayank

@andreu yeah, maybe not the best example. i don't think it's useful to compare with simpler prefixed properties though; i assume the new line-clamp will be significantly different from the old one.

another point of comparison could be logical properties, which cascade separately from physical properties, and the final resolution depends on a (re)cascade between the two. but this one is also maybe not a fair comparison, because logical:physical is almost 1:1. i guess line-clamp is kind of unique

Go Up