Re: what's currently broken in dillo
Jorge Arellano Cid <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 02, 2015 at 06:13:38PM +0100, Sebastian Geerken wrote:
> > > > - on some sites, the ending words of a line are missing.
> >
> > The forecasts on the US national weather service page do this for me.
> > See the Detailed Forecast section.
> > Example: http://forecast.weather.gov/MapClick.php?lat=40&lon=-90
>
> I'm not sure, I cannot reproduce it now; but I've fixed a bug
> demonstrated in the attached test page. Element #b is 1000px wide, but
> its parent, #a, is set to 100%, which refers to the viewport width
> (more or less), which may be less than 1000px. Note also #c, which is
> broken at the viewport width.
>
> Without 'adjust_min_width' set, parts of #b are indeed clipped; when
> set to 'YES', the width of #a, and so the srollable area, are adjusted
> (but not the width of #c), so that you can scroll to the right to read
> the rest.
>
> Currently, 'adjust_min_width' is not set by default. Probably, it
> should be set, to avoid such cases. What do you think?
Speaking from experience gained from having to handle HTML
parsing errors, and table apportioning algorithms, with all the
contradicting directives, overrides, etc.
In the long run, having dillo decide the final values by
adding a cleanup stage at some points, has emerged as the choice
with better rendering.
(e.g. w3c_plus_heuristics=YES, cleanup_at_{open, close}(),
contrast_visited_color=YES, ... ;)
--
Cheers
Jorge.-