Re: [w3c/FileAPI] Fold File and Directory Entries API into File API (PR #222)

@jcayzac commented on this pull request.



> @@ -824,6 +1003,13 @@ The {{File()}} constructor can be invoked with the parameters below:
     this is equivalent to <code class="lang-javascript">Date.now()</code> [[ECMA-262]].
     If a {{File}} object is created using a constructor,
     further normative conditions for this attribute are found in [[#file-constructor]].
+
+  <dt><dfn id="dfn-webkitRelativePath">webkitRelativePath</dfn>
+  <dd>The <code>webkitRelativePath</code> getter steps
+    are to return [=/this=]'s [=relative path=], or the empty string if not specified.
+
+    Note: A {{File}}'s [=relative path=] is set when the {{File}} is selected as part of a
+    directory; see the <{input/webkitdirectory}> attribute [[HTML]].

```suggestion
    directory; see the <code>webkitdirectory</code> attribute [[HTML]].
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/222#pullrequestreview-5988588831
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/pull/222/review/5988588831@github.com>

Received on Friday, 20 November 2026 06:45:45 UTC