Re: [csswg-drafts] [css-selectors] Reference selectors (#3714)

@matthewp, @threepointone I am not sure about that. There is definitely smarter people than me in this thread to make the final call but I'd probably expect that to be doable but scoped to the current module only - after all that's possible in JS 

```js
function foo() {
 return `color: red`
}

function foo() {
 return `color: green`
}

console.log(`
.foo {
  ${foo()}
}
`)
```

or with Sass mixins

```scss
@mixin foo() {
  color: red;
}

@mixin foo() {
  color: green;
}

.foo {
  @include foo()
}
```

-- 
GitHub Notification of comment by giuseppeg
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3714#issuecomment-474330631 using your GitHub account

Received on Tuesday, 19 March 2019 11:51:54 UTC