summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-06-09 10:22:17 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-06-09 10:22:17 +0200
commit96149c7e28e41a2d65464fee81b364b3f2474e64 (patch)
treee905a26064aa0cd7c633b4709cd116bb8d92da88 /doc
parente6261ad92ef138b7eac1266a7f20133ff6bc0ece (diff)
downloadqutebrowser-96149c7e28e41a2d65464fee81b364b3f2474e64.tar.gz
qutebrowser-96149c7e28e41a2d65464fee81b364b3f2474e64.zip
Add content.prefers_reduced_motion
Closes #6530
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog.asciidoc6
-rw-r--r--doc/help/settings.asciidoc16
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 83d8a9601..02d388517 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -19,6 +19,12 @@ breaking changes (such as renamed commands) can happen in minor releases.
v2.3.0 (unreleased)
-------------------
+Added
+~~~~~
+
+- New `content.prefers_reduced_motion` setting to request websites to reduce
+ non-essential motion/animations.
+
Changed
~~~~~~~
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index fb208e48c..2fc4440a6 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -187,6 +187,7 @@
|<<content.pdfjs,content.pdfjs>>|Allow pdf.js to view PDF files in the browser.
|<<content.persistent_storage,content.persistent_storage>>|Allow websites to request persistent storage quota via `navigator.webkitPersistentStorage.requestQuota`.
|<<content.plugins,content.plugins>>|Enable plugins in Web pages.
+|<<content.prefers_reduced_motion,content.prefers_reduced_motion>>|Request websites to minimize non-essentials animations and motion.
|<<content.print_element_backgrounds,content.print_element_backgrounds>>|Draw the background color and images also when the page is printed.
|<<content.private_browsing,content.private_browsing>>|Open new windows in private browsing mode which does not record visited pages.
|<<content.proxy,content.proxy>>|Proxy to use.
@@ -2607,6 +2608,21 @@ Type: <<types,Bool>>
Default: +pass:[false]+
+[[content.prefers_reduced_motion]]
+=== content.prefers_reduced_motion
+Request websites to minimize non-essentials animations and motion.
+This results in the `prefers-reduced-motion` CSS media query to evaluate to `reduce` (rather than `no-preference`).
+
+This setting requires a restart.
+
+On QtWebEngine, this setting requires Qt 5.14 or newer.
+
+On QtWebKit, this setting is unavailable.
+
+Type: <<types,Bool>>
+
+Default: +pass:[false]+
+
[[content.print_element_backgrounds]]
=== content.print_element_backgrounds
Draw the background color and images also when the page is printed.