Re: what's currently broken in dillo

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
> > > - 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?

Sebastian

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
khm1.html (text/html, 1.3 KB)
<html>
  <head>
    <style type="text/css">
          #a { width:100% }
	  #b { width:1000px }
    </style>
  </head>
  <body>
    <div id="a">
      <p id="b">In olden times when wishing still helped one, there
	lived a king whose daughters were all beautiful, but the
	youngest was so beautiful that the sun itself, which has seen
	so much, was astonished whenever it shone in her face. Close
	by the king's castle lay a great dark forest, and under an old
	lime-tree in the forest was a well, and when the day was very
	warm, the king's child went out into the forest and sat down
	by the side of the cool fountain, and when she was bored she
	took a golden ball, and threw it up on high and caught it, and
	this ball was her favorite plaything.</p>
      <p id="c">Now it so happened that on one occasion the princess's
	golden ball did not fall into the little hand which she was
	holding up for it, but on to the ground beyond, and rolled
	straight into the water. The king's daughter followed it with
	her eyes, but it vanished, and the well was deep, so deep that
	the bottom could not be seen. At this she began to cry, and
	cried louder and louder, and could not be comforted. And as
	she thus lamented someone said to her, "What ails you, king's
	daughter? You weep so that even a stone would show pity."</p>
    </div>
  </body>
</html>
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJUptHCAAoJEAw7+YHB+ZL6eyAH/iPiH5wRyDF7q+JZfUWSu2EE
0bbYjR90sM8JgaD1gxR59omyl6nebWhayiLw8SxAv5c6THorkTMYeGbwIVXkTiKq
qqKbSqiZQDDQuZpw9unpZbaPGPP4kLIoNa5Hi+G0IkatDwH2gpYSILFAe1wcDNYO
9/M/PbzTOl1qsfa/Ub1D78QeOMT+1DSjSePhHJ2sk68UAdH5PC8MT/Vz949ms+4Q
hGowO68hi/cJ5LjqSNT1F+TVTZiWPAM58fq69LIL+olpt2uhyYVOrXLg610OfFxY
zQZiI65U0hjmUjzasPyfnzSqV7vxWylw98QKrgNqoStDQAF1oUxx4CMU1dkuaEc=
=MxKf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.