From 170411310755092324ea26fb5c0fe4f35c1e7166 Mon Sep 17 00:00:00 2001
From: David Bokan minimum-scale
maximum-scale
user-scalable
interactive-widgets
@@ -260,6 +261,85 @@ as follows:
Issue: Specify extend-to-zoom behavior by the viewport meta tag
+
''interactive-widgets''
+
+Issue: Move the definition of ''visual viewport'' from CSSOM-View to this spec.
+
+The interactive-widgets
property specifies the effect that interactive UI
+widgets have on the page's viewports. It defines whether widgets overlay a given viewport or whether
+the viewport is shrunken so that it remains fully visible while the widget is showing. Interactive
+UI widgets are transient user agent or operating system UI through which a user can provide input.
+
+
+
+
+If no value, or an invalid value, is set for [=interactive-widgets=], the behavior implied by
+[=resize-visual=] is used as the default.
+
+To resize a viewport by an interactive widget, subtract from it the
+intersection of the viewport rect with the widget's OS reported bounding rect. In cases where this
+would result in a non-rectangular viewport, the behavior is user agent defined.
+
+overlays-content
true
.
+ resize-layout
resize-visual
+ Interaction with virtualKeyboard.overlaysContent
+
+
+The virtual-keyboard API provides an imperitive API to apply the [=overlays-content=] behavior via
+the
+virtualKeyboard.overlaysContent attribute. This attribute shadows the value set to
+[=interactive-widgets=], namely:
+
+When virtualKeyboard.overlaysContent
is set to true
, the UA MUST ignore
+any value set to [=interactive-widgets=] when determining the resizing behavior of interactive
+widgets.
+
+When virtualKeyboard.overlaysContent
is set to false
, the UA MUST use the
+value set to [=interactive-widgets=], or the default behavior if a value is not set, when
+determining the resizing behavior of interactive widgets.
+
+Getting value of virtualKeyboard.overlaysContent
MUST return only the value previously
+set to it.
+
+virtualKeyboard.overlaysContent
returns false
+ even if interactive-widgets=overlays-content
is set via the <meta>
+ tag.
+
{
"Algorithms": {
From a9380384c61253e359101d06423eeedfc1eff449 Mon Sep 17 00:00:00 2001
From: David Bokan
overlays-content
true
.
resize-layout
virtualKeyboard.overlaysContent
is set to false
,
value set to [=interactive-widgets=], or the default behavior if a value is not set, when
determining the resizing behavior of interactive widgets.
-Getting value of virtualKeyboard.overlaysContent
MUST return only the value previously
+Getting the value of virtualKeyboard.overlaysContent
MUST return only the value previously
set to it.
minimum-scale
maximum-scale
user-scalable
interactive-widgets
interactive-widget
@@ -261,18 +261,18 @@ as follows:
Issue: Specify extend-to-zoom behavior by the viewport meta tag
-
''interactive-widgets''
+''interactive-widget''
Issue: Move the definition of ''visual viewport'' from CSSOM-View to this spec.
-The interactive-widgets
property specifies the effect that interactive UI
+The interactive-widget
property specifies the effect that interactive UI
widgets have on the page's viewports. It defines whether widgets overlay a given viewport or whether
the viewport is shrunken so that it remains fully visible while the widget is showing. Interactive
UI widgets are transient user agent or operating system UI through which a user can provide input.
@@ -284,24 +284,24 @@ viewport-resizing behavior:
as when
VirtualKeyboard.overlaysContent is set to
-If no value, or an invalid value, is set for [=interactive-widgets=], the behavior implied by
-[=resize-visual=] is used as the default.
+If no value, or an invalid value, is set for [=interactive-widget=], the behavior implied by
+[=resizes-visual=] is used as the default.
To resize a viewport by an interactive widget, subtract from it the
intersection of the viewport rect with the widget's OS reported bounding rect. In cases where this
@@ -321,14 +321,14 @@ would result in a non-rectangular viewport, the behavior is user agent defined.
The virtual-keyboard API provides an imperitive API to apply the [=overlays-content=] behavior via
the
virtualKeyboard.overlaysContent attribute. This attribute shadows the value set to
-[=interactive-widgets=], namely:
+[=interactive-widget=], namely:
When true
.
- resize-layout
resizes-document
resize-visual
resizes-visual
virtualKeyboard.overlaysContent
is set to true
, the UA MUST ignore
-any value set to [=interactive-widgets=] when determining the resizing behavior of interactive
+any value set to [=interactive-widget=] when determining the resizing behavior of interactive
widgets.
When virtualKeyboard.overlaysContent
is set to false
, the UA MUST use the
-value set to [=interactive-widgets=], or the default behavior if a value is not set, when
+value set to [=interactive-widget=], or the default behavior if a value is not set, when
determining the resizing behavior of interactive widgets.
Getting the value of virtualKeyboard.overlaysContent
MUST return only the value previously
@@ -336,7 +336,7 @@ set to it.
virtualKeyboard.overlaysContent
returns false
- even if interactive-widgets=overlays-content
is set via the <meta>
+ even if interactive-widget=overlays-content
is set via the <meta>
tag.
+spec: virtual-keyboard; urlPrefix: https://w3c.github.io/virtual-keyboard
+ type: interface; text: VirtualKeyboard; url: dom-virtualkeyboard
+ type: attribute; text: overlaysContent; for: VirtualKeyboard; url: dom-virtualkeyboard-overlayscontent
+
+
Introduction
@@ -280,9 +286,8 @@ viewport-resizing behavior:
true
.
+ as when {{VirtualKeyboard/overlaysContent|VirtualKeyboard.overlaysContent}} is set to
+ true
.
resizes-document
virtualKeyboard.overlaysContent
is set to true
, the UA MUST ignore
-any value set to [=interactive-widget=] when determining the resizing behavior of interactive
-widgets.
+When {{VirtualKeyboard/overlaysContent|VirtualKeyboard.overlaysContent}} is set to
+true
, the UA MUST ignore any value set to [=interactive-widget=] when determining the
+resizing behavior of interactive widgets.
-When virtualKeyboard.overlaysContent
is set to false
, the UA MUST use the
-value set to [=interactive-widget=], or the default behavior if a value is not set, when
-determining the resizing behavior of interactive widgets.
+When {{VirtualKeyboard/overlaysContent|VirtualKeyboard.overlaysContent}} is set to
+false
, the UA MUST use the value set to [=interactive-widget=], or the default behavior
+if a value is not set, when determining the resizing behavior of interactive widgets.
-Getting the value of virtualKeyboard.overlaysContent
MUST return only the value previously
-set to it.
+Getting the value of {{VirtualKeyboard/overlaysContent|VirtualKeyboard.overlaysContent}} MUST return
+only the value previously set to it.
virtualKeyboard.overlaysContent
returns false
+ That is, unless previously set, VirtualKeyboard.overlaysContent
returns false
even if interactive-widget=overlays-content
is set via the <meta>
tag.
true
.
resizes-document
resizes-content
resizes-visual