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

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