Changeset 220531 in webkit
- Timestamp:
- Aug 10, 2017 9:59:28 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r220528 r220531 1 2017-08-10 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Addressing post-review comments after r219173. 4 https://bugs.webkit.org/show_bug.cgi?id=174149 5 6 Unreviewed. 7 8 * css/CSSFontStyleValue.h: 9 * editing/EditingStyle.cpp: 10 (WebCore::identifierForStyleProperty): 11 1 12 2017-08-10 Antti Koivisto <antti@apple.com> 2 13 -
trunk/Source/WebCore/css/CSSFontStyleValue.h
r219173 r220531 47 47 bool equals(const CSSFontStyleValue&) const; 48 48 49 bool isItalic () const49 bool isItalicOrOblique() const 50 50 { 51 51 if (!obliqueValue) { -
trunk/Source/WebCore/editing/EditingStyle.cpp
r220443 r220531 143 143 { 144 144 RefPtr<CSSValue> value = extractPropertyValue(style, propertyID); 145 if (propertyID == CSSPropertyFontStyle && is<CSSFontStyleValue>(value.get()) && downcast<CSSFontStyleValue>(value.get())->isItalic ())145 if (propertyID == CSSPropertyFontStyle && is<CSSFontStyleValue>(value.get()) && downcast<CSSFontStyleValue>(value.get())->isItalicOrOblique()) 146 146 return CSSValueItalic; 147 147 if (!is<CSSPrimitiveValue>(value.get()))
Note: See TracChangeset
for help on using the changeset viewer.