mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #5733 - marcusklaas:issue-5719, r=Manishearth
This closes issue https://github.com/servo/servo/issues/5719. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5733) <!-- Reviewable:end -->
This commit is contained in:
commit
c3ed0fd573
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ impl Document {
|
|||
implementation: Default::default(),
|
||||
location: Default::default(),
|
||||
content_type: match content_type {
|
||||
Some(string) => string.clone(),
|
||||
Some(string) => string,
|
||||
None => match is_html_document {
|
||||
// https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
|
||||
IsHTMLDocument::HTMLDocument => "text/html".to_owned(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue