[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838178: tracker.debian.org: "action needed" details show only with Javascript enabled



Mapreri pointed out on IRC that there's now an HTML tag for that kind
of "toggle details" views. It's in use here:
https://tests.reproducible-builds.org/debian/unstable/amd64/index_pkg_sets.html

The tags are <details> and <summary>:
<details>
  <summary>Short version</summary>
  Long version here
</details>

But while the tags exist for a while already, they are only implemented
in recent versions of browsers (Firefox >= 48 notably). So it might make
sense to have some javascript fallback for old browsers.

see http://html5doctor.com/the-details-and-summary-elements/ and
http://www.w3schools.com/tags/tag_details.asp

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: