arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: https://photos.google.com/

Browser / Version: Firefox 66.0
Operating System: Linux
Tested Another Browser: Yes

Problem type: Design is broken
Description: Comments are wrapping midword on the right side of shared Google Photos albums
Steps to Reproduce:
A family member shared a Google Photos photo album with me, with some baby photos.

The photo album had a few comments, which I could see via a "2 comments" floating label at the bottom right overlaying the album. I clicked that (which reveals a right sidebar) and scrolled to see the comments, only to find that the comments' words were broken to new lines at arbitrary points, midword! See attached screenshot.

This is due to the comments having this style applied:

.FwjLJe {
    font: 400 1rem/1.5rem Roboto,Arial,sans-serif;
    word-break: break-all;
    word-break: break-word;
    word-wrap: break-word;
}

Of the two "word-break" styles there, "break-all" is the standard one (and the only one that Firefox supports). And it instructs Firefox that breaks can be inserted anywhere, so that's what we do, breaking words midword

Works in Chrome, because the second "word-break" property value ("break-word") does something there.
Screenshot Description

Browser Configuration
  • None

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
🔒 Closed: Fixed
#24886

photos.google.com - Comments are wrapping midword on the right side of shared Google Photos al

Opened: 2019-01-26
Reporter: dholbert
Comments: 6
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct