Changeset 280599 in webkit
- Timestamp:
- Aug 3, 2021, 9:54:57 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/css/cursor-image-cssvalue-expected.txt (added)
-
LayoutTests/fast/css/cursor-image-cssvalue.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSValue.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r280592 r280599 1 2021-08-03 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r279050): Crash under CSSImageValue::createDeprecatedCSSOMWrapper with cursor images 4 https://bugs.webkit.org/show_bug.cgi?id=228735 5 6 Reviewed by Alex Christensen. 7 8 * fast/css/cursor-image-cssvalue-expected.txt: Added. 9 * fast/css/cursor-image-cssvalue.html: Added. 10 1 11 2021-08-03 Cathie Chen <cathiechen@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r280594 r280599 1 2021-08-03 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r279050): Crash under CSSImageValue::createDeprecatedCSSOMWrapper with cursor images 4 https://bugs.webkit.org/show_bug.cgi?id=228735 5 6 Reviewed by Alex Christensen. 7 8 CSSCursorImageValue is not a CSSImageValue. This used to work before r279050 because they had 9 the URL field in the same offset. 10 11 Test: fast/css/cursor-image-cssvalue.html 12 13 * css/CSSValue.cpp: 14 (WebCore::CSSValue::createDeprecatedCSSOMWrapper const): 15 16 Don't do any special handling for CSSCursorImageValue. They are exposed as generic (deprecated) 17 CSS values with cssText only. 18 1 19 2021-08-03 Alex Christensen <achristensen@webkit.org> 2 20 -
trunk/Source/WebCore/css/CSSValue.cpp
r278540 r280599 494 494 Ref<DeprecatedCSSOMValue> CSSValue::createDeprecatedCSSOMWrapper(CSSStyleDeclaration& styleDeclaration) const 495 495 { 496 if (isImageValue() || isCursorImageValue())496 if (isImageValue()) 497 497 return downcast<CSSImageValue>(this)->createDeprecatedCSSOMWrapper(styleDeclaration); 498 498 if (isPrimitiveValue())
Note:
See TracChangeset
for help on using the changeset viewer.