mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Handle crossorigin in link and refactor crossorigin handling
Implemented Step three and handled step four of obtain the resource part of 4.2.4 The link element. Link to spec : https://html.spec.whatwg.org/multipage/semantics.html#concept-link-obtain Refactored crossOrigin handling in HTMLScriptElement, HTMLImageElement
This commit is contained in:
parent
dc93a72997
commit
3d9e44a8c4
10 changed files with 81 additions and 202 deletions
|
@ -8,7 +8,7 @@ interface HTMLImageElement : HTMLElement {
|
|||
attribute DOMString alt;
|
||||
attribute DOMString src;
|
||||
// attribute DOMString srcset;
|
||||
attribute DOMString crossOrigin;
|
||||
attribute DOMString? crossOrigin;
|
||||
attribute DOMString useMap;
|
||||
attribute boolean isMap;
|
||||
attribute unsigned long width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue