<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17887</bug_id>
          
          <creation_ts>2012-07-18 07:12:32 +0000</creation_ts>
          <short_desc>tree element to display directory</short_desc>
          <delta_ts>2012-09-27 23:54:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eric.sun</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>travil</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70244</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:12:32 +0000</bug_when>
    <thetext>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 &lt;eric.sun@huawei.com&gt;

================================================================================
 #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-&gt;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&apos;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 &lt;explorer src=&quot;file:///x/xx&quot;&gt;&lt;/explorer&gt; will really be very simple.

(In reply to comment #1)
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74693</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-27 23:54:09 +0000</bug_when>
    <thetext>If you want to display local files, just use &lt;iframe src=&quot;file://...&quot;&gt;&lt;/iframe&gt; point to the directory.

It won&apos;t work on the public Web, because we don&apos;t want to expose local files on public Web pages.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>