Open GoogleCodeExporter opened 9 years ago
Original comment by tommy.ve...@gmail.com
on 6 Sep 2011 at 4:23
Currently, the locale text does not permit word wrapping. This is in an effort
to keep the appellation together on the second line when it would otherwise be
wrapped in the middle of the appellation but still take up only two lines.
As an example, the first layout is preferred over the second.
2009 Chasseur Chardonnay Lorenzo
(Sonoma County, Russian River Valley)
2009 Chasseur Chardonnay Lorenzo (Sonoma
County, Russian River Valley)
However, this results in the issue where price and bin numbers are truncated,
since long locales do not wrap at all (as seen in the next example).
2003 Antolini Amarone della Valpolicella Classico
(Italy, Veneto, Valpolicella, Amarone della Valpolicella Classico)
One solution would be to allow the appellation to wrap and get the layout from
the first example, with "(Sonoma" on the first line and "County..." on the
second line.
Another solution would be to only allow word wrapping after a comma in the
locale. Here is an example of the current behavior and the behavior that would
result from a change like this.
2005 Château de Reignac (Bordeaux, Bordeaux
Supérieur)
2005 Château de Reignac (Bordeaux,
Bordeaux Supérieur)
A final solution would be to use a "text-wrap: avoid;" CSS rule for the local
instead of its current "white-space: nowrap;" rule. However, text-wrap is not
currently implemented by any browsers.
http://www.w3.org/TR/2011/WD-css3-text-20110215/#wrapping
Original comment by tommy.ve...@gmail.com
on 21 Nov 2011 at 10:16
See also:
http://stackoverflow.com/questions/5392853/html-css-denoting-a-preferred-place-f
or-a-line-break
Original comment by tommy.ve...@gmail.com
on 21 Nov 2011 at 10:24
For the Amarone example above, this would be the desired layout.
2003 Antolini Amarone della Valpolicella Classico
(Italy, Veneto, Valpolicella, Amarone della Valpolicella
Classico)
Original comment by tommy.ve...@gmail.com
on 21 Nov 2011 at 10:27
Original issue reported on code.google.com by
tommy.ve...@gmail.com
on 5 Sep 2011 at 6:16