Changeset 219173 in webkit


Ignore:
Timestamp:
Jul 5, 2017 5:26:31 PM (7 years ago)
Author:
mmaxfield@apple.com
Message:

CSSFontStyleValue::isItalic seems a bit bogus.
https://bugs.webkit.org/show_bug.cgi?id=174149

Reviewed by Tim Horton.

Source/WebCore:

Simple typo.

Test: editing/execCommand/italicizeByCharacter-normal.html

  • css/CSSFontStyleValue.h:

LayoutTests:

  • editing/execCommand/italicizeByCharacter-normal-expected.txt: Added.
  • editing/execCommand/italicizeByCharacter-normal.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r219171 r219173  
     12017-07-05  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        CSSFontStyleValue::isItalic seems a bit bogus.
     4        https://bugs.webkit.org/show_bug.cgi?id=174149
     5
     6        Reviewed by Tim Horton.
     7
     8        * editing/execCommand/italicizeByCharacter-normal-expected.txt: Added.
     9        * editing/execCommand/italicizeByCharacter-normal.html: Added.
     10
    1112017-07-05  Matt Lewis  <jlewis3@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r219170 r219173  
     12017-07-05  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        CSSFontStyleValue::isItalic seems a bit bogus.
     4        https://bugs.webkit.org/show_bug.cgi?id=174149
     5
     6        Reviewed by Tim Horton.
     7
     8        Simple typo.
     9
     10        Test: editing/execCommand/italicizeByCharacter-normal.html
     11
     12        * css/CSSFontStyleValue.h:
     13
    1142017-07-05  Brady Eidson  <beidson@apple.com>
    215
  • trunk/Source/WebCore/css/CSSFontStyleValue.h

    r214359 r219173  
    5151        if (!obliqueValue) {
    5252            auto valueID = fontStyleValue->valueID();
    53             return valueID == CSSValueItalic || CSSValueOblique;
     53            return valueID == CSSValueItalic || valueID == CSSValueOblique;
    5454        }
    5555        return obliqueValue->value<float>(CSSPrimitiveValue::CSS_DEG) >= static_cast<float>(italicValue());
Note: See TracChangeset for help on using the changeset viewer.