Merge pull request #77 from dlibby-/dlibby-segments-typo · WICG/visual-viewport@9d2419c
travisleithe
·
2021-09-11
·
via Recent Commits to visual-viewport:gh-pages
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
| Original file line number | Diff line number | Diff line change |
|---|
@@ -147,7 +147,7 @@ <h3>The <dfn><code>VisualViewport</code></dfn> interface</h3>
|
147 | 147 | |
148 | 148 | readonly attribute double scale; |
149 | 149 | |
150 | | - readonly attribute FrozenArray<DOMRect> segments; |
| 150 | + readonly attribute FrozenArray<DOMRect>? segments; |
151 | 151 | |
152 | 152 | attribute EventHandler onresize; |
153 | 153 | attribute EventHandler onscroll; |
@@ -274,7 +274,7 @@ <h3>The <dfn><code>VisualViewport</code></dfn> interface</h3>
|
274 | 274 | When the visual viewport spans across some number of physical features of a device, these features in turn convey a logical separation of the space available for content. |
275 | 275 | </p> |
276 | 276 | <p> |
277 | | -<code>segements</code> is null when there is only a single viewport segment. Returns null when called from within an iframe context. |
| 277 | +<code>segments</code> is null when there is only a single viewport segment. Returns null when called from within an iframe context. |
278 | 278 | </p> |
279 | 279 | </dd> |
280 | 280 | <div class="note"> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。