mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -62,12 +62,17 @@ impl ProgressEvent {
|
|||
}
|
||||
|
||||
impl<'a> ProgressEventMethods for &'a ProgressEvent {
|
||||
// https://xhr.spec.whatwg.org/#dom-progressevent-lengthcomputable
|
||||
fn LengthComputable(self) -> bool {
|
||||
self.length_computable
|
||||
}
|
||||
|
||||
// https://xhr.spec.whatwg.org/#dom-progressevent-loaded
|
||||
fn Loaded(self) -> u64{
|
||||
self.loaded
|
||||
}
|
||||
|
||||
// https://xhr.spec.whatwg.org/#dom-progressevent-total
|
||||
fn Total(self) -> u64 {
|
||||
self.total
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue