Closed Bug 1156496 Opened 9 years ago Closed 6 years ago

<img> element crossorigin attribute should not affect data: URIs

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1109693

People

(Reporter: seth, Unassigned)

References

Details

From bug 702900 comment 3:

(In reply to Simon Speich from comment #3)
> This also effects image data URIs, which does not make sense. There the
> crossorigin attribute should simply be ignored imho. The following image is
> not displayed:
> 
> <!DOCTYPE html>
> <html>
> <head lang="en">
> <meta charset="UTF-8">
> <title></title>
> </head>
> <body>
> <img crossorigin="anonymous"
> src="data:image/png;base64,R0lGODlhCwALANUAAKt5DN/ETtq+fN+/cvHkxNrBjd/
> MpriHEvrxctO4KfXpMrSNQNzJpffw4Pz59P/uJP79/NCzGtSoL+vZIbePQNi1Yf/
> bINrUY+vUaNrTdceXHdrKVcWgGTk0Fv/gKv/vOP/4ncmTEAUEAf/4gv/wONS1J0A8HRQRBP/
> hKtOyJz04Gv/dKZ5sCf/3HP///
> wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC
> 4ALAAAAAALAAsAAAZYQJfQNQgNhkiCBCQhIIUVzAhTeTY0GVNG00AKAhfVJSAYOg6ITWeDODiEhRQ
> pcUp8SgUXBKBArf4eCgAQBhwPFhEiERYPHAYUEy2Sky0TFAwLLJqbLAsMQQA7">
> </body>
> </html>
> 
> Related https://bugzilla.mozilla.org/show_bug.cgi?id=1109693
The patch in bug 1109693 should fix this.
Depends on: 1109693
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.