Not having styles applied using !important declarations makes the attribute feel less robust than I'd like.
I tried the attribute on a purely decorative map (from the popular Leaflet JS library), but in many cases pointer-events: none was overridden due to their internal use of pointer-events: auto.
Not having styles applied using
!important
declarations makes the attribute feel less robust than I'd like.I tried the attribute on a purely decorative map (from the popular Leaflet JS library), but in many cases
pointer-events: none
was overridden due to their internal use ofpointer-events: auto
.In https://github.com/WICG/inert/pull/33, some styles have
!important
declarations, can they all have? Or should it be left up to the author? Similar to[hidden] { display: none !important; }
(https://github.com/jensimmons/cssremedy/issues/71#issuecomment-771180150)?