Skip to content

Commit

Permalink
Wrong DocumentType property retvals (mdn#36497)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiqinyan authored Oct 25, 2024
1 parent 0129176 commit 692043d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions files/en-us/web/api/documenttype/publicid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ The read-only **`publicId`** property of the {{domxref("DocumentType")}} returns

For synthetic `DocumentType`, this property reflects the value given in parameter to {{domxref("DOMImplementation.createDocumentType()")}}.

For HTML documents, browsers always set it up to `html`, whatever the actual `doctype` in the source code is. For SVG documents, for example, it can be `"-//W3C//DTD SVG 1.1//EN"`.

## Value

A string.
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/documenttype/systemid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ The read-only **`systemId`** property of the {{domxref("DocumentType")}} returns

For synthetic `DocumentType`, this property reflects the value given in parameter to {{domxref("DOMImplementation.createDocumentType()")}}.

For HTML documents, browsers always set it up to `html`, whatever the actual `doctype` in the source code is. For SVG documents, for example, it can be `"http://www.w3.org/2000/svg"`.

## Value

A string.
Expand Down

0 comments on commit 692043d

Please sign in to comment.