doc_at_scope.css (651B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 @scope (aside) { 6 div, 7 [data-test="start-no-end"] { 8 box-shadow: 60px -16px teal; 9 } 10 } 11 12 @scope (aside) to (.limit) { 13 div, 14 [data-test="start-and-end"] { 15 outline: 2px solid gold; 16 17 span { 18 color: cornflowerblue; 19 } 20 } 21 22 /* This should show up as inherited rule for spans that are in .limit subtree, even 23 if the rule doesn't directly apply */ 24 div, 25 [data-test="start-and-end-inherit"] { 26 color: salmon; 27 } 28 }