LWN.net Logo

Ubuntu and window controls

Ubuntu and window controls

Posted Mar 25, 2010 9:38 UTC (Thu) by michaeljt (subscriber, #39183)
In reply to: Ubuntu and window controls by michaeljt
Parent article: Ubuntu and window controls

Oh no, just seen what a mess Epiphany-Webkit has made of the formatting there. It didn't
look like that in the preview!


(Log in to post comments)

Ubuntu and window controls

Posted Mar 25, 2010 14:06 UTC (Thu) by drag (subscriber, #31333) [Link]

Unfortunately it's a problem with all the webkit browsers and lwn. They seem to like to inject newlines were they are not wanted. I don't hae this problem in other forms. Have to use the br element and use 'html' format.

Ubuntu and window controls

Posted Mar 25, 2010 14:33 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

Yes, I saw your pain in some of your previous postings :) Do you know if this is a webkit bug, or whether it is to do with some unfortunate interaction between webkit and lwn? I opened a ticket for it with the webkit people, but if it doesn't appear to be their fault I will close it again.

Ubuntu and window controls

Posted Mar 25, 2010 14:55 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

No, it definitely affects Launchpad too.

Ubuntu and window controls

Posted Mar 25, 2010 15:53 UTC (Thu) by foom (subscriber, #14868) [Link]

Webkit is just doing physical wrap, as the form definition requests!

LWN's comment text field says:
<textarea wrap="physical" rows="15" name="c_body" cols="75">

I'm not sure why LWN even has that attribute: I'd suggest just removing it. I'm pretty sure the site
code itself already hard wraps any input you send it, so asking the browser to do so too is just
asking for trouble...

(Note that that's not actually part of any HTML spec: it's a netscape extension from way back
when...)

Ubuntu and window controls

Posted Mar 25, 2010 18:15 UTC (Thu) by bronson (subscriber, #4806) [Link]

Awesome!! I've wondered what was going on. Removing it sounds prudent.

Pretty funny that Mozilla ignores it while Chrome and Konq support it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds