@@ -380,9 +380,7 @@ Requirements for Responsible Implementation of CSS</h2>
380
380
381
381
To avoid clashes with future stable CSS features,
382
382
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:
386
384
387
385
<ol>
388
386
<li>
@@ -464,20 +462,33 @@ Requirements for Responsible Implementation of CSS</h2>
464
462
to complete standardization of such features.
465
463
466
464
<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.
473
470
474
471
<details class=why>
475
472
<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
477
474
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> .
480
478
</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.
481
492
</ol>
482
493
483
494
0 commit comments