Ejemplo n.º 1
0
void InlineStyleSheetOwner::finishParsingChildren(Element* element)
{
    ASSERT(element);
    if (element->inDocument())
        createSheetFromTextContents(element);
    m_isParsingChildren = false;
}
Ejemplo n.º 2
0
void InlineStyleSheetOwner::childrenChanged(Element& element)
{
    if (m_isParsingChildren)
        return;
    if (!element.inDocument())
        return;
    createSheetFromTextContents(element);
}
Ejemplo n.º 3
0
void InlineStyleSheetOwner::insertedIntoDocument(Document&, Element& element)
{
    authorStyleSheetsForElement(element).addStyleSheetCandidateNode(element, m_isParsingChildren);

    if (m_isParsingChildren)
        return;
    createSheetFromTextContents(element);
}