| 1 |
$root_default: initial; |
| 2 |
$root_implicit: initial; |
| 3 |
$root_explicit: initial !global; |
| 4 |
|
| 5 |
ruleset { |
| 6 |
$root_implicit: outer; |
| 7 |
$root_explicit: outer !global; |
| 8 |
$root_default: outer !default; |
| 9 |
$local_implicit: outer; |
| 10 |
$local_explicit: outer !global; |
| 11 |
$local_default: outer !default; |
| 12 |
inner { |
| 13 |
$root_implicit: inner; |
| 14 |
$root_explicit: inner !global; |
| 15 |
$root_default: inner !default; |
| 16 |
$local_implicit: inner; |
| 17 |
$local_explicit: inner !global; |
| 18 |
$local_default: inner !default; |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
result { |
| 23 |
root_default: $root_default; |
| 24 |
root_implicit: $root_implicit; |
| 25 |
root_explicit: $root_explicit; |
| 26 |
@if variable-exists(local_default) { |
| 27 |
local_default: $local_default; |
| 28 |
} |
| 29 |
@if variable-exists(local_implicit) { |
| 30 |
local_implicit: $local_implicit; |
| 31 |
} |
| 32 |
@if variable-exists(local_explicit) { |
| 33 |
local_explicit: $local_explicit; |
| 34 |
} |
| 35 |
} |