Home | History | Annotate | Download | only in html

Lines Matching refs:scoped

87 void HTMLStyleElement::scopedAttributeChanged(bool scoped)
94 if (scoped) {
98 // As any <style> in a shadow tree is treated as "scoped",
113 // If the <style> was scoped, need to remove the <style> from the scoping
121 // As any <style> in a shadow tree is treated as "scoped",
136 void HTMLStyleElement::registerWithScopingNode(bool scoped)
138 // Note: We cannot rely on the 'scoped' element already being present when this method is invoked.
139 // Therefore we cannot rely on scoped()!
145 ContainerNode* scope = scoped ? parentNode() : containingShadowRoot();
155 m_scopedStyleRegistrationState = scoped ? RegisteredAsScoped : RegisteredInShadowRoot;
177 if (m_scopedStyleRegistrationState == NotRegistered && (scoped() || isInShadowTree()))
178 registerWithScopingNode(scoped());
189 // In the current implementation, <style scoped> is only registered if the node is in the document.
191 // Now, if we want to register <style scoped> even if it's not inDocument,
192 // we'd need to find a way to discern whether that is the case, or whether <style scoped> itself is about to be removed.
229 bool HTMLStyleElement::scoped() const