Searched refs:shadowRoot (Results 1 - 25 of 39) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/Resources/
H A DplugIns.js3 function createOverlay(shadowRoot, titleText, subtitleText)
35 shadowRoot.appendChild(shadowContainer);
/macosx-10.10/WebCore-7600.1.25/html/shadow/
H A DContentDistributor.cpp51 const Vector<RefPtr<InsertionPoint>>& ContentDistributor::ensureInsertionPointList(ShadowRoot* shadowRoot) argument
59 for (auto& element : descendantsOfType<Element>(*shadowRoot)) {
80 if (ShadowRoot* root = host->shadowRoot()) {
97 if (ShadowRoot* root = host->shadowRoot()) {
126 void ContentDistributor::ensureDistribution(ShadowRoot* shadowRoot) argument
128 ASSERT(shadowRoot);
131 for (Element* current = shadowRoot->hostElement(); current; current = current->shadowHost()) {
132 ShadowRoot* currentRoot = current->shadowRoot();
H A DInsertionPoint.cpp154 if (ShadowRoot* shadowRoot = shadowRootOfParentForDistribution(projectedNode)) {
157 return shadowRoot->distributor().findInsertionPointFor(projectedNode);
H A DInsertionPoint.h114 return parent->shadowRoot();
/macosx-10.10/WebCore-7600.1.25/dom/
H A DContainerNodeAlgorithms.cpp46 if (RefPtr<ShadowRoot> root = toElement(node).shadowRoot()) {
59 if (ShadowRoot* root = node.shadowRoot())
80 if (RefPtr<ShadowRoot> root = toElement(node).shadowRoot()) {
96 if (RefPtr<ShadowRoot> root = toElement(node).shadowRoot())
109 if (ShadowRoot* root = toElement(node).shadowRoot())
144 if (ShadowRoot* shadowRoot = element.shadowRoot())
145 collectFrameOwners(frameOwners, *shadowRoot);
H A DTreeScopeAdopter.cpp72 if (ShadowRoot* shadow = node->shadowRoot()) {
83 void TreeScopeAdopter::moveShadowTreeToNewDocument(ShadowRoot* shadowRoot, Document* oldDocument, Document* newDocument) const argument
85 for (Node* node = shadowRoot; node; node = NodeTraversal::next(node, shadowRoot)) {
87 if (ShadowRoot* shadow = node->shadowRoot())
H A DShadowRoot.h102 inline ShadowRoot* Node::shadowRoot() const function in class:WebCore::Node
106 return toElement(this)->shadowRoot();
H A DNodeRenderingTraversal.cpp55 if (parent->isElementNode() && toElement(parent)->shadowRoot())
151 if (node->shadowRoot()) {
154 node = node->shadowRoot();
162 if (node->shadowRoot()) {
165 node = node->shadowRoot();
H A DElementRareData.h91 ShadowRoot* shadowRoot() const { return m_shadowRoot.get(); } function in class:WebCore::ElementRareData
92 void setShadowRoot(PassRefPtr<ShadowRoot> shadowRoot) { m_shadowRoot = shadowRoot; } argument
H A DElement.cpp1453 ShadowRoot* Element::shadowRoot() const
1455 return hasRareData() ? elementRareData()->shadowRoot() : 0;
1467 return element.isInsertionPoint() || element.shadowRoot();
1477 ASSERT(!shadowRoot());
1479 ShadowRoot* shadowRoot = newShadowRoot.get();
1482 shadowRoot->setHostElement(this);
1483 shadowRoot->setParentTreeScope(&treeScope());
1484 shadowRoot->distributor().didShadowBoundaryChange(this);
1486 ChildNodeInsertionNotifier(*this).notify(*shadowRoot);
1492 InspectorInstrumentation::didPushShadowRoot(this, shadowRoot);
[all...]
H A DTreeScope.cpp59 TreeScope::TreeScope(ShadowRoot& shadowRoot, Document& document) argument
60 : m_rootNode(shadowRoot)
65 shadowRoot.setTreeScope(*this);
H A DNode.cpp1552 for (const ShadowRoot* shadowRoot = toShadowRoot(node); shadowRoot && shadowRoot != node; shadowRoot = shadowRoot->shadowRoot())
1607 if (ShadowRoot* shadowRoot = node->shadowRoot())
1608 traverseTreeAndMark(indent.toString(), shadowRoot, markedNode1, markedLabel1, markedNode2, markedLabel2);
1656 if (ShadowRoot* shadowRoot
[all...]
H A DEventDispatcher.cpp386 static inline bool shouldEventCrossShadowBoundary(Event& event, ShadowRoot& shadowRoot, EventTarget& target) argument
396 if (element->isMediaElement() && shadowRoot.hostElement() == element)
406 bool targetIsInShadowRoot = targetNode && &targetNode->treeScope().rootNode() == &shadowRoot;
H A DRange.h123 ShadowRoot* shadowRoot() const;
/macosx-10.10/WebCore-7600.1.25/style/
H A DStyleResolveTree.cpp477 ASSERT((!child->renderer() || child->isNamedFlowContentNode()) || current.shadowRoot());
493 if (ShadowRoot* shadowRoot = insertionPoint.containingShadowRoot())
494 ContentDistributor::ensureDistribution(shadowRoot);
517 static void attachShadowRoot(ShadowRoot& shadowRoot) argument
519 ASSERT(shadowRoot.hostElement());
521 RenderTreePosition renderTreePosition(shadowRoot.hostElement()->renderer());
522 attachChildren(shadowRoot, *shadowRoot.hostElement(), renderTreePosition);
524 shadowRoot.clearNeedsStyleRecalc();
525 shadowRoot
649 detachShadowRoot(ShadowRoot& shadowRoot, DetachType detachType) argument
780 resolveShadowTree(ShadowRoot& shadowRoot, Element& host, Style::Change change) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/svg/
H A DSVGTRefElement.cpp149 ASSERT(shadowRoot());
150 ShadowRoot* root = shadowRoot();
166 ASSERT(shadowRoot());
167 Node* container = shadowRoot()->firstChild();
H A DSVGDocumentExtensions.cpp347 ASSERT(referencedElement.shadowRoot());
348 ASSERT(m_rebuildElements.contains(referencedElement.shadowRoot()->hostElement()));
H A DSVGUseElement.cpp383 if (ShadowRoot* shadowTreeRootElement = shadowRoot())
474 ShadowRoot* shadowTreeRootElement = shadowRoot();
701 shadowRoot()->appendChild(newChild.release());
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLImageElement.cpp221 if (shadowRoot())
487 ShadowRoot* shadowRoot = userAgentShadowRoot(); local
488 if (!shadowRoot)
491 if (Node* node = shadowRoot->firstChild()) {
493 shadowRoot->removeChild(node);
505 if (ShadowRoot* shadowRoot = userAgentShadowRoot()) {
506 Node* node = shadowRoot->firstChild();
H A DFileInputType.cpp281 ASSERT(element().shadowRoot());
287 ASSERT(element().shadowRoot());
295 ASSERT(element().shadowRoot());
H A DValidationMessage.cpp171 ShadowRoot& shadowRoot = m_element->ensureUserAgentShadowRoot(); local
179 shadowRoot.appendChild(m_bubble.get(), ASSERT_NO_EXCEPTION);
H A DTextFieldInputType.cpp240 ASSERT(element().shadowRoot());
256 ShadowRoot* shadowRoot = element().userAgentShadowRoot(); local
259 shadowRoot->appendChild(m_container, IGNORE_EXCEPTION);
H A DColorInputType.cpp107 ASSERT(element().shadowRoot());
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DRenderFileUploadControl.cpp256 ASSERT(inputElement().shadowRoot());
257 Node* buttonNode = inputElement().shadowRoot()->firstChild();
/macosx-10.10/WebCore-7600.1.25/page/
H A DFocusController.cpp105 ASSERT(toElement(node)->shadowRoot());
106 return FocusNavigationScope(toElement(node)->shadowRoot());
142 return !element.isKeyboardFocusable(&event) && element.shadowRoot() && !hasCustomFocusLogic(element);
147 return node.isElementNode() && toElement(node).isKeyboardFocusable(&event) && toElement(node).shadowRoot() && !hasCustomFocusLogic(toElement(node));

Completed in 239 milliseconds

12