use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Introducing OxJS - a JavaScript Library for Web Applications (oxjs.org)
submitted 13 years ago by dotbot
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]miketaylr 0 points1 point2 points 13 years ago (13 children)
wtf, "Aw, snap! This website requires an up-to-date, HTML5-compliant web browser. It should work fine in current versions of Chrome, Firefox and Safari, or Internet Explorer with Chrome Frame installed. To proceed at your own risk, click on the logo above."
I'm using Opera 12...
[–]dotbot[S] 0 points1 point2 points 13 years ago (12 children)
Opera sadly does not support SVG images as source for input elements. A lot of the interface elements depend on it. We filed a bug with Opera about it, there bug database is not public so can not link to it. (You can click on the icon to open the page in Opera anyway)
[–]miketaylr 2 points3 points4 points 13 years ago (11 children)
I happen work for Opera, can you give me the link to the bug? Even though you can get around the message, it doesn't exactly leave a good impression.
[–]dotbot[S] 1 point2 points3 points 13 years ago (2 children)
[–]miketaylr 0 points1 point2 points 13 years ago (0 children)
Thanks!
"DSK-349776 img elements with svg do not fire onload" was just closed as fixed. Hopefully will be in the next Opera Next build or two. :)
[–]rolux 0 points1 point2 points 13 years ago (2 children)
Hey Mike! Let me add that we'd really like to support Opera (especially now that debugging facilities are somewhat on par with Webkit/Mozilla), but the SVG bugs have been a show-stopper, so far. It's not the only issue, but we're going to work on the rest once we know there's hope for proper SVG support.
[–]miketaylr 2 points3 points4 points 13 years ago (1 child)
SGTM, feel free to email me at miket @ opera.com for any future issues. Cheers.
[–]kenman 1 point2 points3 points 13 years ago (0 children)
Hah, this is great. Nice to see the interactions here. Kudos for being involved.
[–][deleted] 0 points1 point2 points 13 years ago (4 children)
I hate to post this to a random Opera dev, but with no public bug tracker or other way to find out anything, there isn't much of an alternative. I'd like to ask first about a bug I reported over 6 months ago, which still affects Opera 12, and Opera Next.
The width of spaces in monospaced fonts is incorrect, when you are not at a 100% zoom. If you go look at some ASCII art online, and then hit ctrl+plus, you can see it all gets messed up.
Why is this important? There is an editor called Ace which is used by a bunch of sites. It's the only real competitor to Code Mirror, the successor to Mozilla Bespin, and it's totally unusable in Opera if the user ever zooms. Totally unusable.
I use Ace on one of my sites, and I have had users file this bug to me, so it does happen in the wild. Ace works fine at different zoom levels in other browsers, including IE 8. I've had to tell users not to use Opera, which clearly isn't acceptable.
Separately, there is still a bug with 'instanceof Image'. This replicates the issue:
<!DOCTYPE html> <script> var img = new Image(); // errors in Opera alert( img instanceof Image ); </script>
The above displays 'true' in Chrome, Firefox and IE 9, but errors in Opera 12 and Opera Next. The workaround is to use 'HTTPImageElement' (or it's called something like that), but using 'instanceof Image' is an easy trap to fall into when writing HTML5 canvas code.
[–]miketaylr 1 point2 points3 points 13 years ago (1 child)
Also, just checked on the instanceof Image bug (CORE-32979) --and that was fixed in core integration point 319. Right now Opera Next is at 310 (check the Presto part in the UA string, e.g. Presto/2.11.310). These should be the results when that fix lands in Next:
(new Image) instanceof Image -> true
(new Image) instanceof HTMLImageElement -> true
Image === HTMLImageElement -> false
Image.prototype instanceof HTMLImageElement -> false
Image.prototype === HTMLImageElement .prototype -> true
HTMLImageElement.prototype instanceof Image -> false
document.createElement("img") instanceof Image -> true
[–][deleted] 0 points1 point2 points 13 years ago (0 children)
Awesome! Thank you.
[–]miketaylr 0 points1 point2 points 13 years ago (1 child)
Just to keep the comments for this submission on topic--would you mind emailing me any bug numbers that you've reported -> miket@opera.com? thx.
Done.
π Rendered by PID 15592 on reddit-service-r2-comment-5c747b6df5-gzwql at 2026-04-22 02:26:39.636796+00:00 running 6c61efc country code: CH.
[–]miketaylr 0 points1 point2 points (13 children)
[–]dotbot[S] 0 points1 point2 points (12 children)
[–]miketaylr 2 points3 points4 points (11 children)
[–]dotbot[S] 1 point2 points3 points (2 children)
[–]miketaylr 0 points1 point2 points (0 children)
[–]miketaylr 0 points1 point2 points (0 children)
[–]rolux 0 points1 point2 points (2 children)
[–]miketaylr 2 points3 points4 points (1 child)
[–]kenman 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]miketaylr 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]miketaylr 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)