GoogleChromeLabs / css-triggers

A reference for the render impact of mutating CSS properties.
https://csstriggers.com/
Apache License 2.0
902 stars 70 forks source link

Add more general forms of properties like border-radius #35

Closed IchordeDionysos closed 7 years ago

IchordeDionysos commented 7 years ago

Add border-radius property.

Triggers same steps like border-bottom-left-radius, border-top-left-radius, border-top-right-radius and border-bottom-right-radius

IchordeDionysos commented 7 years ago

Same for other properties like border-color, border-style and so on.

It's kinda confusing if you search for such a property and you don't find it. And well when it's in all four cases the same, I think the 'parent' property should be listed as well.

I think most people would intuitively search for the more general property than for the side specific one.

surma commented 7 years ago

That’s because they are CSS shorthands. We only list primitive CSS properties. Maybe we’ll add shorthands eventually, but the test suite will need some fixing up to distinguish those from primitives.