Skip to content

Commit 48e7e73

Browse files
authored
Improve spec msgs for Metadata.* (mdn#6188)
1 parent 9dc3ede commit 48e7e73

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

files/en-us/web/api/metadata/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
---
1616
<p>{{ APIRef("File System API") }}{{SeeCompatTable}}{{Non-standard_header}}</p>
1717

18-
<p>The <strong><code>Metadata</code></strong> interface is used by the File and Directory Entries API to contain information about a file system entry. This metadata includes the file's size and modification date and time.</p>
18+
<p>The <strong><code>Metadata</code></strong> interface is used by the <a href="/en-US/docs/Web/API/File_and_Directory_Entries_API">File and Directory Entries API</a> to contain information about a file system entry. This metadata includes the file's size and modification date and time.</p>
1919

2020
<div class="note">
2121
<p>This interface isn't available through the global scope; instead, you obtain a <code>Metadata</code> object describing a {{domxref("FileSystemEntry")}} using the method {{domxref("FileSystemEntry.getMetadata()")}}.</p>
@@ -32,8 +32,6 @@ <h2 id="Properties">Properties</h2>
3232

3333
<h2 id="Specifications">Specifications</h2>
3434

35-
{{Specifications}}
36-
3735
<p>This API has no official W3C or WHATWG specification.</p>
3836

3937
<h2 id="Browser_compatibility">Browser compatibility</h2>

files/en-us/web/api/metadata/modificationtime/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
---
1717
<p>{{APIRef("File System API")}}{{Non-standard_header}}</p>
1818

19-
<p><span class="seoSummary">The read-only <strong><code>modificationTime</code></strong>
19+
<p>The read-only <strong><code>modificationTime</code></strong>
2020
property of the {{domxref("Metadata")}} interface is a {{jsxref("Date")}} object which
2121
specifies the date and time the file system entry (or the data referenced by the
22-
entry) was last modified.</span>A file system entry is considered to have been
22+
entry) was last modified. A file system entry is considered to have been
2323
modified if the metadata or the contents of the referenced file (or directory, or
2424
whatever other kind of file system entry might exist on the platform in use) has
2525
changed.</p>
@@ -53,6 +53,8 @@ <h2 id="Example">Example</h2>
5353
});
5454
}, handleError); </pre>
5555

56+
<h2 id="Specifications">Specifications</h2>
57+
5658
<p>This API has no official W3C or WHATWG specification.</p>
5759

5860
<h2 id="Browser_compatibility">Browser compatibility</h2>

files/en-us/web/api/metadata/size/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
---
1717
<p>{{APIRef("File System API")}}{{Non-standard_header}}</p>
1818

19-
<p><span class="seoSummary">The read-only <strong><code>size</code></strong> property of
19+
<p>The read-only <strong><code>size</code></strong> property of
2020
the {{domxref("Metadata")}} interface specifies the size, in bytes, of the referenced
21-
file or other file system object on disk.</span></p>
21+
file or other file system object on disk.</p>
2222

2323
<h2 id="Syntax">Syntax</h2>
2424

@@ -45,6 +45,8 @@ <h2 id="Example">Example</h2>
4545
}, handleError);
4646
</pre>
4747

48+
<h2 id="Specifications">Specifications</h2>
49+
4850
<p>This API has no official W3C or WHATWG specification.</p>
4951

5052
<h2 id="Browser_compatibility">Browser compatibility</h2>

0 commit comments

Comments
 (0)