Skip to content

Commit 1f351e4

Browse files
committed
Change to note that transforms do affect getClientRects() and
getBoundingClientRect(), and add a paragraph to the Module Interations section about his. Also change wording of the note on transforms not affecting layout, to note that they do affect overflow.
1 parent 8eb3cac commit 1f351e4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

css-transforms/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2014-01-25 Simon Fraser <simon.fraser@apple.com>
2+
Change to note that transforms do affect getClientRects() and
3+
getBoundingClientRect(), and add a paragraph to the Module Interations
4+
section about his.
5+
6+
Also change wording of the note on transforms not affecting layout,
7+
to note that they do affect overflow.
8+
19
2013-10-15 Dirk Schulze <dschulze@adobe.com>
210
Transforms do not affect Element Interface extensions.
311
Perspective do not affect SVG object bounding box.

css-transforms/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ <h2 id="module-interactions">Module Interactions</h2>
8888

8989
Transforms affect the rendering of backgrounds on elements with a value of ''fixed'' for the 'background-attachment' property, which is specified in [[!CSS3BG]].
9090

91+
Transforms affect the client rectangles returned by the Element Interface Extensions <a href="http://www.w3.org/TR/cssom-view/#dom-element-getclientrects">getClientRects()</a> and <a href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect">getBoundingClientRect()</a>, which are specified in [[CSSOM-VIEW]].
92+
9193
<h2 id="css-values">CSS Values</h2>
9294

9395
This specification follows the <a href="http://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions</a> from [[!CSS21]]. Value types not defined in these specifications are defined in CSS Values and Units Module Level 3 [[!CSS3VAL]].
@@ -242,7 +244,7 @@ <h2 id="transform-rendering">The Transform Rendering Model</h2>
242244

243245
Transforms apply to <i>transformable elements</i>.
244246

245-
Note: Transformations do affect the visual layout on the canvas, but have no affect on the CSS layout itself. This also means transforms do not affect results of the Element Interface Extensions <a href="http://www.w3.org/TR/cssom-view/#dom-element-getclientrects">getClientRects()</a> and <a href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect">getBoundingClientRect()</a>, which are specified in [[CSSOM-VIEW]].
247+
Note: Transformations do affect the visual rendering, but have no affect on the CSS layout other than affecting overflow. Transforms are also taken into account when computing client rectangles exposed via the Element Interface Extensions, namely <a href="http://www.w3.org/TR/cssom-view/#dom-element-getclientrects">getClientRects()</a> and <a href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect">getBoundingClientRect()</a>, which are specified in [[CSSOM-VIEW]].
246248

247249
<div class="example">
248250
<pre>

0 commit comments

Comments
 (0)