Mozilla Bug 452388

This treeitem has aria-selected="true" and should get STATE_SELECTABLE. It should also get STATE_SELECTED.
This treeitem has aria-selected="false" and should get STATE_SELECTABLE.
This treeitem has aria-selected="" and should <emph>not</emph> get STATE_SELECTABLE.
This treeitem has aria-selected="undefined" and should <emph>not</emph> get STATE_SELECTABLE.
This treeitem has <emph>no</emph> aria-selected attribute and should <emph>not</emph> get STATE_SELECTABLE.
This menuitem has aria-checked="true" and should get STATE_CHECKABLE. It should also get STATE_checked.
This menuitem has aria-checked="false" and should get STATE_CHECKABLE.
This menuitem has aria-checked="" and should <emph>not</emph> get STATE_CHECKABLE.
This menuitem has aria-checked="undefined" and should <emph>not</emph> get STATE_CHECKABLE.
This menuitem has <emph>no</emph> aria-checked attribute and should <emph>not</emph> get STATE_CHECKABLE.
This checkbox has aria-checked="true" and should get STATE_CHECKABLE. It should also get STATE_checked.
This checkbox has aria-checked="false" and should get STATE_CHECKABLE.
This checkbox has aria-checked="" and should <emph>not</emph> get STATE_CHECKABLE.
This checkbox has aria-checked="undefined" and should <emph>not</emph> get STATE_CHECKABLE.
This checkbox has <emph>no</emph> aria-checked attribute and should <emph>not</emph> get STATE_CHECKABLE.
This button has aria-pressed="true" and should get ROLE_TOGGLE_BUTTON. It should also get STATE_PRESSED.
This button has aria-pressed="false" and should get ROLE_TOGGLE_BUTTON.
This button has aria-pressed="" and should <emph>not</emph> get ROLE_BUTTON.
This button has aria-pressed="undefined" and should <emph>not</emph> get ROLE_TOGGLE_BUTTON.
This button has <emph>no</emph> aria-pressed attribute and should <emph>not</emph> get ROLE_TOGGLE_BUTTON.