Skip to content

Commit 251cce2

Browse files
committed
Nonpositive lengths for 'perspective' should be invalid
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=16183.
1 parent c73b13e commit 251cce2

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

css3-transforms/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2012-03-12 ayg@aryeh.name
2+
Nonpositive lengths for 'perspective' should be invalid
3+
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=16183.
4+
15
2012-03-12 ayg@aryeh.name
26
Make perspective-origin syntax match transform-origin
37
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=16064.

css3-transforms/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,8 +1723,8 @@ <h2 id=perspective-property><span class=secno>10. </span> The &lsquo;<a
17231723
</table>
17241724

17251725
<p> If the value is &lsquo;<code class=css><code
1726-
class=css>none</code></code>&rsquo;, less than or equal to 0 no
1727-
perspective transform is applied.
1726+
class=css>none</code></code>&rsquo;, no perspective transform is applied.
1727+
Lengths must be positive.
17281728

17291729
<p> The use of this property with any value other than &lsquo;<code
17301730
class=css><code class=css>none</code></code>&rsquo; establishes a stacking

css3-transforms/Transforms.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,8 +1320,8 @@ <h2 id="perspective-property">
13201320
</table>
13211321

13221322
<p>
1323-
If the value is '<code class="css">none</code>', less than or equal to 0 no
1324-
perspective transform is applied.
1323+
If the value is '<code class="css">none</code>', no perspective
1324+
transform is applied. Lengths must be positive.
13251325
</p>
13261326
<p>
13271327
The use of this property with any value other than '<code class="css">none</code>' establishes a

0 commit comments

Comments
 (0)