mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb: Implement HTMLImageElement.crossOrigin
This commit is contained in:
parent
d7d60268ec
commit
2ffda00347
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/jamierocks
Commit: 2ffda00347
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/24
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 9 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
for (let elementName of ["audio", "script", "video", "link"]) {
|
||||
for (let elementName of ["audio", "script", "video", "link", "img"]) {
|
||||
const element = document.createElement(elementName);
|
||||
println(`${elementName} crossOrigin initial value: ${element.crossOrigin}`);
|
||||
element.crossOrigin = "invalid";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue