mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -69,14 +69,17 @@ impl CloseEvent {
|
|||
}
|
||||
|
||||
impl<'a> CloseEventMethods for &'a CloseEvent {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-closeevent-wasclean
|
||||
fn WasClean(self) -> bool {
|
||||
self.wasClean
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-closeevent-code
|
||||
fn Code(self) -> u16 {
|
||||
self.code
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-closeevent-reason
|
||||
fn Reason(self) -> DOMString {
|
||||
self.reason.clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue