- From: snianu <notifications@github.com>
- Date: Tue, 27 Jul 2021 17:53:06 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 28 July 2021 00:53:19 UTC
@snianu commented on this pull request.
> </dt>
<dd>
<p>
- The attribute reports the intersection of the VK with the layout viewport in client coordinates.
+ The attribute reports the intersection of the VK with the layout viewport in client coordinates. It is set when {{VirtualKeyboard/ongeometrychange}} event is fired.
+ Setter steps are as follows:
+ <ol>
+ <li>
+ Let `osk` be the on-screen keyboard rectangle in CSS pixels that is provided by the OS when the VK visibility changes.
+ </li>
+ <li>
+ Let `lv` be the layout viewport's bounds in CSS pixels.
+ </li>
+ <li>
+ Set [=this=]'s {{VirtualKeyboard/boundingRect}} to be the intersection of `lv` and `osk` in CSS pixels.
Added a `DOMRect` object to store the intersection of the rectangles.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/pull/317#discussion_r677895746
Received on Wednesday, 28 July 2021 00:53:19 UTC