void ProcessingInstruction::setData(const String& data, ExceptionCode&) { int oldLength = m_data.length(); m_data = data; document()->textRemoved(this, 0, oldLength); checkStyleSheet(); }
Node::InsertionNotificationRequest ProcessingInstruction::insertedInto(ContainerNode* insertionPoint) { CharacterData::insertedInto(insertionPoint); if (!insertionPoint->inDocument()) return InsertionDone; document().styleSheetCollection().addStyleSheetCandidateNode(*this, m_createdByParser); checkStyleSheet(); return InsertionDone; }
Node::InsertionNotificationRequest ProcessingInstruction::insertedInto(Node* insertionPoint) { Node::insertedInto(insertionPoint); if (!insertionPoint->inDocument()) return InsertionDone; document()->addStyleSheetCandidateNode(this, m_createdByParser); checkStyleSheet(); return InsertionDone; }
void ProcessingInstruction::didAttributeChanged() { if (m_sheet) clearSheet(); String href; String charset; if (!checkStyleSheet(href, charset)) return; process(href, charset); }
Node::InsertionNotificationRequest ProcessingInstruction::insertedInto(ContainerNode* insertionPoint) { CharacterData::insertedInto(insertionPoint); if (!insertionPoint->inDocument()) return InsertionDone; String href; String charset; bool isValid = checkStyleSheet(href, charset); if (!DocumentXSLT::processingInstructionInsertedIntoDocument(document(), this)) document().styleEngine().addStyleSheetCandidateNode(this, m_createdByParser); if (isValid) process(href, charset); return InsertionDone; }
void ProcessingInstruction::insertedIntoDocument() { ContainerNode::insertedIntoDocument(); document()->addStyleSheetCandidateNode(this, m_createdByParser); checkStyleSheet(); }