Changeset 119822 in webkit
- Timestamp:
- Jun 8, 2012 5:16:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r119820 r119822 1 2012-06-08 Arko Saha <arko@motorola.com> 2 3 Microdata: An element with an empty itemprop='' should not get listed in the .properties list. 4 https://bugs.webkit.org/show_bug.cgi?id=88235 5 6 Reviewed by Ryosuke Niwa. 7 8 * fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Added. 9 * fast/dom/MicroData/element-with-empty-itemprop.html: Added. 10 1 11 2012-06-08 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r119821 r119822 1 2012-06-08 Arko Saha <arko@motorola.com> 2 3 Microdata: An element with an empty itemprop='' should not get listed in the .properties list. 4 https://bugs.webkit.org/show_bug.cgi?id=88235 5 6 Reviewed by Ryosuke Niwa. 7 8 As per the specification change http://html5.org/r/6854, an element should be listed in .properties 9 if the elelement has an attribute itemprop specified and the element has one or more property names. 10 11 Test: fast/dom/MicroData/element-with-empty-itemprop.html 12 13 * html/HTMLPropertiesCollection.cpp: 14 (WebCore::HTMLPropertiesCollection::itemAfter): 15 1 16 2012-06-07 Kinuko Yasuda <kinuko@chromium.org> 2 17 -
trunk/Source/WebCore/html/HTMLPropertiesCollection.cpp
r113862 r119822 129 129 continue; 130 130 HTMLElement* element = toHTMLElement(current); 131 if (element->fastHasAttribute(itempropAttr) ) {131 if (element->fastHasAttribute(itempropAttr) && element->itemProp()->length()) { 132 132 return element; 133 133 }
Note: See TracChangeset
for help on using the changeset viewer.