Spin-off from #1507960: [meta] Isolate and/or remove IE-specific hacks in core markup, CSS and JavaScript and #1465948: [meta] Drop some IE8 coddling from Drupal core.

I grepped HEAD for CSS files containing the words "Microsoft" or "filter:", and found only toolbar.css. Here's a clean up of that. It means IE8 users will not see a drop shadow below the toolbar, but based on discussions in those meta issues, I think that's ok for D8.

This also removes the moz and webkit versions of box-shadow, because I think all modern versions of those browsers support box-shadow itself at this point.

Comments

nod_’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +JavaScript clean-up
StatusFileSize
new87.43 KB

IE8 toolbar screenshot

Height adjustments works for body displacement and tableheader. All good. Tested on the real IE8 not the emulated from IE9/10.

effulgentsia can you add the JS clean-up tag to those issues please? it helps :)

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks!

droplet’s picture

+++ b/core/modules/toolbar/toolbar.cssundefined
@@ -39,11 +39,7 @@ body.toolbar-drawer {
-  -webkit-box-shadow: 0 3px 20px #000;

recall my memory. we only drop -webkit-border-radius. All android version need the prefixes.

aspilicious’s picture

http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_box-shadow

We don't need the -webkit prefix anymore for box shadow apparantly. :D
Certainly not in 2013 ;)

droplet’s picture

Sure, I don't want it back too. But randomly remove stuff is not good. There many -webkit prefix still exist in CORE. Will you add an follow up issue? (remove all) Without an announce, some other issues may add it back.

droplet’s picture

aspilicious’s picture

There are not many -webkit prefixes left, I commented in the linked issue.

Automatically closed -- issue fixed for 2 weeks with no activity.