jensimmons/cssremedy

`inert` attribute remedy?

Malvoz opened this issue · 1 comments

See WICG/inert#180 for background.

I.e. something along the lines of:

[inert] {
  cursor: default !important;
  pointer-events: none !important;
}

[inert], [inert] * {
overflow: hidden !important; /* (https://github.com/WICG/inert/pull/33) */
-webkit-user-modify: read-only !important;
   -moz-user-modify: read-only !important;
        user-modify: read-only !important;
-webkit-user-select: none !important;
   -moz-user-select: none !important;
    -ms-user-select: none !important;
        user-select: none !important;
}

Similar to #71.