You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resize-observer-1/Overview.bs
+19-13Lines changed: 19 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -139,8 +139,6 @@ more boxes than solely the {{content-box}} ResizeObserver takes one or more of t
139
139
* {{content-box}} : the {{content-box}} as defined in CSS2
140
140
* {{content-box}} : the {{scrollport}} of the {{scroll container}}
141
141
142
-
<p class="issue">Is 'pixel-snapped-box' the best name?</p>
143
-
144
142
<pre class="idl">
145
143
dictionary ResizeObserverOptions {
146
144
(ResizeObserverSizeOptions or sequence<ResizeObserverSizeOptions>) size = "content-box";
@@ -168,9 +166,7 @@ interface ResizeObserver {
168
166
169
167
3. Add |this| to {{Document}}'s {{Document/resizeObservers}} slot.
170
168
171
-
4. Set layoutBox to value provided if it is "padding-box", "border-box", "content-box". If the value is not one of these, use the default value of "content-box".
172
-
173
-
: <dfn method>observe(target)</dfn>
169
+
: <dfn method>observe(target, options)</dfn>
174
170
::
175
171
Adds target to the list of observed elements.
176
172
@@ -215,7 +211,9 @@ This callback delivers {{ResizeObserver}}'s notifications. It is invoked by a
0 commit comments