Trait DocumentExecCommandSupport
Source pub(crate) trait DocumentExecCommandSupport {
// Required methods
fn is_command_supported(&self, command_id: DOMString) -> bool;
fn is_command_indeterminate(&self, command_id: DOMString) -> bool;
fn command_state_for_command(&self, command_id: DOMString) -> bool;
fn command_value_for_command(&self, command_id: DOMString) -> DOMString;
fn check_support_and_enabled(
&self,
command_id: DOMString,
can_gc: CanGc,
) -> Option<(Box<dyn BaseCommand>, DomRoot<Selection>)>;
fn exec_command_for_command_id(
&self,
command_id: DOMString,
value: DOMString,
can_gc: CanGc,
) -> bool;
}