4 ms·
So, is this because they're microtargetting Acid compliance? Or do they actually have 90% of a browser layout engine? And if it's the latter, what would actua
by AndrewDucker 13y ago
So, is this because they're microtargetting Acid compliance? Or do they actually have 90% of a browser layout engine?
And if it's the latter, what would actually need to be done to build the rest of a browser around it?
- paraboul 13y agoIIRC Acid1 only targets basic CSS compliance (http://en.wikipedia.org/wiki/Acid1 http://en.wikipedia.org/wiki/Acid1). I guess that most of the DOM API (end user level) has yet to be done along with the javascript API (binding) controlling it (e.g. XHR, Websocket, DOM manipulation, domain security control, etc...). Next : the browser itself (chrome, modules, tabs, external interfaces, UI, ...). So, no, not 90%. But I would attribute 50% for starting the project itself and having created something as awesome as Rust.
- pcwalton 13y ago> I guess that most of the DOM API (end user level) needs to be done along with the javascript API controlling it (e.g. XHR, Websocket, DOM manipulation, domain security control, etc...). We do have JavaScript and DOM bindings but they're incomplete. (None of the items you mentioned are implemented, except for basic DOM manipulation.)
- kibwen 13y ago> Next : the browser itself (chrome, modules, tabs, > external interfaces, UI, ...). I'd like to note that Servo itself is intended to be a layout engine independent of any specific front-end. The forthcoming UI reference implementation, a.k.a. Crow (seeing a theme yet?), can be tracked here: https://github.com/mozilla/servo/issues/111 https://github.com/mozilla/servo/issues/111
- sanxiyn 13y agoAs written in OP, Servo currently lacks table layout and absolute positioning. Those are pretty big items, so no, not 90%. Acid2-passing layout engine doesn't need to be that big. http://weasyprint.org/ http://weasyprint.org/ is known to pass Acid2 and renders the web pretty well. It does all layout by itself in less than 15,000 lines of Python.
- jessaustin 13y agoThanks for the pointer. I love it that the output of the test is just a smiley face.
- sanxiyn 13y agoThere is a guide explaining how the smiley is drawn. Interesting reading. http://www.webstandards.org/action/acid2/guide/ http://www.webstandards.org/action/acid2/guide/