Discussion:
line wrapping
corvid
2013-06-19 16:29:45 UTC
Permalink
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
hg bisect says that it started with:

changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Sebastian Geerken
2013-06-26 15:17:41 UTC
Permalink
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.

Sebastian
Jorge Arellano Cid
2013-06-26 17:22:06 UTC
Permalink
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
--
Cheers
Jorge.-
Sebastian Geerken
2013-06-27 17:20:23 UTC
Permalink
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)

How does the attached page look like? What experiences do other users
make?

Sebastian
Johannes Hofmann
2013-06-27 18:29:09 UTC
Permalink
Post by Sebastian Geerken
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)
How does the attached page look like? What experiences do other users
make?
The only difference I noticed compared to firefox is that dillo
doesn't seem to line-break stuff in the inner boxes (e.g.
"body {background-color: purple}")
I can't really say whether it should though.

Johannes
Sebastian Geerken
2013-06-28 15:08:13 UTC
Permalink
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)
How does the attached page look like? What experiences do other users
make?
The only difference I noticed compared to firefox is that dillo
doesn't seem to line-break stuff in the inner boxes (e.g.
"body {background-color: purple}")
I can't really say whether it should though.
What do you mean with "inner boxes"? BTW, I do not see any difference
between Firefox (Iceweasel 10.0.12) and dillo revision 2861.

What about <http://www.dillo.org/FAQ.html>?

Sebastian
Johannes Hofmann
2013-06-29 16:30:09 UTC
Permalink
Post by Sebastian Geerken
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)
How does the attached page look like? What experiences do other users
make?
The only difference I noticed compared to firefox is that dillo
doesn't seem to line-break stuff in the inner boxes (e.g.
"body {background-color: purple}")
I can't really say whether it should though.
What do you mean with "inner boxes"? BTW, I do not see any difference
between Firefox (Iceweasel 10.0.12) and dillo revision 2861.
What about <http://www.dillo.org/FAQ.html>?
I meant the "inner boxes" on http://www.dillo.org/FAQ.html. E.g the
one containing "body {background-color: purple}".

That one doesn't line break for me in dillo, but does so in firefox.
But I don't know whether this is the thing Jorge was talking about
in his initial post.

Johannes
Jorge Arellano Cid
2013-06-29 18:55:30 UTC
Permalink
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)
How does the attached page look like? What experiences do other users
make?
The only difference I noticed compared to firefox is that dillo
doesn't seem to line-break stuff in the inner boxes (e.g.
"body {background-color: purple}")
I can't really say whether it should though.
What do you mean with "inner boxes"? BTW, I do not see any difference
between Firefox (Iceweasel 10.0.12) and dillo revision 2861.
What about <http://www.dillo.org/FAQ.html>?
I meant the "inner boxes" on http://www.dillo.org/FAQ.html. E.g the
one containing "body {background-color: purple}".
That one doesn't line break for me in dillo, but does so in firefox.
But I don't know whether this is the thing Jorge was talking about
in his initial post.
FYI, I managed to reduce the test page to under 1KB, sent it to Sebastian
along with some debug info, and two interesting facts that pinpoint
much better what's going on.

For instance, I had:

pre {white-space: pre-wrap}

in my .dillo/style.css, commenting it avoids the bug.

There's also a DIV element in the test page with lang=en, setting
lang to "de", but keeping my style.css, also avoids the bug. Setting
lang to "es" also shows the bug.
--
Cheers
Jorge.-
Sebastian Geerken
2013-07-02 16:13:01 UTC
Permalink
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Johannes Hofmann
Post by Sebastian Geerken
Post by Jorge Arellano Cid
Post by Sebastian Geerken
Post by corvid
I noticed that lines aren't wrapping for me with
http://www.dillo.org/FAQ.html .
changeset: 2838:b2b239eb45b9
summary: Fixed problem with hyphenation.
Fixed. I didn't fully understand the problem, but the latest change
makes sense and solves the problem.
After updating to hg tip, the problem persists for me...
With revision 2861:686f563e96d4? How does it look like? (Perhaps send
a screenshot, or scp it to dillo.org.)
How does the attached page look like? What experiences do other users
make?
The only difference I noticed compared to firefox is that dillo
doesn't seem to line-break stuff in the inner boxes (e.g.
"body {background-color: purple}")
I can't really say whether it should though.
What do you mean with "inner boxes"? BTW, I do not see any difference
between Firefox (Iceweasel 10.0.12) and dillo revision 2861.
What about <http://www.dillo.org/FAQ.html>?
I meant the "inner boxes" on http://www.dillo.org/FAQ.html. E.g the
one containing "body {background-color: purple}".
That one doesn't line break for me in dillo, but does so in firefox.
But I don't know whether this is the thing Jorge was talking about
in his initial post.
As far as I see, this is because the maximal width of these "inner
boxes" is larger than the minimal width of the "outer box", which is
defined by a wider "pre" section. The differences should depend on
fonts etc.

Anyway, Jorge has confirmed that his problem has been fixed by my
latest change. I hope that also some other glitches (which can be seen
but are hard to define precisely) have gone.

Sebastian

Loading...