feat(ShadowCss): Support the new deep combinator syntax >>>

fixes #990

ref http://dev.w3.org/csswg/css-scoping-1/#deep-combinator

Closes #1028
This commit is contained in:
Victor Berchet
2015-03-20 08:52:12 +01:00
committed by Misko Hevery
parent eef5f7e06d
commit ee523efcb4
2 changed files with 10 additions and 3 deletions
@@ -108,5 +108,10 @@ export function main() {
var css = s('x /deep/ y {}', 'a');
expect(css).toEqual('x[a] y[a] {}');
});
it('should handle >>>', () => {
var css = s('x >>> y {}', 'a');
expect(css).toEqual('x[a] y[a] {}');
});
});
}