Skip to content

Commit 781c619

Browse files
committed
[css-2015] Make proprietary extensions clause more generic (open vs. closed systems, rather than Web vs. non-Web), as requested in WG feedback.
1 parent 5f603a2 commit 781c619

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

css-2015/Overview.bs

+23-12
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,7 @@ Requirements for Responsible Implementation of CSS</h2>
380380

381381
To avoid clashes with future stable CSS features,
382382
the CSSWG recommends the following best practices for the implementation of
383-
<a>unstable</a> features and <a>proprietary extensions</a> to CSS.
384-
A CSS feature is a <dfn>proprietary extension</dfn> if it is not intended for
385-
or released for use on the World Wide Web.
383+
<a>unstable</a> features and <a>proprietary extensions</a> to CSS:
386384

387385
<ol>
388386
<li>
@@ -464,20 +462,33 @@ Requirements for Responsible Implementation of CSS</h2>
464462
to complete standardization of such features.
465463

466464
<li>
467-
When shipping in a production build a feature that is only meant to be used in non-Web environment,
468-
it should be supported only through a prefixed syntax
469-
and not exposed to the Web.
470-
(Even if a feature is intended to eventually be used in the Web,
471-
if it hasn't yet been standardized
472-
it should still not be exposed to the Web.)
465+
A CSS feature is a <dfn>proprietary extension</dfn> if it is meant for use
466+
in a closed environment accessible only to a single vendor's user agent(s).
467+
A UA should support such <a>proprietary extensions</a>
468+
only through a vendor-prefixed syntax
469+
and not expose them to open (multi-UA) environments such as the World Wide Web.
473470

474471
<details class=why>
475472
<summary>Why?</summary>
476-
The prefixing requirement allows shipping specialized features in non-Web environments
473+
The prefixing requirement allows shipping specialized features in closed environments
477474
without conflicting with future additions to standard CSS.
478-
The restriction on exposure to the Web environment is to prevent
479-
accidentally causing the public Web to depend on an unstandardized proprietary feature.
475+
The restriction on exposure to open systems is to prevent
476+
accidentally causing the public CSS environment
477+
to depend on an unstandardized <a>proprietary extensions</a>.
480478
</details>
479+
480+
<div class="example">
481+
For example,
482+
Win8 Metro apps, Firefox's XUL-based UI, and the iTunes UI
483+
use extensions to CSS implemented by their respective UAs.
484+
So long as these UAs do not allow Web content to access these features,
485+
they do not provide an opportunity for such content
486+
to become dependent on their <a>proprietary extensions</a>.
487+
</div>
488+
489+
Even if a feature is intended to eventually be used in the Web,
490+
if it hasn't yet been standardized
491+
it should still not be exposed to the Web.
481492
</ol>
482493

483494

0 commit comments

Comments
 (0)