| 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 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1705 keyframe->setKeys(keyVector.release()); | 1705 keyframe->setKeys(keyVector.release()); |
| 1706 keyframe->setProperties(createStylePropertySet()); | 1706 keyframe->setProperties(createStylePropertySet()); |
| 1707 | 1707 |
| 1708 clearProperties(); | 1708 clearProperties(); |
| 1709 | 1709 |
| 1710 StyleKeyframe* keyframePtr = keyframe.get(); | 1710 StyleKeyframe* keyframePtr = keyframe.get(); |
| 1711 m_parsedKeyframes.append(keyframe.release()); | 1711 m_parsedKeyframes.append(keyframe.release()); |
| 1712 return keyframePtr; | 1712 return keyframePtr; |
| 1713 } | 1713 } |
| 1714 | 1714 |
| 1715 void BisonCSSParser::invalidBlockHit() | |
| 1716 { | |
| 1717 if (m_styleSheet && !m_hadSyntacticallyValidCSSRule) | |
| 1718 m_styleSheet->setHasSyntacticallyValidCSSHeader(false); | |
| 1719 } | |
| 1720 | |
| 1721 void BisonCSSParser::startRule() | 1715 void BisonCSSParser::startRule() |
| 1722 { | 1716 { |
| 1723 if (!m_observer) | 1717 if (!m_observer) |
| 1724 return; | 1718 return; |
| 1725 | 1719 |
| 1726 ASSERT(m_ruleHasHeader); | 1720 ASSERT(m_ruleHasHeader); |
| 1727 m_ruleHasHeader = false; | 1721 m_ruleHasHeader = false; |
| 1728 } | 1722 } |
| 1729 | 1723 |
| 1730 void BisonCSSParser::endRule(bool valid) | 1724 void BisonCSSParser::endRule(bool valid) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1790 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer.
safeUserStringTokenOffset(), errorType); | 1784 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer.
safeUserStringTokenOffset(), errorType); |
| 1791 } | 1785 } |
| 1792 | 1786 |
| 1793 void BisonCSSParser::startEndUnknownRule() | 1787 void BisonCSSParser::startEndUnknownRule() |
| 1794 { | 1788 { |
| 1795 if (m_observer) | 1789 if (m_observer) |
| 1796 m_observer->startEndUnknownRule(); | 1790 m_observer->startEndUnknownRule(); |
| 1797 } | 1791 } |
| 1798 | 1792 |
| 1799 } | 1793 } |
| OLD | NEW |