#7053: non-visible text on websites ----------------------------------------+---------------------------- Reporter: mmadia | Owner: leavengood Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: Applications/WebPositive | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Changes (by leavengood): * owner: stippi => leavengood * status: new => assigned Comment: Thanks for taking the time to do that debugging ribbonz, it really helped me find this faster. Basically we don't draw this text because our port does not implement various "complex text" methods in WebKit. Specifically Font::floatWidthForComplexText() is called when this optimizeLegibility CSS rule is defined, but our unimplemented version just returns 0. I think after that WebKit gives up rendering the text. I'm not sure how quickly I can properly implement these methods, but I suspect we could get by with at least implementing something basic. Funnily enough, our port is not the only one suffering from this. In certain cases Chrome won't render text with this property defined, and like us, webOS won't render text at all! http://www.aestheticallyloyal.com/public/optimize-legibility/ In that sense I think WebKit screwed up when implementing this and should have better handled ports not implementing these functions. Of course they may have fixed this problem since then but our port has not been updated in a very long time. For now I think I'll continue working on updating our port and let this issue stand by for now. But at least we now know why it happens. -- Ticket URL: <http://dev.haiku-os.org/ticket/7053#comment:5> Haiku <http://dev.haiku-os.org> Haiku - the operating system.