Fix Decode doc link

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Bentaimia Haddadi 2024-02-06 11:18:32 +01:00
parent ba359083e5
commit dba5daddeb

View file

@ -1609,7 +1609,7 @@ impl HTMLImageElementMethods for HTMLImageElement {
}
}
/// <https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode>
/// <https://html.spec.whatwg.org/multipage/#dom-img-decode>
fn Decode(&self) -> Rc<Promise> {
// Step 1
let promise = Promise::new(&self.global());