| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
| 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 documentStyle->setUserModify(READ_ONLY); | 391 documentStyle->setUserModify(READ_ONLY); |
| 392 | 392 |
| 393 document.setupFontBuilder(documentStyle.get()); | 393 document.setupFontBuilder(documentStyle.get()); |
| 394 | 394 |
| 395 return documentStyle.release(); | 395 return documentStyle.release(); |
| 396 } | 396 } |
| 397 | 397 |
| 398 static inline void resetDirectionAndWritingModeOnDocument(Document& document) | 398 static inline void resetDirectionAndWritingModeOnDocument(Document& document) |
| 399 { | 399 { |
| 400 document.setDirectionSetOnDocumentElement(false); | 400 document.setDirectionSetOnDocumentElement(false); |
| 401 document.setWritingModeSetOnDocumentElement(false); | |
| 402 } | 401 } |
| 403 | 402 |
| 404 static void addContentAttrValuesToFeatures(const Vector<AtomicString>& contentAt
trValues, RuleFeatureSet& features) | 403 static void addContentAttrValuesToFeatures(const Vector<AtomicString>& contentAt
trValues, RuleFeatureSet& features) |
| 405 { | 404 { |
| 406 for (size_t i = 0; i < contentAttrValues.size(); ++i) | 405 for (size_t i = 0; i < contentAttrValues.size(); ++i) |
| 407 features.addContentAttr(contentAttrValues[i]); | 406 features.addContentAttr(contentAttrValues[i]); |
| 408 } | 407 } |
| 409 | 408 |
| 410 // Start loading resources referenced by this style. | 409 // Start loading resources referenced by this style. |
| 411 void StyleResolver::loadPendingResources(StyleResolverState& state) | 410 void StyleResolver::loadPendingResources(StyleResolverState& state) |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 visitor->trace(m_viewportDependentMediaQueryResults); | 1012 visitor->trace(m_viewportDependentMediaQueryResults); |
| 1014 visitor->trace(m_features); | 1013 visitor->trace(m_features); |
| 1015 visitor->trace(m_attributeRuleSet); | 1014 visitor->trace(m_attributeRuleSet); |
| 1016 visitor->trace(m_styleSharingLists); | 1015 visitor->trace(m_styleSharingLists); |
| 1017 visitor->trace(m_pendingStyleSheets); | 1016 visitor->trace(m_pendingStyleSheets); |
| 1018 visitor->trace(m_document); | 1017 visitor->trace(m_document); |
| 1019 #endif | 1018 #endif |
| 1020 } | 1019 } |
| 1021 | 1020 |
| 1022 } // namespace blink | 1021 } // namespace blink |
| OLD | NEW |