File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22Title : Resize Observer
33Shortname : resize-observer
44Level : 1
5- Status : ED
5+ Status : FPWD
6+ Prepare for TR : yes
7+ Date : 2020-02-11
68Work Status : Exploring
79ED : https://drafts.csswg.org/resize-observer/
10+ TR : https://www.w3.org/TR/resize-observer/
811Group : CSSWG
912URL : https://drafts.csswg.org/resize-observer/
1013Editor : Aleks Totic, Google, atotic@google.com, w3cid 92454
@@ -146,8 +149,8 @@ ResizeObserver can observe different kinds of CSS sizes:
146149* {{border-box}} : size of <a>box border area</a> as defined in CSS2.
147150* {{content-box}} : size of <a>content area</a> as defined in CSS2.
148151* {{device-pixel-content-box}} : size of <a>content area</a> as defined in CSS2, in device pixels,
149- before applying any CSS transforms on the element or its ancestors.
150- This size must contain integer values.
152+ before applying any CSS transforms on the element or its ancestors.
153+ This size must contain integer values.
151154
152155<p class="note">
153156The {{device-pixel-content-box}} can be approximated by multiplying <a>devicePixelRatio</a> by the {{content-box}} size.
@@ -475,7 +478,7 @@ run these steps:
475478
476479 3. For each |observation| in {{ResizeObserver/activeTargets}} perform these steps:
477480
478- 1. Let |entry| be the result of running <a>create and populate a {{ ResizeObserverEntry}} </a> given |observation|.{{ResizeObservation/target}} .
481+ 1. Let |entry| be the result of running <a>create and populate a ResizeObserverEntry</a> given |observation|.{{ResizeObservation/target}} .
479482
480483 2. Add |entry| to |entries|.
481484
You can’t perform that action at this time.
0 commit comments