From 63342a3a86ddf7dcaf7e624ee252c181ee8da3e9 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 6 Nov 2024 15:20:21 -0800 Subject: [PATCH] Remove invalid CSS hack for IE 7 and earlier Lightning CSS fails to parse this invalid CSS by default: https://lightningcss.dev/docs.html#error-recovery Signed-off-by: Anders Kaseorg --- spectrum.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spectrum.css b/spectrum.css index e68f4924..1f1b753a 100644 --- a/spectrum.css +++ b/spectrum.css @@ -10,8 +10,6 @@ License: MIT top:0; left:0; display:inline-block; - *display: inline; - *zoom: 1; /* https://github.com/bgrins/spectrum/issues/40 */ z-index: 9999994; overflow: hidden; @@ -216,7 +214,6 @@ License: MIT /* Clearfix hack */ .sp-cf:before, .sp-cf:after { content: ""; display: table; } .sp-cf:after { clear: both; } -.sp-cf { *zoom: 1; } /* Mobile devices, make hue slider bigger so it is easier to slide */ @media (max-device-width: 480px) { @@ -368,8 +365,6 @@ See http://bgrins.github.io/spectrum/themes/ for instructions. cursor:pointer; padding: 4px; display:inline-block; - *zoom: 1; - *display: inline; border: solid 1px #91765d; background: #eee; color: #333; @@ -402,7 +397,6 @@ See http://bgrins.github.io/spectrum/themes/ for instructions. } .sp-palette { - *width: 220px; max-width: 220px; } .sp-palette .sp-thumb-el {