mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
dom: Implement stub queryCommandSupported.
This commit is contained in:
parent
887d5f9417
commit
19f4be38d2
3 changed files with 6 additions and 22 deletions
|
@ -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(|| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue