CSS word-wrap broken/not working anymore with updated chrome Version 49.0.2623.8

1,570 views
Skip to first unread message

thanesh kumar

unread,
Mar 24, 2016, 11:25:31 AM3/24/16
to Chromium-discuss
CSS issue

word-wrap:break-word;
white-space:pre
max-width:300px;

this CSS with the old version of chrome works fine for a table cell. With upgrade this is no more working.


Thanks

Thanesh

Christian Biesinger

unread,
Mar 24, 2016, 12:20:06 PM3/24/16
to thane...@gmail.com, Chromium-discuss
This is the second report I've seen that expects white-space: pre to
still break lines. Why do you want to do that?

-Christian
> --
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
>

thanesh kumar

unread,
Mar 24, 2016, 12:42:32 PM3/24/16
to Chromium-discuss, thane...@gmail.com
In the old version if we have a white-space:pre and a max-width specified for a table cell, Max-width will take effect if the cell content is too long with the help of word-wrap we can break into multiple lines. 

Thanks

Thanesh

Christian Biesinger

unread,
Mar 24, 2016, 12:44:59 PM3/24/16
to thane...@gmail.com, Chromium-discuss
I meant, what's the point of white-space: pre? You sound like you want
linebreaking, why are you using white-space: pre?

-Christian

thanesh kumar

unread,
Mar 24, 2016, 12:53:24 PM3/24/16
to Chromium-discuss, thane...@gmail.com
pre helps to display the text exactly the way it is. like a PRE tag in HTML. Text may be of any kind can be a code, tab space white space or a single line of long text. If it is overflowing beyond the max-width insted of showing a scroll bar in a table cell we want to wrap into a new line.

Thanks

Thanesh

thanesh kumar

unread,
Mar 24, 2016, 12:57:08 PM3/24/16
to Chromium-discuss, thane...@gmail.com
We tried with the White-space:pre-wrap too but the Max-width of the table cell is not taken up.
Thanks

Thanesh

PhistucK

unread,
Mar 24, 2016, 12:59:09 PM3/24/16
to thane...@gmail.com, Chromium-discuss
Now, this does sound like a bug.
You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

You can reply with a link to the found or created issue and might get triaged (and fixed) faster.

Thank you.



PhistucK

You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

thanesh kumar

unread,
Mar 24, 2016, 1:17:43 PM3/24/16
to Chromium-discuss, thane...@gmail.com

PhistucK

unread,
Mar 24, 2016, 1:21:27 PM3/24/16
to thane...@gmail.com, Chromium-discuss
This issue discusses white-space: pre; which is the expected behavior. I was referring to white-space: pre-wrap; not working as expected.


PhistucK

Christian Biesinger

unread,
Mar 24, 2016, 1:25:49 PM3/24/16
to thanesh kumar, Chromium-discuss

That's specific to textareas. I'd create a new bug report for table cells.

-Christian

Tejinder Pal Singh

unread,
Jul 30, 2019, 4:16:54 AM7/30/19
to Chromium-discuss, thane...@gmail.com
Hi
Thanks 
 This works for me "white-space:pre"
Reply all
Reply to author
Forward
0 new messages