We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137cedd commit 9c86fc9Copy full SHA for 9c86fc9
1 file changed
resize-observer-1/Overview.bs
@@ -128,10 +128,17 @@ It is modeled after {{MutationObserver}} and <a>IntersectionObserver</a>.
128
129
<pre class="idl">
130
enum ResizeObserverSizeOptions {
131
- "border-box", "content-box", "scroll-box", "pixel-snapped-box"
+ "border-box", "content-box", "scroll-box"
132
};
133
</pre>
134
135
+In order to enable flexibility for authors to observe
136
+more boxes than solely the {{content-box}} ResizeObserver takes one or more of the following enums to observe
137
+
138
+* {{border-box}} : the {{border-box}} as defined in CSS2
139
+* {{content-box}} : the {{content-box}} as defined in CSS2
140
+* {{content-box}} : the {{scrollport}} of the {{scroll container}}
141
142
<p class="issue">Is 'pixel-snapped-box' the best name?</p>
143
144
0 commit comments