Tests for S2.UI.Button

Using the button element

Using other kinds of elements

An anchor

A test to ensure that buttons made from different HTML elements are styled to look as similar as possible.

Buttons with icons

Regular buttons
Primary buttons
Anchors as buttons Button with one icon Button with two icons Button with one icon and no text Button with two icons and no text
Disabled buttons
Toggle buttons

In all the above groups, ensure the following:

In the "disabled" group, ensure the following:

In the "toggle" group, ensure the following:

Using checkboxes

S2.UI.Button can turn an <input type="checkbox" /> into a button with a "active" state and an "inactive" state.

Tests for S2.UI.ButtonSet

Basic

A basic S2.UI.ButtonSet with two button elements.

Using radio buttons

A ButtonSet with two radio buttons.

Miscellaneous

Icons