|
2 | 2 | <html lang="en"> |
3 | 3 | <head profile="http://www.w3.org/2006/03/hcard"> |
4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | | - <title>CSS Exclusions and Shapes Module Level 1</title> |
| 5 | + <title>CSS Transforms</title> |
6 | 6 | <link rel="stylesheet" type="text/css" href="default.css" /> |
7 | 7 | <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS].css" /> |
8 | 8 |
|
9 | 9 |
|
10 | 10 | <link id="st" href="alternate-spec-style.css" rel="stylesheet" |
11 | | - type="text/css" disabled title="additional spec styles"> |
| 11 | + type="text/css" disabled title="additional spec styles"> |
12 | 12 |
|
13 | 13 | <script type="text/javascript" src="style-toggle.js"></script> |
14 | 14 |
|
|
40 | 40 | opacity: 1; |
41 | 41 | color: #46A4E9; |
42 | 42 | } |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + div.issue-marker { |
| 47 | + position: absolute; |
| 48 | + width: 20ex; |
| 49 | + margin-left: -26ex; |
| 50 | + padding-right: 0.5em; |
| 51 | + font-weight: normal; |
| 52 | + font-size: 11px; |
| 53 | + text-align: right; |
| 54 | + background-color: white; |
| 55 | + font-size: 90%; |
| 56 | + padding-top: 0px; |
| 57 | + padding-bottom: 0px; |
| 58 | + } |
| 59 | + |
| 60 | + div.issue-marker a { |
| 61 | + color: red; |
| 62 | + } |
| 63 | + |
| 64 | + div.issue-marker .desc { |
| 65 | + font-size: 80%; |
| 66 | + line-height: 1.4em; |
| 67 | + } |
| 68 | + |
| 69 | + div.issue-marker .desc strong { |
| 70 | + font-weight: bold; |
| 71 | + font-size: 120%; |
| 72 | + color: red; |
| 73 | + } |
43 | 74 | </style> |
44 | 75 |
|
45 | 76 | </head> |
@@ -176,16 +207,6 @@ <h2>Introduction</h2> |
176 | 207 | the transform completely, since - even transformed - the object should |
177 | 208 | be acting as "porthole" through which the fixed background can be viewed |
178 | 209 | in its original form. |
179 | | - </div> |
180 | | - <div class="issue"> |
181 | | - This property should also be applicable to SVG elements. |
182 | | - </div> |
183 | | - <div class="issue"> |
184 | | - We also need to specify that SVG transforms *do* combine with this |
185 | | - transform, e.g., if a <foreignObject> is inside transformed SVG |
186 | | - and then defines a transform of its own. This means we may potentially |
187 | | - have to examine the current SVG transform and combine with it to set the |
188 | | - correct transform. |
189 | 210 | </div><!-- ======================================================================================================= --> |
190 | 211 | <h2 id="transform-property"> |
191 | 212 | The <span class="prop-name">'transform'</span> Property |
@@ -294,7 +315,12 @@ <h4 id="transform-attribute-dom">SVG transform attribute DOM</h4> |
294 | 315 |
|
295 | 316 | <div class="issue"> |
296 | 317 | <ul> |
297 | | - <li>Should we also make gradientTransform and patternTransform properties?</li> |
| 318 | + <li>Should we also make gradientTransform and patternTransform presentation attributes? |
| 319 | + Proposal: they |
| 320 | + are the 'presentation attributes' for <gradient> and >pattern< respectively, |
| 321 | + for the 'transform' property (i.e., there is no 'gradientTransform' property. Instead, the |
| 322 | + 'gradientTransform' is a presentation attribute that provides a value for the |
| 323 | + 'transform' property that applies to the <gradient> element.)</li> |
298 | 324 | <li>Is this proposal working for SMIL animation of the transform property?</li> |
299 | 325 | </ul> |
300 | 326 | </div> |
@@ -758,17 +784,20 @@ <h3 id="cssmatrix-interface"> |
758 | 784 | CSSMatrix |
759 | 785 | </h3> |
760 | 786 |
|
| 787 | + |
| 788 | + <div class="issue issue-marker"> |
| 789 | + <p class="desc">We actually describe a 3x2 matrix here, similar to <a href="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>. |
| 790 | + </p></div> |
| 791 | + |
761 | 792 | <dl> |
762 | 793 | <dt> |
763 | 794 | <b>Interface <i><a id="DOM-CSSMatrix" name='DOM-CSSMatrix'>CSSMatrix</a></i></b> |
764 | 795 | </dt> |
765 | 796 | <dd> |
| 797 | + |
766 | 798 | <p> |
767 | 799 | The <code>CSSMatrix</code> interface represents a 3x2 homogeneous matrix. |
768 | 800 | </p> |
769 | | - <div class="issue"> |
770 | | - We actually describe a 3x2 matrix here, similar to <a href="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>. |
771 | | - </div> |
772 | 801 | <dl> |
773 | 802 |
|
774 | 803 | <dt> |
@@ -1154,13 +1183,15 @@ <h3 id="cssmatrix-interface"> |
1154 | 1183 | </dd> <!-- Interface CSSMatrix --> |
1155 | 1184 | </dl> |
1156 | 1185 |
|
| 1186 | + <div class="issue issue-marker"><p class="desc">We need to resolve how SVGMatrix and CSSMatrix work together.</p></div> |
1157 | 1187 | <p> |
1158 | 1188 | In addition to the interface listed above, the <code>getComputedStyle</code> method of the <code>Window</code> |
1159 | 1189 | object has been updated. The <code>transform</code> property of the style object returned by |
1160 | 1190 | <code>getComputedStyle</code> contains a DOMString of the form "matrix(a, b, c, d, e, f)" |
1161 | 1191 | representing the 3x2 matrix that is the result of applying the individual functions listed in the |
1162 | 1192 | <code>transform</code> property. |
1163 | 1193 | </p> |
| 1194 | + |
1164 | 1195 |
|
1165 | 1196 | <h2>References</h2> |
1166 | 1197 |
|
|
0 commit comments