Skip to content

Commit acbf7a3

Browse files
committed
[css-transitions] Clean up some probably-incorrect uses of the term "computed style".
1 parent 669bf51 commit acbf7a3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

css-transitions/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ url: http://w3c.github.io/dom/#constructing-events; type: dfn; text: event const
115115
Transitions of 'left' and 'background-color'
116116
</p>
117117
<p>
118-
Transitions are a presentational effect. The computed value of a property transitions over time from the old value to the new value. Therefore if a script queries the computed style of a property as it is transitioning, it will see an intermediate value that represents the current animated value of the property.
118+
Transitions are a presentational effect. The <a>computed value</a> of a property transitions over time from the old value to the new value. Therefore if a script queries the <a>computed value</a> of a property (or other data depending on it) as it is transitioning, it will see an intermediate value that represents the current animated value of the property.
119119
</p>
120120
<p>
121121
Only animatable CSS properties can be transitioned. See the table at the end of this document for a list
@@ -1099,7 +1099,8 @@ url: http://w3c.github.io/dom/#constructing-events; type: dfn; text: event const
10991099
a style change event to happen
11001100
without the necessary transitions completing,
11011101
since firing the event could cause a style change event,
1102-
if an event handler requests up-to-date computed style.)</span>
1102+
if an event handler requests up-to-date computed style or
1103+
layout data.)</span>
11031104
</p>
11041105

11051106
<h2 id="transition-events"><span id="transition-events-">

css-transitions/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ <h2 class="heading settled" data-level="2" id="transitions"><span class="secno">
307307
</p>
308308

309309
<p>
310-
Transitions are a presentational effect. The computed value of a property transitions over time from the old value to the new value. Therefore if a script queries the computed style of a property as it is transitioning, it will see an intermediate value that represents the current animated value of the property.
310+
Transitions are a presentational effect. The <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a> of a property transitions over time from the old value to the new value. Therefore if a script queries the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a> of a property (or other data depending on it) as it is transitioning, it will see an intermediate value that represents the current animated value of the property.
311311
</p>
312312

313313
<p>
@@ -1625,7 +1625,8 @@ <h2 class="heading settled" data-level="5" id="complete"><span class="secno">5.
16251625
a style change event to happen
16261626
without the necessary transitions completing,
16271627
since firing the event could cause a style change event,
1628-
if an event handler requests up-to-date computed style.)</span>
1628+
if an event handler requests up-to-date computed style or
1629+
layout data.)</span>
16291630
</p>
16301631

16311632

0 commit comments

Comments
 (0)