Skip to main content
Topic: Weirdly truncated text on Android  (Read 3953 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Weirdly truncated text on Android

Where's the value of having the last character chopped off here?
-

Re: Weirdly truncated text on Android

Reply #1
What browser?
Bugs creator.
Features destroyer.
Template killer.

Re: Weirdly truncated text on Android

Reply #2
Currently Chrome.
-

Re: Weirdly truncated text on Android

Reply #3
arg... I cannot test it because Chrome doesn't want to work in the emulator... :-\
Bugs creator.
Features destroyer.
Template killer.


Re: Weirdly truncated text on Android

Reply #5
That assuming I have a smartphone. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: Weirdly truncated text on Android

Reply #6
Get with the times ema!!
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: Weirdly truncated text on Android

Reply #7
NOEZ!!
Bugs creator.
Features destroyer.
Template killer.

Re: Weirdly truncated text on Android

Reply #8
That is technically still a bug.
The problem is that links are cut to avoid them overflowing.
The overflow happens because of the white-space: nowrap;.

Why do we need the white-space: nowrap?
If we can get rid of it, we would be able to remove the overflow:hidden as well and have the links span on multiple lines.
Bugs creator.
Features destroyer.
Template killer.

Re: Weirdly truncated text on Android

Reply #9
I imagine it was added because in some edge cases you might get stuff like

Code: [Select]
Lalala some text [two
words]

Which would make for an easier to hit target if they weren't split up. However, I don't think that's worth making long links more worthless.

PS I don't think this happens quite the way it's shown in the OP? It looks to me like links just won't exceed one line, but they'll gladly take up the whole line.


Re: Weirdly truncated text on Android

Reply #11
Right, and I definitely consider that undesirable, but putting some words in front of it doesn't seem to make it do that particular extra-bad thing. "In fact, it may very well shorten the text inside an a tag quite a bit, of course you need to to have quite a bunch of text to have a taste of it without shrinking way too much the window."

What I see is:
Code: [Select]
"
In fact, blabla…
"

Not:
Code: [Select]
thing. "In fact…"
like on the screenshot in the OP.


Re: Weirdly truncated text on Android

Reply #13
Well yeah. Like what it does if you get rid of all the weird non-standard styling. :P


Re: Weirdly truncated text on Android

Reply #14
So we want to drop all of the a.bbc_link mumbo jumbo and have a simple word-wrap: break-word;
Be safe, Be kind, Happy Programing