This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This was was cloned from bug 17689 as part of operation convergence. Originally filed: 2012-07-04 08:52:00 +0000 Original reporter: Yang Sun <eric.sun@huawei.com> ================================================================================ #0 Yang Sun 2012-07-04 08:52:07 +0000 -------------------------------------------------------------------------------- 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. ================================================================================ #1 Travis Leithead [MSFT] 2012-07-05 17:19:20 +0000 -------------------------------------------------------------------------------- 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. ================================================================================ #2 Yang Sun 2012-07-06 08:48:00 +0000 -------------------------------------------------------------------------------- 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 you want to display local files, just use <iframe src="file://..."></iframe> point to the directory. It won't work on the public Web, because we don't want to expose local files on public Web pages.