OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 if (m_docType->publicId().startsWith("-//wapforum//dtd xhtml mobile 1.",
/* caseSensitive */ false)) | 638 if (m_docType->publicId().startsWith("-//wapforum//dtd xhtml mobile 1.",
/* caseSensitive */ false)) |
639 m_isMobileDocument = true; | 639 m_isMobileDocument = true; |
640 } | 640 } |
641 // Doctype affects the interpretation of the stylesheets. | 641 // Doctype affects the interpretation of the stylesheets. |
642 clearStyleResolver(); | 642 clearStyleResolver(); |
643 } | 643 } |
644 | 644 |
645 DOMImplementation* Document::implementation() | 645 DOMImplementation* Document::implementation() |
646 { | 646 { |
647 if (!m_implementation) | 647 if (!m_implementation) |
648 m_implementation = DOMImplementation::create(this); | 648 m_implementation = DOMImplementation::create(*this); |
649 return m_implementation.get(); | 649 return m_implementation.get(); |
650 } | 650 } |
651 | 651 |
652 bool Document::hasManifest() const | 652 bool Document::hasManifest() const |
653 { | 653 { |
654 return documentElement() && isHTMLHtmlElement(documentElement()) && document
Element()->hasAttribute(manifestAttr); | 654 return documentElement() && isHTMLHtmlElement(documentElement()) && document
Element()->hasAttribute(manifestAttr); |
655 } | 655 } |
656 | 656 |
657 Location* Document::location() const | 657 Location* Document::location() const |
658 { | 658 { |
(...skipping 4550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5209 void Document::modifiedStyleSheet(StyleSheet* sheet, RecalcStyleTime when, Style
ResolverUpdateMode updateMode) | 5209 void Document::modifiedStyleSheet(StyleSheet* sheet, RecalcStyleTime when, Style
ResolverUpdateMode updateMode) |
5210 { | 5210 { |
5211 if (!isActive()) | 5211 if (!isActive()) |
5212 return; | 5212 return; |
5213 | 5213 |
5214 styleEngine()->modifiedStyleSheet(sheet); | 5214 styleEngine()->modifiedStyleSheet(sheet); |
5215 styleResolverChanged(when, updateMode); | 5215 styleResolverChanged(when, updateMode); |
5216 } | 5216 } |
5217 | 5217 |
5218 } // namespace WebCore | 5218 } // namespace WebCore |
OLD | NEW |