mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Implement HTMLImageElement.crossOrigin
This commit is contained in:
committed by
Tim Ledbetter
parent
d7d60268ec
commit
2ffda00347
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/2ffda00347 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/24 Reviewed-by: https://github.com/tcl3 ✅
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user