Changeset 75198 in webkit
- Timestamp:
- Jan 6, 2011 2:07:41 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r75195 r75198 1 2011-01-06 Tony Gentilcore <tonyg@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Allow framesets after hidden inputs 6 https://bugs.webkit.org/show_bug.cgi?id=51998 7 8 * html5lib/resources/webkit01.dat: Demonstrate that the value of the type attribute matters. An input with no type is tested in tests19.dat. 9 1 10 2010-12-29 Zhenyao Mo <zmo@google.com> 2 11 -
trunk/LayoutTests/html5lib/resources/webkit01.dat
r71209 r75198 588 588 | <math mi> 589 589 | "a" 590 591 #data 592 <!doctype html><input type="hidden"><frameset> 593 #errors 594 #document 595 | <!DOCTYPE html> 596 | <html> 597 | <head> 598 | <frameset> 599 600 #data 601 <!doctype html><input type="button"><frameset> 602 #errors 603 #document 604 | <!DOCTYPE html> 605 | <html> 606 | <head> 607 | <body> 608 | <input> 609 | type="button" -
trunk/WebCore/ChangeLog
r75195 r75198 1 2011-01-06 Tony Gentilcore <tonyg@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Allow framesets after hidden inputs 6 https://bugs.webkit.org/show_bug.cgi?id=51998 7 8 This implements the HTML5 spec update in response to: 9 http://www.w3.org/Bugs/Public/show_bug.cgi?id=11156 10 11 * html/parser/HTMLTreeBuilder.cpp: 12 (WebCore::HTMLTreeBuilder::processStartTagForInBody): 13 1 14 2010-12-29 Zhenyao Mo <zmo@google.com> 2 15 -
trunk/WebCore/html/parser/HTMLTreeBuilder.cpp
r74663 r75198 894 894 || token.name() == embedTag 895 895 || token.name() == imgTag 896 || token.name() == inputTag897 896 || token.name() == keygenTag 898 897 || token.name() == wbrTag) { … … 900 899 m_tree.insertSelfClosingHTMLElement(token); 901 900 m_framesetOk = false; 901 return; 902 } 903 if (token.name() == inputTag) { 904 RefPtr<Attribute> typeAttribute = token.getAttributeItem(typeAttr); 905 m_tree.reconstructTheActiveFormattingElements(); 906 m_tree.insertSelfClosingHTMLElement(token); 907 if (!typeAttribute || !equalIgnoringCase(typeAttribute->value(), "hidden")) 908 m_framesetOk = false; 902 909 return; 903 910 }
Note: See TracChangeset
for help on using the changeset viewer.