Link to fire an event definition · WICG/visual-viewport@74efebe
dontcallmedo
·
2022-06-09
·
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 |
|---|
@@ -355,7 +355,7 @@ <h3>Additions to the CSSOM-VIEW <code>Events</code> section</h3>
|
355 | 355 | <li> |
356 | 356 | If doc's associated <a>Window</a>'s <a>VisualViewport</a>'s <a>scale</a>, |
357 | 357 | <a>width</a>, or <a>height</a> properties have changed since |
358 | | - the last time these steps were run, fire an event named |
| 358 | + the last time these steps were run, [=fire an event=] named |
359 | 359 | <code>resize</code> at the doc's associated <a>Window</a>'s |
360 | 360 | <a>VisualViewport</a>. |
361 | 361 | </li> |
@@ -369,8 +369,8 @@ <h3>Additions to the CSSOM-VIEW <code>Events</code> section</h3>
|
369 | 369 | <p> |
370 | 370 | <strike>If target is a Document, fire an event named scroll that bubbles at target.</strike> |
371 | 371 | </p> |
372 | | - If <code>target</code> is a <a>Document</a>, fire an event named <code>scroll</code> that |
373 | | - bubbles at <code>target</code>. Then, fire an event named <code>scroll</code> at the |
| 372 | + If <code>target</code> is a <a>Document</a>, [=fire an event=] named <code>scroll</code> that |
| 373 | + bubbles at <code>target</code>. Then, [=fire an event=] named <code>scroll</code> at the |
374 | 374 | <a>VisualViewport</a> of the Document's associated <a>Window</a>. |
375 | 375 | </li> |
376 | 376 | </ol> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。