5 ms·
HTML5 does all of that out of the box without any flags, so it's a fair comparison.
by jaen 16y ago
HTML5 does all of that out of the box without any flags, so it's a fair comparison.
- amadiver 16y agoCould you clarify this comment? I'm unsure what HTML5 does out of the box, and what flags you're referring to. Thanks!
- jaen 16y agoHTML5 allows you to position elements on top of the drawing canvas and use a transparent canvas so the background of the page would show through the drawing. Flash does not, unless you add wmode=transparent to the parameters.
- BoppreH 16y agoNot when they are not needed, which is about 99% of the time. When I think "Flash", I think games, video and cool experiments with shining particles. None of that requires those flags, so I think forcing those is not fair.
- jaen 16y agoFlash defaults to "non-web-friendly" (windowed) flags by default, HTML5 defaults to "web-friendly" flags. As a commenter said, you can also make the canvas tag opaque by using a special browser-specific style. If you remove the windowless flag from Flash, you would have to add the opaque flag to HTML5 to make it a fair comparison.
- Sephr 16y agoYou can set the moz-opaque boolean attribute on canvii in Firefox to disable it.
- smackfu 16y agoIt just makes it a bit of a random comparison, if changing one unneeded setting changes who "wins".