Title: [124357] trunk/Source/WebCore
- Revision
- 124357
- Author
- [email protected]
- Date
- 2012-08-01 12:42:04 -0700 (Wed, 01 Aug 2012)
Log Message
Read tag names and attributes from the saved tokens in HTMLFormattingElementList::closestElementInScopeWithName(const AtomicString&)
https://bugs.webkit.org/show_bug.cgi?id=92841
Patch by Kwang Yul Seo <[email protected]> on 2012-08-01
Reviewed by Adam Barth.
This is a follow-up patch for r123577.
Replaced entry.element()->hasLocalName(targetName) with entry.stackItem()->hasLocalName(targetName).
No new tests, covered by existing tests.
* html/parser/HTMLFormattingElementList.cpp:
(WebCore::HTMLFormattingElementList::closestElementInScopeWithName):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (124356 => 124357)
--- trunk/Source/WebCore/ChangeLog 2012-08-01 19:41:27 UTC (rev 124356)
+++ trunk/Source/WebCore/ChangeLog 2012-08-01 19:42:04 UTC (rev 124357)
@@ -1,5 +1,20 @@
2012-08-01 Kwang Yul Seo <[email protected]>
+ Read tag names and attributes from the saved tokens in HTMLFormattingElementList::closestElementInScopeWithName(const AtomicString&)
+ https://bugs.webkit.org/show_bug.cgi?id=92841
+
+ Reviewed by Adam Barth.
+
+ This is a follow-up patch for r123577.
+ Replaced entry.element()->hasLocalName(targetName) with entry.stackItem()->hasLocalName(targetName).
+
+ No new tests, covered by existing tests.
+
+ * html/parser/HTMLFormattingElementList.cpp:
+ (WebCore::HTMLFormattingElementList::closestElementInScopeWithName):
+
+2012-08-01 Kwang Yul Seo <[email protected]>
+
HTMLTreeBuilder passes a wrong token when pushing the head element
https://bugs.webkit.org/show_bug.cgi?id=92838
Modified: trunk/Source/WebCore/html/parser/HTMLFormattingElementList.cpp (124356 => 124357)
--- trunk/Source/WebCore/html/parser/HTMLFormattingElementList.cpp 2012-08-01 19:41:27 UTC (rev 124356)
+++ trunk/Source/WebCore/html/parser/HTMLFormattingElementList.cpp 2012-08-01 19:42:04 UTC (rev 124357)
@@ -59,7 +59,7 @@
const Entry& entry = m_entries[m_entries.size() - i];
if (entry.isMarker())
return 0;
- if (entry.element()->hasLocalName(targetName))
+ if (entry.stackItem()->hasLocalName(targetName))
return entry.element();
}
return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes