about summary refs log tree commit diff
path: root/public
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-05-08 21:22:57 +0200
committerGitHub <noreply@github.com>2020-05-08 21:22:57 +0200
commite1629a77585245493d4b0ffb8d612d19b53d9087 (patch)
tree0b3669ece202629efb3d2adc8d0a036aff5fae36 /public
parent0d62e097077b60c9914c2f9c425fce69c9b693eb (diff)
Remove 'unsafe-inline' from Content-Security-Policy style-src (#13679)
* Make sure wicg-inert doesn't rely on inline CSS

* Remove unsafe-inline from style-src
Diffstat (limited to 'public')
-rw-r--r--public/inert.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/inert.css b/public/inert.css
new file mode 100644
index 000000000..275fad2e6
--- /dev/null
+++ b/public/inert.css
@@ -0,0 +1,11 @@
+[inert] {
+  pointer-events: none;
+  cursor: default;
+}
+
+[inert], [inert] * {
+  user-select: none;
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+}