Re:How Scribd's HTML document reader works (part 1)
by matthiaskramm on Monday May 17, 2010 @07:05PM
(#1355880)
Well. We're talking about making this work in quite a number of different browsers, including IE6. So yes, it is.
[ Parent
| on HN ]
Re:How Scribd's HTML document reader works (part 1)
by modeless on Monday May 17, 2010 @07:37PM
(#1355957)
IE (including IE6) supports transforms, as you point out yourself. Of course they don't do it in a standards-compliant way, but that's true for their custom font support also. What problems did you run into?
Re:How Scribd's HTML document reader works (part 1)
by matthiaskramm on Monday May 17, 2010 @07:57PM
(#1355991)
Performance issues, among others. IE's DXImageTransform, as the name suggests, renders an html element to an image and then transforms that entire image.
Re:How Scribd's HTML document reader works (part 1)
by blasdel on Monday May 17, 2010 @10:49PM
(#1356249)
The VML APIs that've been in IE forever are all pretty damn fast individually, but displaying the results slows the rendering down significantly. It's like how straightforward PHP is damn fast as a templating system, but absurdly slow for implementing a high-level templating system in.
Besides, text selection wouldn't work.
Have y'all managed to avoid implementing a GDocs-style system for hiding text underneath bitmaps for selection?
Re:How Scribd's HTML document reader works (part 1)
by modeless on Tuesday May 18, 2010 @12:57AM
(#1356541)
Rendering an HTML element to an image isn't inherently slow; Safari does the same to hardware accelerate CSS animations via Core Animation and it's quite fast there. Of course, it's entirely possible IE's implementation is terrible.
I'm curious about the other issues you had as well.
Re:How Scribd's HTML document reader works (part 1)
by nimbupani on Monday May 17, 2010 @11:33PM
(#1356358)
Is font obfuscation why the text of http://www.scribd.com/documents/31051131/Scribd-HTML5-The-Fu... gibberish?
Re:How Scribd's HTML document reader works (part 1)
by snowmaker on Tuesday May 18, 2010 @02:44AM
(#1356765)
You see gibberish? I can't repro - can you send me a screenshot?
Re:How Scribd's HTML document reader works (part 1)
by eyelidlessness on Tuesday May 18, 2010 @04:02PM
(#1358840)
I can't say I see gibberish, but I do see pretty serious rendering problems in the latest Safari (though not in Chrome). Things are positioned wrong all over the document.
http://magictubes.com/images/Scribd/1.png
http://magictubes.com/images/Scribd/2.png
http://magictubes.com/images/Scribd/3.png
http://magictubes.com/images/Scribd/4.png