Subject: bug#21012: 25.0.50; eww: last char of a line sometimes not fully visible

From: Michael Heerdegen <[email-masked]>
Date: Wed, 08 Jul 2015 22:31:34 +0200

Eli Zaretskii <[email-masked]> writes:

> I believe the problem is that the code determines whether the line
> should be wrapped based on this test:
>
>     (shr-vertical-motion shr-internal-width)
>     (when (looking-at " $")  <<<<<<<<<<<<<<<<<<<<<<<<<
>       (delete-region (point) (line-end-position)))
>

I think no.  AFAIU

    (shr-vertical-motion shr-internal-width)

goes to the position where the line should be broken at the latest.

I think the code you cited just deletes any whitespace before breaking
the line.

Michael.