Commit Graph

5 Commits

Author SHA1 Message Date
Ting-Yu Lin
22224242ba Bug 1249556 - Implement toggling details by keyboard. r=smaug
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.

'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.

MozReview-Commit-ID: HE6IduUGCpj

--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Ting-Yu Lin
612a133caa Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.

--HG--
extra : rebase_source : 6b47e64672720ffecd23f670c31de1c7d92bee8c
2016-02-09 14:07:01 +08:00
Ting-Yu Lin
1e5d352993 Bug 591737 - Add pref for details and summary elements. r=bz
--HG--
extra : commitid : C40ecHqSxrO
extra : rebase_source : 937479989a52b57f3dec07a74dd9dad17ff69db7
2016-01-20 23:20:43 +08:00
Ting-Yu Lin
c05be25fcd Bug 591737 - Add reftest for mouse click on summary. r=bz
--HG--
extra : commitid : A6Rvr5oDl6V
extra : rebase_source : b2ad4d8cfd5b5bfa8785d6ef1df465da98f7e770
2016-01-20 23:20:42 +08:00
Ting-Yu Lin
4cf1fb1626 Bug 591737 - Add reftests for details and summary. r=bz
--HG--
extra : commitid : 4a11NfD9hZ0
extra : rebase_source : d8e2f28fb17df614a9a3da47289ba848d74c94ca
2016-01-20 23:20:41 +08:00