Commit Graph

4 Commits

Author SHA1 Message Date
Ting-Yu Lin
972d7f0af5 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
2016-03-19 20:37:09 +08:00
Ting-Yu Lin
b707636623 Bug 591737 - Implement toggling open details by mouse click. r=bz 2016-01-20 23:20:42 +08:00
Ting-Yu Lin
5ec9e745ba Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz 2016-02-02 17:39:49 +08:00
Ting-Yu Lin
cbaa036780 Bug 591737 - Add HTMLSummaryElement. r=bz 2016-01-20 23:20:40 +08:00