dom: Implement stub queryCommandSupported.

This commit is contained in:
Josh Matthews 2020-05-05 15:04:18 -04:00
parent 887d5f9417
commit 19f4be38d2
3 changed files with 6 additions and 22 deletions

View file

@ -3669,6 +3669,11 @@ impl ProfilerMetadataFactory for Document {
}
impl DocumentMethods for Document {
// https://w3c.github.io/editing/ActiveDocuments/execCommand.html#querycommandsupported()
fn QueryCommandSupported(&self, _command: DOMString) -> bool {
false
}
// https://drafts.csswg.org/cssom/#dom-document-stylesheets
fn StyleSheets(&self) -> DomRoot<StyleSheetList> {
self.stylesheet_list.or_init(|| {