3 ms·
Now you're pushing it, but it's getting there :) Shadow DOM is the specification that will fix the collision/cascading issue, making it possible to isolate com
by ricardobeat 13y ago
Now you're pushing it, but it's getting there :)
Shadow DOM is the specification that will fix the collision/cascading issue, making it possible to isolate components. You can now write your own shaders, use custom masks/clipping etc, and of course, SVG for unlimited vector shapes. If that's not enough, write your own graphics layer with WebGL or Canvas.
http://jsbin.com/ezocec/3/edit http://jsbin.com/ezocec/3/edit
http://cl.ly/1q1b0T0n0l0u http://cl.ly/1q1b0T0n0l0u
Now around ~80% less code.
This is a fun but pointless showdown of course, these are technologies born worlds apart, with different audiences, purposes and constraints. HTML appeared in 1990, with the sole purpose of marking up hypertext, grew organically and has a hundred other interoperability concerns; QML showed up in 2009 (?), twenty years later, and was designed to solve specific problems. I'm certain the web wouldn't have grown as fast if it didn't have a stack as accessible as html/css.