haikuwebkit/LayoutTests/css-typedom/sameobject-expected.txt

21 lines
484 B
Plaintext
Raw Permalink Normal View History

CSS Typed OM should expose attributeStyleMap https://bugs.webkit.org/show_bug.cgi?id=192671 Reviewed by Ryosuke Niwa. LayoutTests/imported/w3c: * web-platform-tests/css/css-properties-values-api/typedom.tentative-expected.txt: * web-platform-tests/css/css-properties-values-api/unit-cycles-expected.txt: Source/WebCore: Exposes element.attributeStyleMap, adds a stub for the StylePropertyMap class, and updates the existing TypedOMCSSImageValue to not require a RenderObject so that it can still work inside attributeStyleMap. Test: css-typedom/attributeStyleMap.html * CMakeLists.txt: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/ElementCSSInlineStyle.idl: * css/typedom/StylePropertyMap.h: Copied from Source/WebCore/css/typedom/StylePropertyMapReadOnly.h. * css/typedom/StylePropertyMap.idl: Copied from Source/WebCore/css/typedom/StylePropertyMapReadOnly.idl. * css/typedom/StylePropertyMapReadOnly.cpp: Added. (WebCore::StylePropertyMapReadOnly::reifyValue): (WebCore::StylePropertyMapReadOnly::customPropertyValueOrDefault): * css/typedom/StylePropertyMapReadOnly.h: (WebCore::StylePropertyMapReadOnly::create): Deleted. (WebCore::StylePropertyMapReadOnly::get const): Deleted. (WebCore::StylePropertyMapReadOnly::StylePropertyMapReadOnly): Deleted. * css/typedom/StylePropertyMapReadOnly.idl: * css/typedom/TypedOMCSSImageValue.h: * dom/Element.cpp: (WebCore::Element::attributeStyleMap): (WebCore::Element::setAttributeStyleMap): * dom/Element.h: * dom/ElementRareData.cpp: * dom/ElementRareData.h: (WebCore::ElementRareData::attributeStyleMap): (WebCore::ElementRareData::setAttributeStyleMap): * dom/StyledElement.cpp: (WebCore::StyledElement::ensureAttributeStyleMap): * dom/StyledElement.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::size): (WebCore::CanvasRenderingContext2DBase::drawImage): * platform/graphics/CustomPaintImage.cpp: (WebCore::extractComputedProperty): (WebCore::CustomPaintImage::doCustomPaint): LayoutTests: * css-typedom/attributeStyleMap-expected.txt: Added. * css-typedom/attributeStyleMap.html: Added. * css-typedom/sameobject-expected.txt: Added. * css-typedom/sameobject.html: Added. * fast/css-custom-paint/properties.html: * platform/ios-wk1/TestExpectations: * platform/ios-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt: Added. * platform/mac-wk1/TestExpectations: * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt: Added. * platform/win/TestExpectations: Canonical link: https://commits.webkit.org/207388@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-12-18 18:51:05 +00:00
Tests that idl [SameObject] is specified.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS element is still alive
PASS successfullyParsed is true
TEST COMPLETE