| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/html/parser/HTMLElementStack.h" | 28 #include "core/html/parser/HTMLElementStack.h" |
| 29 | 29 |
| 30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
| 31 #include "MathMLNames.h" | 31 #include "MathMLNames.h" |
| 32 #include "SVGNames.h" | 32 #include "SVGNames.h" |
| 33 #include "core/dom/Element.h" | 33 #include "core/dom/Element.h" |
| 34 #include "core/html/HTMLHtmlElement.h" | 34 #include "core/html/HTMLHtmlElement.h" |
| 35 #include "core/html/HTMLOptGroupElement.h" | 35 #include "core/html/HTMLOptGroupElement.h" |
| 36 #include "core/html/HTMLTableElement.h" | 36 #include "core/html/HTMLTableElement.h" |
| 37 #include <wtf/PassOwnPtr.h> | 37 #include "wtf/PassOwnPtr.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 using namespace HTMLNames; | 41 using namespace HTMLNames; |
| 42 | 42 |
| 43 | 43 |
| 44 namespace { | 44 namespace { |
| 45 | 45 |
| 46 inline bool isRootNode(HTMLStackItem* item) | 46 inline bool isRootNode(HTMLStackItem* item) |
| 47 { | 47 { |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 611 |
| 612 void HTMLElementStack::show() | 612 void HTMLElementStack::show() |
| 613 { | 613 { |
| 614 for (ElementRecord* record = m_top.get(); record; record = record->next()) | 614 for (ElementRecord* record = m_top.get(); record; record = record->next()) |
| 615 record->element()->showNode(); | 615 record->element()->showNode(); |
| 616 } | 616 } |
| 617 | 617 |
| 618 #endif | 618 #endif |
| 619 | 619 |
| 620 } | 620 } |
| OLD | NEW |