This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
when develop some application need to display local files in a hierachy style, it is not convinient to write a tree style UI for directory->file show,like windows explorer. I think other developer also have this requirement, so can we have a tree element to display directory/file in a tree style.
If I understand your use-case correctly, I believe the technique used is nested list items. This is how table-of-contents are typically done, which is very similar in practice to directory/file listings. I don't think we need a new semantic element for this.
But we need to write more JS/CSS code to get a similar effect as windows explorer, and it make the web page redundant and large in size. a <explorer src="file:///x/xx"></explorer> will really be very simple. (In reply to comment #1) > If I understand your use-case correctly, I believe the technique used is nested > list items. This is how table-of-contents are typically done, which is very > similar in practice to directory/file listings. > > I don't think we need a new semantic element for this.
This bug was cloned to create bug 17887 as part of operation convergence.
Moving this feature request to post-HTML5.
Mass move to "HTML WG"
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the Editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the Tracker Issue; or you may create a Tracker Issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Rejected Change Description: No spec change. Rationale: As Ian said in bug 17887 comment 1, your stated use case can be addressed by <iframe src="file://..."></iframe>. Feel free to reopen if you have additional use cases which would require such a feature!