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: css-ui/Overview.bs
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -960,21 +960,26 @@ Conforming User Agents may, instead of <<url>>, support <<image>> which is a sup
960
960
The UA must support the following image file formats:
961
961
<ul>
962
962
<li>PNG, as defined in [[!PNG]]
963
-
<li>SVG, as defined in [[!SVG11]], in <a href="https://www.w3.org/TR/SVG2/conform.html#secure-static-mode">secure static mode</a>[[!SVG2]]
963
+
<li>SVG, as defined in [[!SVG11]], in <a href="https://www.w3.org/TR/SVG2/conform.html#secure-static-mode">secure static mode</a>[[!SVG2]], if it has an intrinsic size.
964
964
<li>any other non-animated image file format that they support
965
965
for <<image>> in other properties,
966
966
such as the the 'background-image' property
967
967
</ul>
968
968
969
969
In addition, the UA should support the following image file formats:
970
970
<ul>
971
-
<li>SVG, as defined in [[!SVG11]], in <a href="https://www.w3.org/TR/SVG2/conform.html#secure-animated-mode">secure animated mode</a>[[!SVG2]]
971
+
<li>SVG, as defined in [[!SVG11]], in <a href="https://www.w3.org/TR/SVG2/conform.html#secure-animated-mode">secure animated mode</a>[[!SVG2]], if it has an intrinsic size.
972
972
<li>any other animated image file format that they support
973
973
for <<image>> in other properties,
974
974
such as the the 'background-image' property
975
975
</ul>
976
976
977
-
The UA may also support additional file formats.
977
+
The UA may also support additional file formats, including SVG, as defined in [[!SVG11]], in secure static mode or secure animated mode [[!SVG2]], even if it does not have an intrinsic size.
978
+
979
+
Note: The CSS Working group initially indented support for all SVG,
980
+
intrinsically sized or not.
981
+
Support for non intrinsically sized SVG was downgraded from mandatory to optional due
982
+
to lack of implementations.
978
983
979
984
Note: At the time of writing this specification (spring 2015),
980
985
the only file formats supported for cursors in common desktop browsers are
@@ -1376,6 +1381,7 @@ This appendix describes changes from the
1376
1381
<li>Add informative link to HTML about special handling of 'cursor' over image maps
1377
1382
<li>Clarify (as a SHOULD) the implications of text-overflow on pointer events to capture implementor consensus.
1378
1383
<li>Clarify that UAs may ignore the cursor property to reflect the UA's UI state
1384
+
<li>Allow, but stop requiring support for SVG images without intrinsic sizes for cursors
1379
1385
</ul>
1380
1386
1381
1387
<h2 class="no-num" id="security-privacy-considerations">Appendix C. Considerations for Security and Privacy</h2>
0 commit comments