From 96149c7e28e41a2d65464fee81b364b3f2474e64 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 9 Jun 2021 10:22:17 +0200 Subject: Add content.prefers_reduced_motion Closes #6530 --- doc/changelog.asciidoc | 6 ++++++ doc/help/settings.asciidoc | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) (limited to 'doc') 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 @@ |<>|Allow pdf.js to view PDF files in the browser. |<>|Allow websites to request persistent storage quota via `navigator.webkitPersistentStorage.requestQuota`. |<>|Enable plugins in Web pages. +|<>|Request websites to minimize non-essentials animations and motion. |<>|Draw the background color and images also when the page is printed. |<>|Open new windows in private browsing mode which does not record visited pages. |<>|Proxy to use. @@ -2607,6 +2608,21 @@ Type: <> 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: <> + +Default: +pass:[false]+ + [[content.print_element_backgrounds]] === content.print_element_backgrounds Draw the background color and images also when the page is printed. -- cgit v1.2.3-54-g00ecf