OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of csslib.parser; | 5 part of csslib.parser; |
6 | 6 |
7 // TODO(terry): Add optimizing phase to remove duplicated selectors in the same | 7 // TODO(terry): Add optimizing phase to remove duplicated selectors in the same |
8 // selector group (e.g., .btn, .btn { color: red; }). Also, look | 8 // selector group (e.g., .btn, .btn { color: red; }). Also, look |
9 // at simplifying selectors expressions too (much harder). | 9 // at simplifying selectors expressions too (much harder). |
10 // TODO(terry): Detect invalid directive usage. All @imports must occur before | 10 // TODO(terry): Detect invalid directive usage. All @imports must occur before |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 isLastNone = false; | 1006 isLastNone = false; |
1007 } | 1007 } |
1008 } else { | 1008 } else { |
1009 isLastNone = simpleSeq.isCombinatorNone; | 1009 isLastNone = simpleSeq.isCombinatorNone; |
1010 } | 1010 } |
1011 } | 1011 } |
1012 } | 1012 } |
1013 super.visitSelectorGroup(node); | 1013 super.visitSelectorGroup(node); |
1014 } | 1014 } |
1015 } | 1015 } |
OLD | NEW |