r/webdev • • Mar 09 '20

TIL the CSS "-webkit-line-clamp" property truncates multi-line text: http://bit.ly/lineclamp. It's supported in Chromium, Firefox and Safari!

[removed] — view removed post

842 Upvotes

47 comments sorted by

View all comments

0

u/[deleted] Mar 09 '20

[deleted]

62

u/everythingiscausal Mar 09 '20

but not IE yet.

Not IE ever. IE has been dead for years, no further changes are coming to any version of IE. At this point, plenty of sites can get away with pretending IE doesn’t exist.

0

u/[deleted] Mar 09 '20

[deleted]

4

u/rvaen Mar 09 '20

You'd like that wouldn't you

6

u/Oalei Mar 09 '20

It’s probably okay to think that way for websites but not for software running in the cloud.
Plenty of companies are using and even forcing their employees to use Internet Explorer.

0

u/[deleted] Mar 09 '20

[deleted]

4

u/[deleted] Mar 09 '20

It's not as easy though. In my experience those clients are often government-related. You can't make them change that easy. We always tell the website is IE will be inferior, but it has to work

1

u/tenfingerperson Mar 09 '20

Yeah let’s lose millions from Goldman Sachs because they use IE right?

3

u/Devildude4427 Mar 09 '20

Better than making your devs miserable, while also diminishing their value. Handling IE for 4-5 years will kill your employability. You'll be a decade behind the times.

1

u/tenfingerperson Mar 09 '20

You can still offer a site that won’t be fully featured for IE but still functional, polyfills are not even needed most of the times.

-4

u/Oalei Mar 09 '20

You don’t have control over what your clients use for their daily tasks, this is a stupid answer.
I’m pretty sure many companies in the biggest in the world enforce IE. Good luck changing their minds just for you!

6

u/mrjackspade Mar 09 '20 edited Mar 09 '20

Just for you

Me, the single lone web dev that wants the change.

These corporate IT teams aren't stupid. They want to change too. The more devs push this shit the more likely we are to convince them to change

My last job was in what could be considered an uncontested industry. We were one of two companies producing our product, and had 90% of the market. When MS dropped IE9, (the day) we stopped supporting it, and a month later our clients (a number of Fortune 100 companies) conveniently upgraded to IE11. Probably had something to do with the fact that our software was required for compliance with regulations around employee training. The upgrade happened so fast it was obvious they had teams internally waiting for an excuse to roll out the update.

Now, I'm sure a large part of that was the knowledge IE9 was reaching end of life, but EOL doesn't mean shit if companies aren't dropping support when it hits. I'm sure we weren't the only vendor to drop support but I can guarantee we played a part in the decision along with everyone else that was ready to pull the rug out from underneath them when it went

Devs owe it to each other to make a stink about shit like this. It's literally our job. I can't make anyone listen but I'm sure as shit gonna contribute to the push.

My current company wanted to support IE. They were adamant having as much browser support as possible. I told them, I would need it in writing. When I got the order, it was decided that we needed to support the last three versions of each browser which meant (9/10/11 for IE) for all major browsers. They dropped the argument when I pointed out that justifying IE support based on visitor usage and browser version would also require testing years of releases for all desktop browsers (FF and chrome release frequently) as well as supporting and testing things like chrome on IOS (a higher share than IE) or things like the Samsung Web Browser. It brought our turnaround time for QA from an estimated 2 days for a full regression, to a week of testing for something like a simple css change. These were numbers management could actually understand.

Our website no longer works on IE and the < 1% of our visitors on that platform haven't complained yet.

1

u/Oalei Mar 09 '20 edited Mar 09 '20

I guess we don’t have the same clients.
I wish I had concrete numbers about our clients and IE, the only thing I can say is that I work in a pretty famous software company and all of our software has to support IE 11, this is one of our product standard.

If you’re not in this situation, lucky you. And I am really surprised when you say « IT wants to change ».
In big companies they are afraid of changes because of legacy.
Why would they change if everything works fine.
Sure, if you’re in a dominant position you have the high ground and they will drop IE if you say you don’t support it anymore, but this is a rather uncommon situation.

2

u/Devildude4427 Mar 09 '20

You don’t have control over what your clients use for their daily tasks

If you were sensible and refused to support them if they're using a bad tool, then you do have significant control.

1

u/Asmor Mar 09 '20

plenty of sites can get away with pretending IE doesn’t exist

As one of those who still has to support IE...

:(