Commit b49e18e4 authored by weinig@apple.com's avatar weinig@apple.com

.: Remove support for HTML5 MicroData

https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* Configurations/FeatureDefines.xcconfig:

Source/WebCore: Remove support for HTML5 Microdata
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Target.pri:
* UseJSC.cmake:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/GNUmakefile.am:
* bindings/js/JSBindingsAllInOne.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::JSHTMLCollection::nameGetter):
* bindings/js/JSHTMLElementCustom.cpp:
* bindings/js/JSMicroDataItemValueCustom.cpp: Removed.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* dom/Document.cpp:
* dom/Document.h:
* dom/Document.idl:
* dom/Element.cpp:
(WebCore::Element::ensureCachedHTMLCollection):
* dom/LiveNodeList.cpp:
(WebCore::LiveNodeListBase::rootNode):
(WebCore::LiveNodeListBase::invalidateCache):
(WebCore::LiveNodeList::namedItem):
* dom/LiveNodeList.h:
(WebCore::LiveNodeListBase::shouldInvalidateTypeOnAttributeChange):
* dom/MicroDataItemList.cpp: Removed.
* dom/MicroDataItemList.h: Removed.
* dom/Node.cpp:
* dom/Node.h:
* dom/NodeRareData.cpp:
* dom/NodeRareData.h:
* dom/PropertyNodeList.cpp: Removed.
* dom/PropertyNodeList.h: Removed.
* dom/PropertyNodeList.idl: Removed.
* html/CollectionType.h:
* html/HTMLAnchorElement.cpp:
* html/HTMLAnchorElement.h:
* html/HTMLAreaElement.cpp:
* html/HTMLAreaElement.h:
* html/HTMLCollection.cpp:
(WebCore::shouldOnlyIncludeDirectChildren):
(WebCore::rootTypeFromCollectionType):
(WebCore::invalidationTypeExcludingIdAndNameAttributes):
(WebCore::isMatchingElement):
(WebCore::LiveNodeListBase::item):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::parseAttribute):
(WebCore::HTMLElement::isURLAttribute):
* html/HTMLElement.h:
* html/HTMLElement.idl:
* html/HTMLEmbedElement.cpp:
* html/HTMLEmbedElement.h:
* html/HTMLIFrameElement.cpp:
* html/HTMLIFrameElement.h:
* html/HTMLImageElement.cpp:
* html/HTMLImageElement.h:
* html/HTMLLinkElement.cpp:
* html/HTMLLinkElement.h:
* html/HTMLMediaElement.cpp:
* html/HTMLMediaElement.h:
* html/HTMLMetaElement.cpp:
* html/HTMLMetaElement.h:
* html/HTMLObjectElement.cpp:
* html/HTMLObjectElement.h:
* html/HTMLPropertiesCollection.cpp: Removed.
* html/HTMLPropertiesCollection.h: Removed.
* html/HTMLPropertiesCollection.idl: Removed.
* html/HTMLSourceElement.cpp:
* html/HTMLSourceElement.h:
* html/HTMLTrackElement.cpp:
* html/HTMLTrackElement.h:
* html/MicroDataAttributeTokenList.cpp: Removed.
* html/MicroDataAttributeTokenList.h: Removed.
* html/MicroDataItemValue.cpp: Removed.
* html/MicroDataItemValue.h: Removed.
* html/MicroDataItemValue.idl: Removed.

Source/WebKit/blackberry: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* WebCoreSupport/AboutDataEnableFeatures.in:

Source/WebKit/mac: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* Configurations/FeatureDefines.xcconfig:

Source/WTF: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* wtf/FeatureDefines.h:

Tools: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* Scripts/webkitperl/FeatureList.pm:
* qmake/mkspecs/features/features.pri:

LayoutTests: Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480

Reviewed by Anders Carlsson.

* fast/dom/MicroData: Removed.
* fast/dom/MicroData/001-expected.txt: Removed.
* fast/dom/MicroData/001.html: Removed.
* fast/dom/MicroData/002-expected.txt: Removed.
* fast/dom/MicroData/002.html: Removed.
* fast/dom/MicroData/003-expected.txt: Removed.
* fast/dom/MicroData/003.html: Removed.
* fast/dom/MicroData/004-expected.txt: Removed.
* fast/dom/MicroData/004.html: Removed.
* fast/dom/MicroData/005-expected.txt: Removed.
* fast/dom/MicroData/005.html: Removed.
* fast/dom/MicroData/006-expected.txt: Removed.
* fast/dom/MicroData/006.html: Removed.
* fast/dom/MicroData/007-expected.txt: Removed.
* fast/dom/MicroData/007.html: Removed.
* fast/dom/MicroData/008-expected.txt: Removed.
* fast/dom/MicroData/008.html: Removed.
* fast/dom/MicroData/009-expected.txt: Removed.
* fast/dom/MicroData/009.html: Removed.
* fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree-expected.txt: Removed.
* fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree.html: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-add-token-expected.txt: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index-expected.txt: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html: Removed.
* fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Removed.
* fast/dom/MicroData/element-with-empty-itemprop.html: Removed.
* fast/dom/MicroData/getitems-empty-string-as-arg-expected.txt: Removed.
* fast/dom/MicroData/getitems-empty-string-as-arg.html: Removed.
* fast/dom/MicroData/getitems-multiple-itemtypes-expected.txt: Removed.
* fast/dom/MicroData/getitems-multiple-itemtypes.html: Removed.
* fast/dom/MicroData/item-not-attached-to-domtree-expected.txt: Removed.
* fast/dom/MicroData/item-not-attached-to-domtree.html: Removed.
* fast/dom/MicroData/item-with-itemprop-attr-expected.txt: Removed.
* fast/dom/MicroData/item-with-itemprop-attr.html: Removed.
* fast/dom/MicroData/item-with-itemref-pointing-to-itself-expected.txt: Removed.
* fast/dom/MicroData/item-with-itemref-pointing-to-itself.html: Removed.
* fast/dom/MicroData/itemid-attribute-test-001-expected.txt: Removed.
* fast/dom/MicroData/itemid-attribute-test-001.html: Removed.
* fast/dom/MicroData/itemid-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemid-attribute-test.html: Removed.
* fast/dom/MicroData/itemid-must-see-resolved-url-expected.txt: Removed.
* fast/dom/MicroData/itemid-must-see-resolved-url.html: Removed.
* fast/dom/MicroData/itemprop-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemprop-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemprop-for-an-element-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html: Removed.
* fast/dom/MicroData/itemprop-must-be-read-only-expected.txt: Removed.
* fast/dom/MicroData/itemprop-must-be-read-only.html: Removed.
* fast/dom/MicroData/itemprop-names-override-builtin-properties-expected.txt: Removed.
* fast/dom/MicroData/itemprop-names-override-builtin-properties.html: Removed.
* fast/dom/MicroData/itemprop-reflected-by-itemProp-property-expected.txt: Removed.
* fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html: Removed.
* fast/dom/MicroData/itemref-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemref-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property-expected.txt: Removed.
* fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property.html: Removed.
* fast/dom/MicroData/itemref-for-an-element-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/itemref-for-an-element-must-be-correct.html: Removed.
* fast/dom/MicroData/itemref-must-be-read-only-expected.txt: Removed.
* fast/dom/MicroData/itemref-must-be-read-only.html: Removed.
* fast/dom/MicroData/itemref-pointing-to-root-node-expected.txt: Removed.
* fast/dom/MicroData/itemref-pointing-to-root-node.html: Removed.
* fast/dom/MicroData/itemref-refers-first-element-with-given-id-expected.txt: Removed.
* fast/dom/MicroData/itemref-refers-first-element-with-given-id.html: Removed.
* fast/dom/MicroData/itemscope-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemscope-attribute-test.html: Removed.
* fast/dom/MicroData/itemscope-must-be-read-write-expected.txt: Removed.
* fast/dom/MicroData/itemscope-must-be-read-write.html: Removed.
* fast/dom/MicroData/itemtype-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemtype-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemtype-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemtype-attribute-test.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-href-attr-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-href-attr.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-src-attr-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-src-attr.html: Removed.
* fast/dom/MicroData/itemvalue-returns-element-itself-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-returns-element-itself.html: Removed.
* fast/dom/MicroData/itemvalue-returns-null-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-returns-null.html: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html: Removed.
* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html: Removed.
* fast/dom/MicroData/nameditem-must-be-case-sensitive-expected.txt: Removed.
* fast/dom/MicroData/nameditem-must-be-case-sensitive.html: Removed.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt: Removed.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties.html: Removed.
* fast/dom/MicroData/nameditem-returns-propertynodelist-expected.txt: Removed.
* fast/dom/MicroData/nameditem-returns-propertynodelist.html: Removed.
* fast/dom/MicroData/names-item-out-of-range-index-expected.txt: Removed.
* fast/dom/MicroData/names-item-out-of-range-index.html: Removed.
* fast/dom/MicroData/names-property-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/names-property-must-be-correct.html: Removed.
* fast/dom/MicroData/names-property-test-expected.txt: Removed.
* fast/dom/MicroData/names-property-test.html: Removed.
* fast/dom/MicroData/properties-collection-add-remove-itemref-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-add-remove-itemref.html: Removed.
* fast/dom/MicroData/properties-collection-add-remove-property-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-add-remove-property.html: Removed.
* fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html: Removed.
* fast/dom/MicroData/properties-collection-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-be-correct.html: Removed.
* fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items.html: Removed.
* fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref.html: Removed.
* fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name.html: Removed.
* fast/dom/MicroData/properties-collection-nameditem-test-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-nameditem-test.html: Removed.
* fast/dom/MicroData/properties-collection-test-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-test.html: Removed.
* fast/dom/MicroData/propertiescollection-crash-expected.txt: Removed.
* fast/dom/MicroData/propertiescollection-crash.html: Removed.
* fast/dom/MicroData/propertiescollection-on-changing-id-attr-expected.txt: Removed.
* fast/dom/MicroData/propertiescollection-on-changing-id-attr.html: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html: Removed.
* fast/dom/MicroData/propertynodelist-crash-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-crash.html: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element.html: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-test-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-test.html: Removed.
* fast/dom/MicroData/propertynodelist-test-add-remove-element-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-test-add-remove-element.html: Removed.
* fast/dom/MicroData/resources: Removed.
* fast/dom/MicroData/resources/microdata-common.js: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d9e3c72f
2013-08-04 Sam Weinig <sam@webkit.org>
Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480
Reviewed by Anders Carlsson.
* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:
2013-08-06 Simon Pena <simon.pena@samsung.com>
Build fix for GTK 32-bit after r153736
......
2013-08-04 Sam Weinig <sam@webkit.org>
Remove support for HTML5 MicroData
https://bugs.webkit.org/show_bug.cgi?id=119480
Reviewed by Anders Carlsson.
* fast/dom/MicroData: Removed.
* fast/dom/MicroData/001-expected.txt: Removed.
* fast/dom/MicroData/001.html: Removed.
* fast/dom/MicroData/002-expected.txt: Removed.
* fast/dom/MicroData/002.html: Removed.
* fast/dom/MicroData/003-expected.txt: Removed.
* fast/dom/MicroData/003.html: Removed.
* fast/dom/MicroData/004-expected.txt: Removed.
* fast/dom/MicroData/004.html: Removed.
* fast/dom/MicroData/005-expected.txt: Removed.
* fast/dom/MicroData/005.html: Removed.
* fast/dom/MicroData/006-expected.txt: Removed.
* fast/dom/MicroData/006.html: Removed.
* fast/dom/MicroData/007-expected.txt: Removed.
* fast/dom/MicroData/007.html: Removed.
* fast/dom/MicroData/008-expected.txt: Removed.
* fast/dom/MicroData/008.html: Removed.
* fast/dom/MicroData/009-expected.txt: Removed.
* fast/dom/MicroData/009.html: Removed.
* fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree-expected.txt: Removed.
* fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree.html: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-add-token-expected.txt: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index-expected.txt: Removed.
* fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html: Removed.
* fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Removed.
* fast/dom/MicroData/element-with-empty-itemprop.html: Removed.
* fast/dom/MicroData/getitems-empty-string-as-arg-expected.txt: Removed.
* fast/dom/MicroData/getitems-empty-string-as-arg.html: Removed.
* fast/dom/MicroData/getitems-multiple-itemtypes-expected.txt: Removed.
* fast/dom/MicroData/getitems-multiple-itemtypes.html: Removed.
* fast/dom/MicroData/item-not-attached-to-domtree-expected.txt: Removed.
* fast/dom/MicroData/item-not-attached-to-domtree.html: Removed.
* fast/dom/MicroData/item-with-itemprop-attr-expected.txt: Removed.
* fast/dom/MicroData/item-with-itemprop-attr.html: Removed.
* fast/dom/MicroData/item-with-itemref-pointing-to-itself-expected.txt: Removed.
* fast/dom/MicroData/item-with-itemref-pointing-to-itself.html: Removed.
* fast/dom/MicroData/itemid-attribute-test-001-expected.txt: Removed.
* fast/dom/MicroData/itemid-attribute-test-001.html: Removed.
* fast/dom/MicroData/itemid-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemid-attribute-test.html: Removed.
* fast/dom/MicroData/itemid-must-see-resolved-url-expected.txt: Removed.
* fast/dom/MicroData/itemid-must-see-resolved-url.html: Removed.
* fast/dom/MicroData/itemprop-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemprop-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemprop-for-an-element-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html: Removed.
* fast/dom/MicroData/itemprop-must-be-read-only-expected.txt: Removed.
* fast/dom/MicroData/itemprop-must-be-read-only.html: Removed.
* fast/dom/MicroData/itemprop-names-override-builtin-properties-expected.txt: Removed.
* fast/dom/MicroData/itemprop-names-override-builtin-properties.html: Removed.
* fast/dom/MicroData/itemprop-reflected-by-itemProp-property-expected.txt: Removed.
* fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html: Removed.
* fast/dom/MicroData/itemref-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemref-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property-expected.txt: Removed.
* fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property.html: Removed.
* fast/dom/MicroData/itemref-for-an-element-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/itemref-for-an-element-must-be-correct.html: Removed.
* fast/dom/MicroData/itemref-must-be-read-only-expected.txt: Removed.
* fast/dom/MicroData/itemref-must-be-read-only.html: Removed.
* fast/dom/MicroData/itemref-pointing-to-root-node-expected.txt: Removed.
* fast/dom/MicroData/itemref-pointing-to-root-node.html: Removed.
* fast/dom/MicroData/itemref-refers-first-element-with-given-id-expected.txt: Removed.
* fast/dom/MicroData/itemref-refers-first-element-with-given-id.html: Removed.
* fast/dom/MicroData/itemscope-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemscope-attribute-test.html: Removed.
* fast/dom/MicroData/itemscope-must-be-read-write-expected.txt: Removed.
* fast/dom/MicroData/itemscope-must-be-read-write.html: Removed.
* fast/dom/MicroData/itemtype-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/itemtype-add-remove-tokens.html: Removed.
* fast/dom/MicroData/itemtype-attribute-test-expected.txt: Removed.
* fast/dom/MicroData/itemtype-attribute-test.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-href-attr-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-href-attr.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element.html: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-src-attr-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-reflects-the-src-attr.html: Removed.
* fast/dom/MicroData/itemvalue-returns-element-itself-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-returns-element-itself.html: Removed.
* fast/dom/MicroData/itemvalue-returns-null-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-returns-null.html: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002-expected.txt: Removed.
* fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html: Removed.
* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens-expected.txt: Removed.
* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html: Removed.
* fast/dom/MicroData/nameditem-must-be-case-sensitive-expected.txt: Removed.
* fast/dom/MicroData/nameditem-must-be-case-sensitive.html: Removed.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt: Removed.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties.html: Removed.
* fast/dom/MicroData/nameditem-returns-propertynodelist-expected.txt: Removed.
* fast/dom/MicroData/nameditem-returns-propertynodelist.html: Removed.
* fast/dom/MicroData/names-item-out-of-range-index-expected.txt: Removed.
* fast/dom/MicroData/names-item-out-of-range-index.html: Removed.
* fast/dom/MicroData/names-property-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/names-property-must-be-correct.html: Removed.
* fast/dom/MicroData/names-property-test-expected.txt: Removed.
* fast/dom/MicroData/names-property-test.html: Removed.
* fast/dom/MicroData/properties-collection-add-remove-itemref-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-add-remove-itemref.html: Removed.
* fast/dom/MicroData/properties-collection-add-remove-property-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-add-remove-property.html: Removed.
* fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html: Removed.
* fast/dom/MicroData/properties-collection-must-be-correct-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-be-correct.html: Removed.
* fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items.html: Removed.
* fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref.html: Removed.
* fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name.html: Removed.
* fast/dom/MicroData/properties-collection-nameditem-test-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-nameditem-test.html: Removed.
* fast/dom/MicroData/properties-collection-test-expected.txt: Removed.
* fast/dom/MicroData/properties-collection-test.html: Removed.
* fast/dom/MicroData/propertiescollection-crash-expected.txt: Removed.
* fast/dom/MicroData/propertiescollection-crash.html: Removed.
* fast/dom/MicroData/propertiescollection-on-changing-id-attr-expected.txt: Removed.
* fast/dom/MicroData/propertiescollection-on-changing-id-attr.html: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html: Removed.
* fast/dom/MicroData/propertynodelist-crash-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-crash.html: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element.html: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-test-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-getvalues-test.html: Removed.
* fast/dom/MicroData/propertynodelist-test-add-remove-element-expected.txt: Removed.
* fast/dom/MicroData/propertynodelist-test-add-remove-element.html: Removed.
* fast/dom/MicroData/resources: Removed.
* fast/dom/MicroData/resources/microdata-common.js: Removed.
2013-08-06 Hans Muller <hmuller@adobe.com>
[CSS Shapes] New positioning model: scripted shape-margin tests
This test ensures that document.getItems DOM API must exist.
PASS NodeList is defined.
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This test ensures that document.getItems DOM API must exist.</p>
<div id="console"></div>
<script>
var NodeList = document.getItems;
shouldBeDefined("NodeList");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This test ensures that document.getItems().length must return the correct number of MicroData Items in the Document.
Also it tests that document.getItems must return a live NodeList.
document.getItems() without aurgument: PASS
document.getItems() with empty string in the aurgument: PASS
document.getItems() with 'http://example.com/foo' itemtype in the aurgument: PASS
document.getItems() with 'http://example.com/bar' itemtype in the aurgument: PASS
document.getItems() with 'http://example.com/f1' itemtype in the aurgument: PASS
Created element of type: div
Set attribute: itemscope, value: itemscope
Newly appended item should be noticed in the NodeList: PASS
Removing item should be noticed in the NodeList: PASS
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
<script src="resources/microdata-common.js"></script>
</head>
<body>
<p>This test ensures that document.getItems().length must return the correct number of MicroData Items in the Document.
<br>Also it tests that document.getItems must return a live NodeList.
</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/bar" id="two"></div>
<div itemscope itemtype="http://example.com/foo" id="three">
<div itemscope itemtype="http://example.com/f1" id="four"></div>
</div>
<div id="console"></div>
<script>
var one = document.getElementById('one');
var two = document.getElementById('two');
var three = document.getElementById('three');
var four = document.getElementById('four');
runTest(document.getItems(), [one, two, three, four], "document.getItems() without aurgument");
runTest(document.getItems(''), [one, two, three, four], "document.getItems() with empty string in the aurgument");
runTest(document.getItems('http://example.com/foo'), [one, three], "document.getItems() with 'http://example.com/foo' itemtype in the aurgument");
runTest(document.getItems('http://example.com/bar'), [two], "document.getItems() with 'http://example.com/bar' itemtype in the aurgument");
runTest(document.getItems('http://example.com/f1'), [four], "document.getItems() with 'http://example.com/f1' itemtype in the aurgument");
var element = createElement('div', {itemscope:'itemscope'});
// Append newly created item to body
document.body.appendChild(element);
runTest(document.getItems(), [one, two, three, four, element], "Newly appended item should be noticed in the NodeList");
// Remove the element
document.body.removeChild(element);
runTest(document.getItems(), [one, two, three, four], "Removing item should be noticed in the NodeList");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This test ensures that live NodeList must notice when itemscope attribute changes.
This test page contain two microdata items: PASS
Removing itemscope attribute should reflect in the NodeList: PASS
Set itemscope attribute should reflect in the NodeList: PASS
Set element.itemScope to false should notice in the NodeList: PASS
Set element.itemScope to true should notice in the NodeList: PASS
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
<script src="resources/microdata-common.js"></script>
</head>
<body>
<p>This test ensures that live NodeList must notice when itemscope attribute changes.</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/bar" id="two"></div>
<div id="console"></div>
<script>
var one = document.getElementById('one');
var two = document.getElementById('two');
runTest(document.getItems(), [one, two], "This test page contain two microdata items");
// Remove itemscope attribute
one.removeAttribute('itemscope');
runTest(document.getItems(), [two], "Removing itemscope attribute should reflect in the NodeList");
// Setting itemscope attribute
one.setAttribute('itemscope','itemscope');
runTest(document.getItems(), [one, two], "Set itemscope attribute should reflect in the NodeList");
// Setting itemscope attribute to false
two.itemScope = false;
runTest(document.getItems(), [one], "Set element.itemScope to false should notice in the NodeList");
// Setting itemscope attribute to true
two.itemScope = true;
runTest(document.getItems(), [one, two], "Set element.itemScope to true should notice in the NodeList");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This test ensures that document.getItems must be case sensitive.
PASS document.getItems('http://example.com/Foo').length == 0 is true
PASS document.getItems('http://example.com/foo').length == 1 is true
PASS document.getItems('http://example.com/BAR').length == 1 is true
PASS document.getItems('http://example.com/bar').length == 0 is true
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This test ensures that document.getItems must be case sensitive.</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/BAR" id="two"></div>
<div id="console"></div>
<script>
shouldBeTrue("document.getItems('http://example.com/Foo').length == 0");
shouldBeTrue("document.getItems('http://example.com/foo').length == 1");
shouldBeTrue("document.getItems('http://example.com/BAR').length == 1");
shouldBeTrue("document.getItems('http://example.com/bar').length == 0");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This tests that live NodeList must notice when itemtype changes.
This test page contain two microdata items: PASS
NodeList must notice on remove attribute itemtype: PASS
NodeList must notice on set attribute itemtype: PASS
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
<script src="resources/microdata-common.js"></script>
</head>
<body>
<p>This tests that live NodeList must notice when itemtype changes.</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/foo" id="two"></div>
<div id="console"></div>
<script>
var one = document.getElementById('one');
var two = document.getElementById('two');
runTest(document.getItems('http://example.com/foo'), [one, two], "This test page contain two microdata items");
// Remove itemtype attribute
one.removeAttribute('itemtype');
runTest(document.getItems('http://example.com/foo'), [two], "NodeList must notice on remove attribute itemtype");
// Set itemtype attribute
one.setAttribute('itemtype','http://example.com/foo');
runTest(document.getItems('http://example.com/foo'), [one, two], "NodeList must notice on set attribute itemtype");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This tests that document.getItems must locate items when parameters are separated by spaces.
This test also ensure that document.getItems must ignore duplicated tokens.
PASS document.getItems(' http://example.com/foo http://example.com/bar ').length == 2 is true
PASS document.getItems(' http://example.com/foo data:text/plain ').length == 2 is true
PASS document.getItems(' http://example.com/foo data:text/plain http://example.com/foo').length == 2 is true
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This tests that document.getItems must locate items when parameters are separated by spaces.
<br>This test also ensure that document.getItems must ignore duplicated tokens.
</p>
<div itemscope itemtype="http://example.com/foo http://example.com/bar data:text/plain"></div>
<div itemscope itemtype="http://example.com/bar http://example.com/foo">
<div itemscope itemtype="data:text/plain http://example.com/foo"></div>
</div>
<div id="console"></div>
<script>
shouldBeTrue("document.getItems(' http://example.com/foo http://example.com/bar ').length == 2");
shouldBeTrue("document.getItems(' http://example.com/foo data:text/plain ').length == 2");
shouldBeTrue("document.getItems(' http://example.com/foo data:text/plain http://example.com/foo').length == 2");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This tests that document.getItems NodeList must be in source tree order.
PASS nodeList[0].id is 'one'
PASS nodeList[1].id is 'two'
PASS nodeList[2].id is 'three'
PASS nodeList[3].id is 'four'
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This tests that document.getItems NodeList must be in source tree order.</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/bar" id="two"></div>
<div itemscope itemtype="http://example.com/foo" id="three">
<div itemscope itemtype="data:text/plain," id="four"></div>
</div>
<div itemscope id="five"></div>
<div id="console"></div>
<script>
var nodeList = document.getItems();
shouldBe("nodeList[0].id", "'one'");
shouldBe("nodeList[1].id", "'two'");
shouldBe("nodeList[2].id", "'three'");
shouldBe("nodeList[3].id", "'four'");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This test ensures that document.getItems must not find items with itemtype but not itemscope.
PASS document.getItems('http://example.com/bar').length == 0 is true
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This test ensures that document.getItems must not find items with itemtype but not itemscope.</p>
<div itemscope itemtype="http://example.com/foo"></div>
<div itemtype="http://example.com/bar"></div>
<div id="console"></div>
<script>
shouldBeTrue("document.getItems('http://example.com/bar').length == 0");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
This test ensures that document.getItems must not contain the items that have the itemprop attribute set. It must return a NodeList containing the top-level microdata items in the document.
Name: Amanda
Band: Jazz Band (12 players)
PASS document.getItems().length == 6 is true
PASS document.getItems().length == 4 is true
PASS document.getItems().length == 5 is true
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE html>
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p>This test ensures that document.getItems must not contain the items that have the itemprop attribute set.
It must return a NodeList containing the top-level microdata items in the document.</p>
<div itemscope itemtype="http://example.com/foo" id="one"></div>
<div itemscope itemtype="http://example.com/bar" id="two"></div>
<div itemscope>
<p>Name: <span itemprop="name">Amanda</span></p>
<p>Band: <span itemprop="band" itemscope> <span itemprop="name">Jazz Band</span> (<span itemprop="size">12</span> players)</span></p>
</div>
<div itemscope itemtype="http://example.com/foo" id="three">
<div itemscope itemtype="http://example.com/f1" id="four"></div>
</div>
<div itemscope id="five"></div>
<div id="console"></div>
<script>
shouldBeTrue("document.getItems().length == 6");
document.getElementById('one').setAttribute('itemprop', 'test');
document.getElementById('five').setAttribute('itemprop', 'test');
shouldBeTrue("document.getItems().length == 4");