@@ -806,20 +806,26 @@ <h2 id=at-supports><span class=secno>6. </span>Feature queries: the
806806 class =property > box-shadow</ code > ’ property, including checking for
807807 support for vendor-prefixed versions of it. When the support is present,
808808 it specifies both ‘< code class =property > box-shadow</ code > ’ (with the
809- prefixed versions) and ‘< code class =property > color </ code > ’ in a way
810- what would cause the text to become invisible were ‘< code
809+ prefixed versions) and ‘< code class =property > border </ code > ’ in a way
810+ what would cause the box to become invisible were ‘< code
811811 class =property > box-shadow</ code > ’ not supported.
812812
813- < pre > @supports ( box-shadow: 2px 2px 2px black ) or
814- ( -moz-box-shadow: 2px 2px 2px black ) or
815- ( -webkit-box-shadow: 2px 2px 2px black ) or
816- ( -o-box-shadow: 2px 2px 2px black ) {
813+ < pre > .outline {
814+ border: 1px solid black;
815+ padding: 1px;
816+ }
817+ @supports ( box-shadow: 0 0 2px black inset ) or
818+ ( -moz-box-shadow: 0 0 2px black inset ) or
819+ ( -webkit-box-shadow: 0 0 2px black inset ) or
820+ ( -o-box-shadow: 0 0 2px black inset ) {
817821 .outline {
818- color: white;
819- -moz-box-shadow: 2px 2px 2px black;
820- -webkit-box-shadow: 2px 2px 2px black;
821- -o-box-shadow: 2px 2px 2px black;
822- box-shadow: 2px 2px 2px black; /* unprefixed last */
822+ -moz-box-shadow: 0 0 2px black inset;
823+ -webkit-box-shadow: 0 0 2px black inset;
824+ -o-box-shadow: 0 0 2px black inset;
825+ box-shadow: 0 0 2px black inset; /* unprefixed last */
826+ /* override the rule above the @supports rule */
827+ border: none;
828+ padding: 2px;
823829 }
824830}</ pre >
825831 </ div >
@@ -1552,12 +1558,13 @@ <h2 class=no-num id=acknowledgments>Acknowledgments</h2>
15521558
15531559 < p > Thanks to the ideas and feedback from Tab Atkins, Arthur Barstow, Ben
15541560 Callahan, < span lang =tr > Tantek Çelik</ span > , Alex Danilo, Elika Etemad,
1555- Pascal Germroth, < span lang =de > Björn Höhrmann</ span > , Paul Irish, < span
1556- lang =nl > Anne van Kesteren</ span > , Vitor Menezes, Alex Mogilevsky, Chris
1557- Moschini, James Nurthen, Simon Pieters, < span lang =fr > Florian
1558- Rivoal</ span > , < span lang =fr > Simon Sapin</ span > , Nicholas Shanks, Ben
1559- Ward, Zack Weinberg, Estelle Weyl, Boris Zbarsky, and all the rest of the
1560- < a href ="http://lists.w3.org/Archives/Public/www-style/ "> www-style</ a >
1561+ Pascal Germroth, < span lang =de > Björn Höhrmann</ span > , Paul Irish, Brad
1562+ Kemper, < span lang =nl > Anne van Kesteren</ span > , Vitor Menezes, Alex
1563+ Mogilevsky, Chris Moschini, James Nurthen, Simon Pieters, < span
1564+ lang =fr > Florian Rivoal</ span > , < span lang =fr > Simon Sapin</ span > , Nicholas
1565+ Shanks, Ben Ward, Zack Weinberg, Estelle Weyl, Boris Zbarsky, and all the
1566+ rest of the < a
1567+ href ="http://lists.w3.org/Archives/Public/www-style/ "> www-style</ a >
15611568 community.
15621569
15631570 < h2 class =no-num id =references > References</ h2 >
0 commit comments