| 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 9 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 10 * | 10 * |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 return true; | 726 return true; |
| 727 } | 727 } |
| 728 CASE("calc") { | 728 CASE("calc") { |
| 729 m_token = CALCFUNCTION; | 729 m_token = CALCFUNCTION; |
| 730 return true; | 730 return true; |
| 731 } | 731 } |
| 732 CASE("host") { | 732 CASE("host") { |
| 733 m_token = HOSTFUNCTION; | 733 m_token = HOSTFUNCTION; |
| 734 return true; | 734 return true; |
| 735 } | 735 } |
| 736 CASE("ancestor") { |
| 737 m_token = ANCESTORFUNCTION; |
| 738 return true; |
| 739 } |
| 736 CASE("nth-child") { | 740 CASE("nth-child") { |
| 737 m_parsingMode = NthChildMode; | 741 m_parsingMode = NthChildMode; |
| 738 return true; | 742 return true; |
| 739 } | 743 } |
| 740 CASE("nth-of-type") { | 744 CASE("nth-of-type") { |
| 741 m_parsingMode = NthChildMode; | 745 m_parsingMode = NthChildMode; |
| 742 return true; | 746 return true; |
| 743 } | 747 } |
| 744 CASE("nth-last-child") { | 748 CASE("nth-last-child") { |
| 745 m_parsingMode = NthChildMode; | 749 m_parsingMode = NthChildMode; |
| (...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 m_dataStart16[length - 1] = 0; | 1550 m_dataStart16[length - 1] = 0; |
| 1547 | 1551 |
| 1548 m_is8BitSource = false; | 1552 m_is8BitSource = false; |
| 1549 m_currentCharacter8 = 0; | 1553 m_currentCharacter8 = 0; |
| 1550 m_currentCharacter16 = m_dataStart16.get(); | 1554 m_currentCharacter16 = m_dataStart16.get(); |
| 1551 setTokenStart<UChar>(m_currentCharacter16); | 1555 setTokenStart<UChar>(m_currentCharacter16); |
| 1552 m_lexFunc = &CSSTokenizer::realLex<UChar>; | 1556 m_lexFunc = &CSSTokenizer::realLex<UChar>; |
| 1553 } | 1557 } |
| 1554 | 1558 |
| 1555 } // namespace WebCore | 1559 } // namespace WebCore |
| OLD | NEW |