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:
committed by
Misko Hevery
parent
eef5f7e06d
commit
ee523efcb4
@@ -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] {}');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user