mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Follow to the specification and add HTMLVideoElement to CanvasImageSource union type to allow use it as image source for createPattern/drawImage operations. https://html.spec.whatwg.org/multipage/#canvasimagesource https://html.spec.whatwg.org/multipage/#dom-context-2d-createpattern https://html.spec.whatwg.org/multipage/#dom-context-2d-drawimage The HTMLVideoElement media resource has an associated origin: - media provider object (MediaStream/MediaSource/Blob): CORS-same-origin - URL record: CORS-cross-origin/CORS-same-origin https://html.spec.whatwg.org/multipage/media.html#media-resource Testing: - html/canvas/element/* - html/semantics/embedded-content/the-canvas-element/* Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
---|---|---|
.. | ||
bfcache | ||
image-maps/image-map-processing-model | ||
media-elements | ||
the-area-element | ||
the-audio-element | ||
the-canvas-element | ||
the-embed-element | ||
the-frame-element | ||
the-iframe-element | ||
the-img-element | ||
the-object-element | ||
the-video-element |