| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 value.setFromOperator('{'); | 175 value.setFromOperator('{'); |
| 176 break; | 176 break; |
| 177 case RightBraceToken: | 177 case RightBraceToken: |
| 178 value.setFromOperator('}'); | 178 value.setFromOperator('}'); |
| 179 break; | 179 break; |
| 180 case WhitespaceToken: | 180 case WhitespaceToken: |
| 181 case CommentToken: | 181 case CommentToken: |
| 182 continue; | 182 continue; |
| 183 case EOFToken: | 183 case EOFToken: |
| 184 ASSERT_NOT_REACHED(); | 184 ASSERT_NOT_REACHED(); |
| 185 case CDOToken: |
| 186 case CDCToken: |
| 185 case AtKeywordToken: | 187 case AtKeywordToken: |
| 186 case IncludeMatchToken: | 188 case IncludeMatchToken: |
| 187 case DashMatchToken: | 189 case DashMatchToken: |
| 188 case PrefixMatchToken: | 190 case PrefixMatchToken: |
| 189 case SuffixMatchToken: | 191 case SuffixMatchToken: |
| 190 case SubstringMatchToken: | 192 case SubstringMatchToken: |
| 191 case ColumnToken: | 193 case ColumnToken: |
| 192 case BadStringToken: | 194 case BadStringToken: |
| 193 case BadUrlToken: | 195 case BadUrlToken: |
| 194 case ColonToken: | 196 case ColonToken: |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 bool CSSParserSelector::hasHostPseudoSelector() const | 339 bool CSSParserSelector::hasHostPseudoSelector() const |
| 338 { | 340 { |
| 339 for (CSSParserSelector* selector = const_cast<CSSParserSelector*>(this); sel
ector; selector = selector->tagHistory()) { | 341 for (CSSParserSelector* selector = const_cast<CSSParserSelector*>(this); sel
ector; selector = selector->tagHistory()) { |
| 340 if (selector->pseudoType() == CSSSelector::PseudoHost || selector->pseud
oType() == CSSSelector::PseudoHostContext) | 342 if (selector->pseudoType() == CSSSelector::PseudoHost || selector->pseud
oType() == CSSSelector::PseudoHostContext) |
| 341 return true; | 343 return true; |
| 342 } | 344 } |
| 343 return false; | 345 return false; |
| 344 } | 346 } |
| 345 | 347 |
| 346 } // namespace blink | 348 } // namespace blink |
| OLD | NEW |