- a/Source/WebCore/ChangeLog +15 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2012-07-31  Kwang Yul Seo  <skyul@company100.net>
2
3
        Read tag names and attributes from the saved tokens in HTMLFormattingElementList::closestElementInScopeWithName(const AtomicString&)
4
        https://bugs.webkit.org/show_bug.cgi?id=92841
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        This is a follow-up patch for r123577.
9
        Replaced entry.element()->hasLocalName(targetName) with entry.stackItem()->hasLocalName(targetName).
10
11
        No new tests, covered by existing tests.
12
13
        * html/parser/HTMLFormattingElementList.cpp:
14
        (WebCore::HTMLFormattingElementList::closestElementInScopeWithName):
15
1
2012-07-30  Ryosuke Niwa  <rniwa@webkit.org>
16
2012-07-30  Ryosuke Niwa  <rniwa@webkit.org>
2
17
3
        REGRESSION(r120979): Node list returned by getElementsByTagNameNS isn't invalidated when children changes
18
        REGRESSION(r120979): Node list returned by getElementsByTagNameNS isn't invalidated when children changes
- a/Source/WebCore/html/parser/HTMLFormattingElementList.cpp -1 / +1 lines
Lines 59-65 Element* HTMLFormattingElementList::closestElementInScopeWithName(const AtomicSt a/Source/WebCore/html/parser/HTMLFormattingElementList.cpp_sec1
59
        const Entry& entry = m_entries[m_entries.size() - i];
59
        const Entry& entry = m_entries[m_entries.size() - i];
60
        if (entry.isMarker())
60
        if (entry.isMarker())
61
            return 0;
61
            return 0;
62
        if (entry.element()->hasLocalName(targetName))
62
        if (entry.stackItem()->hasLocalName(targetName))
63
            return entry.element();
63
            return entry.element();
64
    }
64
    }
65
    return 0;
65
    return 0;

Return to Bug 92841