Make -is-* classes take priority over button type.
Review Request #13974 — Created June 14, 2024 and submitted — Latest diff uploaded
The classes for ink buttons had combined rules for the class names and
type attributes, but this meant that it was impossible to have a
<button type="submit" class="-is-danger">
(since the submit rule came
after the danger rule). This change splits those rules up so the classes
will take priority over the type attribute.
Used this on a page that had a submit button that needed to be marked as
dangerous.