Re:Shadow DOM
by vii on Thursday April 10, 2014 @03:03AM
(#7564568)
It's really sad that this isn't clear.
CSS was intended to be simpler than DSSSL but ended up being more complicated, harder(?) to implement and immensely less powerful. One thing that could work well would be to implement layout in JavaScript, i.e. making some layout properties like x,y,z co-ordinates available to JS and then letting it lay out the text boxes in a defined way with extensible hooks.
At least that would mean web developers would only have to learn one language, rather than two!
CSS was intended to be simpler than DSSSL but ended up being more complicated, harder(?) to implement and immensely less powerful. One thing that could work well would be to implement layout in JavaScript, i.e. making some layout properties like x,y,z co-ordinates available to JS and then letting it lay out the text boxes in a defined way with extensible hooks.
At least that would mean web developers would only have to learn one language, rather than two!