GoogleChrome / samples

A repo containing samples tied to new functionality in each release of Google Chrome.
https://www.chromestatus.com/samples
Apache License 2.0
5.77k stars 2.38k forks source link

More text and change hyphenated word to fix demo #755

Closed hugovk closed 1 year ago

hugovk commented 2 years ago

now

Even at minimum width, the Chrome (95, desktop) window is too wide to trigger the text to break and demo the hyphens:

image

https://googlechrome.github.io/samples/css-hyphens/index.html

PR

Double the text to allow it to break, and also move the soft hyphen into "ipsum" so it may break too:

image

https://hugovk.github.io/samples/css-hyphens/

(Just so happens this now demonstrates a Chromium tofu bug, reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=1270110)

hugovk commented 1 year ago

Closing this year old PR but happy to re-open if there's interest.