On Sat, 30 Sep 2006, James Bursa wrote:
What was the change below to layout.c for? The width of the inline
container
shouldn't depend on the contents, and I don't think this is correct for
right-justified or centred text.
Sorry about the delay, I only noticed this today.
James
That change was to make textareas gain a horizontal scrollbar if a line
is too long and can't be split by the wordwrapping function. As far as I
know it should only affect textareas, but you're probably right that it's
broken for right-justified/centred text (assuming such a thing is possible
in a textarea, or is even supported by netsurf).
The only downside to the code that I know if is that you type a long word,
type a series of short words below it, then delete the long word, the
textarea will remain the width of the long word until the line below is
edited.
Cheers,
- Jeffrey