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: cssom-view-1/Overview.bs
+82-33Lines changed: 82 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -2124,25 +2124,43 @@ Changes {#changes}
2124
2124
This section documents some of the changes between publications of this specification. This section is not exhaustive. Bug fixes and editorial changes are
2125
2125
generally not listed.
2126
2126
2127
-
<h3 id='changes-from-2022-07-07' class=no-num>Changes From 07 July 2022</h3>
2128
-
* Introduced the {{VisualViewport}} API and related concepts
2129
-
* Pinch zoom is now renamed to <a>scale factor</a>
2130
-
* Added visibilityProperty, opacityProperty, and contentVisiblityAuto properties for {{Element/checkVisibility()}} method.
2131
-
* Added the {{HTMLElement/scrollParent}} attribute.
2132
-
2133
-
<h3 id='changes-from-2022-06-22' class=no-num>Changes From 22 June 2022</h3>
2134
-
* Adam Argyle moved the <a event>scrollend</a> event from <a href="https://wicg.github.io/overscroll-scrollend-events/">WICG overscroll-scrollend-events</a> to [[CSSOM-VIEW-1]]
2135
-
2136
-
<h3 id='changes-from-2020-10-19' class=no-num>Changes From 19 October 2020</h3>
2137
-
* Added the "Security and Privacy Considerations" section
2127
+
<h3 id=changes-2016-03-17 class=no-num>
2128
+
Changes since the <a href="https://www.w3.org/TR/2016/WD-cssom-view-1-20160317/">17 March 2016 Working Draft</a></h3>
2129
+
2130
+
* Added Simon Fraser and Emilio Cobos Álvarez as current editors and moved Simon Pieters to former editors.
2131
+
* Clarified how {{Range/getClientRects()}} handles <a spec=css-text>typographic character unit</a>s.
2132
+
* Changed how {{Element/getBoundingClientRect()}} of {{Element}} and {{Range/getBoundingClientRect()}} of {{Range}} handle empty rectangles.
2133
+
* Changed definition of {{HTMLElement/offsetParent}} for Shadow DOM.
2134
+
* Allowed UAs to lie about {{Screen}} properties for privacy reasons.
2135
+
* Changed {{Screen/colorDepth}} and {{Screen/pixelDepth}} to return real values.
2136
+
* Changed 'CSS pixels' to refer to [[!CSS-VALUES]].
2137
+
* Changed default values for {{ScrollIntoViewOptions}} to <code>start</code> and <code>nearest</code> and slightly changed behavior of {{Element/scrollIntoView()}}
2138
+
* Added {{Window/screenLeft}} and {{Window/screenTop}} as aliases for {{Window/screenX}} and {{Window/screenY}}.
2139
+
* Defined overflow directions in terms of <a>block-end</a> and <a>inline-end</a>.
2140
+
* Renamed the arguments to {{Window/resizeTo()}} to be <var>width</var> and <var>height</var>
2141
+
* Added script-triggered scroll-snap to list of scrolls affected by 'scroll-behavior'.
2138
2142
* Fixed a logical error in the Terminology section.
2143
+
* Added the "Security and Privacy Considerations" section
2139
2144
* Moved the 'scroll-behavior' property to [[CSS-OVERFLOW-3]]
2145
+
* Adjusted the algorithm for {{HTMLElement/offsetWidth}} and {{HTMLElement/offsetHeight}}.
2146
+
* Added {{Element/checkVisibility()}} method to {{Element}}.
2147
+
* Moved the <a event>scrollend</a> event from <a href="https://wicg.github.io/overscroll-scrollend-events/">WICG overscroll-scrollend-events</a> to [[CSSOM-VIEW-1]] and added details for handling them.
2148
+
* Added a "get the bounding box" algorithm to {{Element/getBoundingClientRect()}}.
2149
+
* Introduced the {{VisualViewport}} API and related concepts.
2150
+
* Extended scroll into view algorithm to also work on {{Range|Ranges}}.
2151
+
* Clarified whether scaled or unscaled dimensions are returned by various APIs in relation to the 'zoom' property.
2152
+
* Took scroll snapping and scroll target into account for various scrolling APIs.
2153
+
* Added {{Element/currentCSSZoom}} attribute to {{Element}}.
2154
+
* Added ''options'' parameter to {{Document/caretPositionFromPoint()}} method.
2155
+
* Removed caret range concept from CaretPosition interface.
2156
+
* Defined post-layout snapshotting.
2157
+
* Made the various scrolling algorithms accept a pseudo-element.
2158
+
* Added ''container'' option to {{ScrollIntoViewOptions}}.
2159
+
* Added the {{HTMLElement/scrollParent}} attribute.
2160
+
* Pinch zoom got renamed to <a>scale factor</a>.
2140
2161
2141
-
<h3 id='changes-from-2020-01-31' class=no-num>Changes From 31 January 2020</h3>
2142
-
* Added Simon Fraser as editor
2143
-
* Renamed the arguments to {{Window/resizeTo()}} to be <var>width</var> and <var>height</var> (<a href="https://github.com/w3c/csswg-drafts/issues/4727">4727</a>)
2144
-
2145
-
<h3 id='changes-from-2013-12-17' class=no-num>Changes From 17 December 2013 To 31 January 2020</h3>
2162
+
<h3 id=changes-2013-12-17 class=no-num>
2163
+
Changes since the <a href="https://www.w3.org/TR/2013/WD-cssom-view-20131217/">17 December 2013 Working Draft</a></h3>
2146
2164
2147
2165
* The {{Element/scrollIntoView()}} method on {{Element}} was changed and extended.
2148
2166
* The {{Element/scrollTop}} and {{Element/scrollLeft}} IDL attributes on {{Element}} changed to no
@@ -2164,23 +2182,54 @@ generally not listed.
2164
2182
dictionary as the first argument.
2165
2183
* The {{MediaQueryList}} interface was changed to use regular event API and define
2166
2184
{{MediaQueryList/addListener()}} in terms of that.
2167
-
2168
-
<h3 id='changes-from-2011-08-04' class=no-num>Changes From 4 August 2011 To 17 December 2013</h3>
2169
-
2170
-
* The specification now handles right-to-left and vertical writing modes.
2171
-
* The specification is now aware of <a>page zoom</a> and pinch zoom.
2172
-
* The 'scroll-behavior' CSS property is introduced and scrolling APIs are extended with a mechanism to control smooth scrolling.
2173
-
* The {{Window/moveTo()}}, {{Window/moveBy()}}, {{Window/resizeTo()}} and {{Window/resizeBy()}} methods are now defined.
2174
-
* {{Window/innerWidth}} et al now use the WebIDL type {{double}} instead of {{long}}.
2175
-
* {{Window/devicePixelRatio}} is now defined.
2176
-
* The <code>features</code> argument to <a method for=Window lt="open()">window.open()</a> is now defined.
2177
-
* The {{Screen/colorDepth}} and {{Screen/pixelDepth}} attributes of {{Screen}} now always return 24.
2178
-
* The {{Document/elementsFromPoint()}} method of {{Element}} is introduced.
2179
-
* The specification is now aware of <a>transforms</a>.
2180
-
* Some geometry utility APIs are introduced but are not yet specified.
2181
-
* <code>ClientRect</code> has been renamed to {{DOMRect}} and has moved to the Geometry specification. [[GEOMETRY-1]]
2182
-
* The specification now defines when the <code>resize</code> and <code>scroll</code> events fire.
2183
-
2185
+
* Added "Change History" section.
2186
+
* Moved Glenn Adams to former editors.
2187
+
2188
+
<h3 id=changes-2011-08-04 class=no-num>
2189
+
Changes since the <a href="https://www.w3.org/TR/2011/WD-cssom-view-20110804/">04 August 2011 Working Draft</a></h3>
2190
+
2191
+
* Added Simon Pieters and Glenn Adams as editors and moved Anne van Kesteren to former editors.
2192
+
* Introduced 'scroll-behavior' CSS property.
2193
+
* Added <a>Block flow direction</a> and <a>inline base direction</a> from [[CSS-WRITING-MODES-3]] to terminology.
2194
+
* Added section about zooming.
2195
+
* Added {{Window/moveTo()}}, {{Window/moveBy()}}, {{Window/resizeTo()}}, and {{Window/resizeBy()}} methods to {{Window}}.
2196
+
* Added {{Window/devicePixelRatio}} attribute to {{Window}}.
2197
+
* Introduced {{ScrollOptions}} dictionary and added an 'options' parameter to scrolling methods.
2198
+
* Added {{Window/devicePixelRatio}} attribute to {{Window}}.
2199
+
* Added ''features'' parameter to {{Window/open()}} method.
2200
+
* Added {{Document/elementsFromPoint()}} method to {{Document}}.
2201
+
* Added {{CaretPosition/getClientRect()}} method to {{CaretPosition}}.
2202
+
* Introduced initial draft of {{GeometryUtils}} interface.
2203
+
* Changed {{Window/innerWidth}}, {{Window/innerHeight}}, etc. to use ''double''.
2204
+
* CSS <a>transforms</a> are now acknowledged.
2205
+
* Replaced <code>ClientRect</code> by {{DOMRect}}.
2206
+
* Defined the firing behavior of <a event>scroll</a> and <a event>resize</a> events.
2207
+
* Changed {{Screen/colorDepth}} and {{Screen/pixelDepth}} to always return 24.
2208
+
2209
+
<h3 id=changes-2009-08-04 class=no-num>
2210
+
Changes since the <a href="https://www.w3.org/TR/2009/WD-cssom-view-20090804/">04 August 2009 Working Draft</a></h3>
2211
+
2212
+
* Removed redundant definition of terminology of other specifications, explicitly defining units (e.g. CSS pixels) and content/document content distinction.
2213
+
* Introduced {{MediaQueryList}} interface.
2214
+
* Moved the <code>matchMedium()</code> method of the <code>Media</code> to the {{Window}} interface, renamed it to {{Window/matchMedia()}}, and changed its return type to {{MediaQueryList}}.
2215
+
* Removed the <code>AbstractView</code> and <code>Media</code> interfaces.
2216
+
* Removed the <code>DocumentView</code> interface and moved methods {{Document/elementFromPoint()}} and <code>caretRangeFromPoint()</code> to the {{Document}} interface.
2217
+
* Renamed the <code>caretRangeFromPoint()</code> method to {{Document/caretPositionFromPoint()}}.
2218
+
* Introduced {{CaretPosition}} interface and changed the return type of {{Document/caretPositionFromPoint()}} to ''CaretPosition''.
2219
+
* Added the {{Element/scrollIntoView()}} method to the {{Element}} interface.
2220
+
2221
+
<h3 id=changes-2008-02-22 class=no-num>
2222
+
Changes since the <a href="https://www.w3.org/TR/2008/WD-cssom-view-20080222/">22 February 2008 Working Draft</a></h3>
2223
+
2224
+
* Removed the <code>WindowView</code> interface and moved its attributes and methods to an <code>AbstractView</code> and inheriting <code>ScreenView</code> interface.
2225
+
* Added the <code>document</code> IDL attribute to <code>AbstractView</code>.
2226
+
* Added the {{Window/scroll()}}, {{Window/scrollTo()}}, and {{Window/scrollBy()}} methods to the <code>ScreenView</code> interface.
2227
+
* Removed the <code>ElementView</code> interface and moved its attributes and methods to the {{Element}} and {{HTMLElement}} interfaces.
2228
+
* Added the {{Document/defaultView}} IDL attribute and <code>caretRangeFromPoint()</code> method to the <code>DocumentView</code> interface.
2229
+
* Removed <code>RangeView</code> interface and instead directly extended the {{Range}} interface.
2230
+
* Removed the <code>MouseEventView</code> interface and instead directly extended the {{MouseEvent}} interface.
2231
+
* Renamed the <code>TextRectangleList</code> interface to <code>ClientRectList</code> and turned the <code>item()</code> method into an indexed getter.
2232
+
* Renamed the <code>TextRectangle</code> interface to <code>ClientRect</code> and added the <code>width</code> and <code>height</code> attributes.
0 commit comments