| 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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #include "core/html/HTMLTableRowsCollection.h" | 84 #include "core/html/HTMLTableRowsCollection.h" |
| 85 #include "core/html/HTMLTemplateElement.h" | 85 #include "core/html/HTMLTemplateElement.h" |
| 86 #include "core/html/parser/HTMLParserIdioms.h" | 86 #include "core/html/parser/HTMLParserIdioms.h" |
| 87 #include "core/inspector/InspectorInstrumentation.h" | 87 #include "core/inspector/InspectorInstrumentation.h" |
| 88 #include "core/page/FocusController.h" | 88 #include "core/page/FocusController.h" |
| 89 #include "core/page/Page.h" | 89 #include "core/page/Page.h" |
| 90 #include "core/page/PointerLockController.h" | 90 #include "core/page/PointerLockController.h" |
| 91 #include "core/rendering/FlowThreadController.h" | 91 #include "core/rendering/FlowThreadController.h" |
| 92 #include "core/rendering/RenderNamedFlowFragment.h" | 92 #include "core/rendering/RenderNamedFlowFragment.h" |
| 93 #include "core/rendering/RenderView.h" | 93 #include "core/rendering/RenderView.h" |
| 94 #include "core/rendering/RenderWidget.h" | |
| 95 #include "core/svg/SVGDocumentExtensions.h" | 94 #include "core/svg/SVGDocumentExtensions.h" |
| 96 #include "core/svg/SVGElement.h" | 95 #include "core/svg/SVGElement.h" |
| 97 #include "wtf/BitVector.h" | 96 #include "wtf/BitVector.h" |
| 98 #include "wtf/HashFunctions.h" | 97 #include "wtf/HashFunctions.h" |
| 99 #include "wtf/text/CString.h" | 98 #include "wtf/text/CString.h" |
| 100 #include "wtf/text/TextPosition.h" | 99 #include "wtf/text/TextPosition.h" |
| 101 | 100 |
| 102 namespace WebCore { | 101 namespace WebCore { |
| 103 | 102 |
| 104 using namespace HTMLNames; | 103 using namespace HTMLNames; |
| (...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1412 } | 1411 } |
| 1413 | 1412 |
| 1414 void Element::unregisterNamedFlowContentNode() | 1413 void Element::unregisterNamedFlowContentNode() |
| 1415 { | 1414 { |
| 1416 if (RuntimeEnabledFeatures::cssRegionsEnabled() && inNamedFlow() && document
().renderView()) | 1415 if (RuntimeEnabledFeatures::cssRegionsEnabled() && inNamedFlow() && document
().renderView()) |
| 1417 document().renderView()->flowThreadController()->unregisterNamedFlowCont
entNode(this); | 1416 document().renderView()->flowThreadController()->unregisterNamedFlowCont
entNode(this); |
| 1418 } | 1417 } |
| 1419 | 1418 |
| 1420 void Element::detach(const AttachContext& context) | 1419 void Element::detach(const AttachContext& context) |
| 1421 { | 1420 { |
| 1422 RenderWidget::UpdateSuspendScope suspendWidgetHierarchyUpdates; | 1421 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
| 1423 unregisterNamedFlowContentNode(); | 1422 unregisterNamedFlowContentNode(); |
| 1424 cancelFocusAppearanceUpdate(); | 1423 cancelFocusAppearanceUpdate(); |
| 1425 removeCallbackSelectors(); | 1424 removeCallbackSelectors(); |
| 1426 if (hasRareData()) { | 1425 if (hasRareData()) { |
| 1427 ElementRareData* data = elementRareData(); | 1426 ElementRareData* data = elementRareData(); |
| 1428 data->setPseudoElement(BEFORE, 0); | 1427 data->setPseudoElement(BEFORE, 0); |
| 1429 data->setPseudoElement(AFTER, 0); | 1428 data->setPseudoElement(AFTER, 0); |
| 1430 data->setPseudoElement(BACKDROP, 0); | 1429 data->setPseudoElement(BACKDROP, 0); |
| 1431 data->setIsInsideRegion(false); | 1430 data->setIsInsideRegion(false); |
| 1432 | 1431 |
| (...skipping 2181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3614 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi
stItems | 3613 // Before doing so, we need to resolve issues in HTMLSelectElement::recalcLi
stItems |
| 3615 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg
i?id=88405 | 3614 // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cg
i?id=88405 |
| 3616 if (hasTagName(optionTag) || hasTagName(optgroupTag)) | 3615 if (hasTagName(optionTag) || hasTagName(optgroupTag)) |
| 3617 return false; | 3616 return false; |
| 3618 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3617 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
| 3619 return false; | 3618 return false; |
| 3620 return true; | 3619 return true; |
| 3621 } | 3620 } |
| 3622 | 3621 |
| 3623 } // namespace WebCore | 3622 } // namespace WebCore |
| OLD | NEW |