Changeset 122546 in webkit
- Timestamp:
- Jul 13, 2012 12:20:49 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r122544 r122546 1 2012-07-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 RadioNodeList is not updated upon input type change 4 https://bugs.webkit.org/show_bug.cgi?id=91178 5 6 Reviewed by Alexey Proskuryakov. 7 8 Add a regression test. 9 10 * fast/forms/radionodelist-image-type-expected.txt: Added. 11 * fast/forms/radionodelist-image-type.html: Added. 12 1 13 2012-07-12 Filip Pizlo <fpizlo@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r122545 r122546 1 2012-07-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 RadioNodeList is not updated upon input type change 4 https://bugs.webkit.org/show_bug.cgi?id=91178 5 6 Reviewed by Alexey Proskuryakov. 7 8 Invalidate the radio node lists when type content attribute changes since it excludes 9 image type input elements. 10 11 Test: fast/forms/radionodelist-image-type.html 12 13 * dom/Document.cpp: 14 (WebCore::shouldInvalidateNodeListForType): 15 * dom/Document.h: Renamed InvalidateOnIdNameForAttrChange to InvalidateOnFormAttrChange 16 since listing all attribute name isn't useful at this point. 17 * html/RadioNodeList.cpp: 18 (WebCore::RadioNodeList::RadioNodeList): 19 1 20 2012-07-12 Dongwoo Im <dw.im@samsung.com> 2 21 -
trunk/Source/WebCore/dom/Document.cpp
r122509 r122546 3901 3901 case InvalidateOnForAttrChange: 3902 3902 return attrName == forAttr; 3903 case Invalidate OnIdNameForAttrChange:3904 return attrName == nameAttr || attrName == idAttr || attrName == forAttr ;3903 case InvalidateForFormControls: 3904 return attrName == nameAttr || attrName == idAttr || attrName == forAttr || attrName == typeAttr; 3905 3905 case InvalidateOnItemAttrChange: 3906 3906 #if ENABLE(MICRODATA) -
trunk/Source/WebCore/dom/Document.h
r122498 r122546 197 197 InvalidateOnNameAttrChange, 198 198 InvalidateOnForAttrChange, 199 Invalidate OnIdNameForAttrChange,199 InvalidateForFormControls, 200 200 InvalidateOnItemAttrChange, 201 201 }; -
trunk/Source/WebCore/html/RadioNodeList.cpp
r122498 r122546 39 39 40 40 RadioNodeList::RadioNodeList(Node* rootNode, const AtomicString& name) 41 : DynamicSubtreeNodeList(rootNode, Invalidate OnIdNameForAttrChange, rootNode->hasTagName(formTag) ? NodeListIsRootedAtDocument : NodeListIsRootedAtNode)41 : DynamicSubtreeNodeList(rootNode, InvalidateForFormControls, rootNode->hasTagName(formTag) ? NodeListIsRootedAtDocument : NodeListIsRootedAtNode) 42 42 , m_name(name) 43 43 {
Note: See TracChangeset
for help on using the changeset viewer.