Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: Source/core/dom/Element.cpp

Issue 739433003: Remove CDATASection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DocumentFragment.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 return shadowRoot; 1829 return shadowRoot;
1830 } 1830 }
1831 1831
1832 bool Element::childTypeAllowed(NodeType type) const 1832 bool Element::childTypeAllowed(NodeType type) const
1833 { 1833 {
1834 switch (type) { 1834 switch (type) {
1835 case ELEMENT_NODE: 1835 case ELEMENT_NODE:
1836 case TEXT_NODE: 1836 case TEXT_NODE:
1837 case COMMENT_NODE: 1837 case COMMENT_NODE:
1838 case PROCESSING_INSTRUCTION_NODE: 1838 case PROCESSING_INSTRUCTION_NODE:
1839 case CDATA_SECTION_NODE:
1840 return true; 1839 return true;
1841 default: 1840 default:
1842 break; 1841 break;
1843 } 1842 }
1844 return false; 1843 return false;
1845 } 1844 }
1846 1845
1847 void Element::checkForEmptyStyleChange() 1846 void Element::checkForEmptyStyleChange()
1848 { 1847 {
1849 RenderStyle* style = renderStyle(); 1848 RenderStyle* style = renderStyle();
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
3386 { 3385 {
3387 #if ENABLE(OILPAN) 3386 #if ENABLE(OILPAN)
3388 if (hasRareData()) 3387 if (hasRareData())
3389 visitor->trace(elementRareData()); 3388 visitor->trace(elementRareData());
3390 visitor->trace(m_elementData); 3389 visitor->trace(m_elementData);
3391 #endif 3390 #endif
3392 ContainerNode::trace(visitor); 3391 ContainerNode::trace(visitor);
3393 } 3392 }
3394 3393
3395 } // namespace blink 3394 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentFragment.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698