Changeset 167240 in webkit
- Timestamp:
- Apr 14, 2014 4:21:49 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167218 r167240 1 2014-04-14 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [JSC] CSSStyleDeclaration report incorrect descriptor 4 https://bugs.webkit.org/show_bug.cgi?id=89697 5 6 Reviewed by Benjamin Poulain. 7 8 Add new test to check the descriptor of CSSStyleDeclaration properties. 9 10 * fast/dom/CSSStyleDeclaration/cssstyledeclaration-properties-descriptor-expected.txt: Added. 11 * fast/dom/CSSStyleDeclaration/cssstyledeclaration-properties-descriptor.html: Added. 12 1 13 2014-04-14 Benjamin Poulain <benjamin@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r167220 r167240 1 2014-04-14 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [JSC] CSSStyleDeclaration report incorrect descriptor 4 https://bugs.webkit.org/show_bug.cgi?id=89697 5 6 Reviewed by Benjamin Poulain. 7 8 Change descriptor of CSSStyleDeclaration properties in order to have 9 writable and enumerable attributes set to true. Configurable is kept to 10 false since the property is not deleteable. 11 12 Test: fast/dom/CSSStyleDeclaration/cssstyledeclaration-properties-descriptor.html 13 14 * bindings/js/JSCSSStyleDeclarationCustom.cpp: 15 (WebCore::JSCSSStyleDeclaration::getOwnPropertySlotDelegate): Only set 16 DontDelete attribute when creating the descriptor for 17 CSSStyleDeclaration properties. 18 1 19 2014-04-14 Benjamin Poulain <benjamin@webkit.org> 2 20 -
trunk/Source/WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp
r166091 r167240 337 337 338 338 if (propertyInfo.hadPixelOrPosPrefix) 339 slot.setCustomIndex(this, ReadOnly | DontDelete | DontEnum, static_cast<unsigned>(propertyInfo.propertyID), cssPropertyGetterPixelOrPosPrefixCallback);339 slot.setCustomIndex(this, DontDelete, static_cast<unsigned>(propertyInfo.propertyID), cssPropertyGetterPixelOrPosPrefixCallback); 340 340 else 341 slot.setCustomIndex(this, ReadOnly | DontDelete | DontEnum, static_cast<unsigned>(propertyInfo.propertyID), cssPropertyGetterCallback);341 slot.setCustomIndex(this, DontDelete, static_cast<unsigned>(propertyInfo.propertyID), cssPropertyGetterCallback); 342 342 return true; 343 343 }
Note: See TracChangeset
for help on using the changeset viewer.