parent
cd53318c7f
commit
0cabedfeef
@ -25,6 +25,7 @@ Added
|
|||||||
- New command `:scroll-px` which replaces `:scroll` for pixel-exact scrolling.
|
- New command `:scroll-px` which replaces `:scroll` for pixel-exact scrolling.
|
||||||
- New setting `ui -> smooth-scrolling`.
|
- New setting `ui -> smooth-scrolling`.
|
||||||
- New setting `content -> webgl` to enable/disable https://www.khronos.org/webgl/[WebGL].
|
- New setting `content -> webgl` to enable/disable https://www.khronos.org/webgl/[WebGL].
|
||||||
|
- New setting `content -> css-regions` to enable/disable support for http://dev.w3.org/csswg/css-regions/[CSS Regions].
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@ -136,6 +136,7 @@
|
|||||||
|<<content-allow-javascript,allow-javascript>>|Enables or disables the running of JavaScript programs.
|
|<<content-allow-javascript,allow-javascript>>|Enables or disables the running of JavaScript programs.
|
||||||
|<<content-allow-plugins,allow-plugins>>|Enables or disables plugins in Web pages.
|
|<<content-allow-plugins,allow-plugins>>|Enables or disables plugins in Web pages.
|
||||||
|<<content-webgl,webgl>>|Enables or disables WebGL.
|
|<<content-webgl,webgl>>|Enables or disables WebGL.
|
||||||
|
|<<content-css-regions,css-regions>>|Enable or disable support for CSS regions.
|
||||||
|<<content-geolocation,geolocation>>|Allow websites to request geolocations.
|
|<<content-geolocation,geolocation>>|Allow websites to request geolocations.
|
||||||
|<<content-notifications,notifications>>|Allow websites to show notifications.
|
|<<content-notifications,notifications>>|Allow websites to show notifications.
|
||||||
|<<content-javascript-can-open-windows,javascript-can-open-windows>>|Whether JavaScript programs can open new windows.
|
|<<content-javascript-can-open-windows,javascript-can-open-windows>>|Whether JavaScript programs can open new windows.
|
||||||
@ -1162,6 +1163,17 @@ Valid values:
|
|||||||
|
|
||||||
Default: +pass:[true]+
|
Default: +pass:[true]+
|
||||||
|
|
||||||
|
[[content-css-regions]]
|
||||||
|
=== css-regions
|
||||||
|
Enable or disable support for CSS regions.
|
||||||
|
|
||||||
|
Valid values:
|
||||||
|
|
||||||
|
* +true+
|
||||||
|
* +false+
|
||||||
|
|
||||||
|
Default: +pass:[true]+
|
||||||
|
|
||||||
[[content-geolocation]]
|
[[content-geolocation]]
|
||||||
=== geolocation
|
=== geolocation
|
||||||
Allow websites to request geolocations.
|
Allow websites to request geolocations.
|
||||||
|
@ -613,6 +613,10 @@ def data(readonly=False):
|
|||||||
SettingValue(typ.Bool(), 'true'),
|
SettingValue(typ.Bool(), 'true'),
|
||||||
"Enables or disables WebGL."),
|
"Enables or disables WebGL."),
|
||||||
|
|
||||||
|
('css-regions',
|
||||||
|
SettingValue(typ.Bool(), 'true'),
|
||||||
|
"Enable or disable support for CSS regions."),
|
||||||
|
|
||||||
('geolocation',
|
('geolocation',
|
||||||
SettingValue(typ.BoolAsk(), 'ask'),
|
SettingValue(typ.BoolAsk(), 'ask'),
|
||||||
"Allow websites to request geolocations."),
|
"Allow websites to request geolocations."),
|
||||||
|
@ -256,6 +256,8 @@ MAPPINGS = {
|
|||||||
Attribute(QWebSettings.PluginsEnabled),
|
Attribute(QWebSettings.PluginsEnabled),
|
||||||
'webgl':
|
'webgl':
|
||||||
Attribute(QWebSettings.WebGLEnabled),
|
Attribute(QWebSettings.WebGLEnabled),
|
||||||
|
'css-regions':
|
||||||
|
Attribute(QWebSettings.CSSRegionsEnabled),
|
||||||
'local-content-can-access-remote-urls':
|
'local-content-can-access-remote-urls':
|
||||||
Attribute(QWebSettings.LocalContentCanAccessRemoteUrls),
|
Attribute(QWebSettings.LocalContentCanAccessRemoteUrls),
|
||||||
'local-content-can-access-file-urls':
|
'local-content-can-access-file-urls':
|
||||||
|
Loading…
Reference in New Issue
Block a user