Changeset 214730 in webkit


Ignore:
Timestamp:
Apr 2, 2017, 8:13:42 PM (8 years ago)
Author:
ap@apple.com
Message:

Build fix for
Add missing text styles
https://bugs.webkit.org/show_bug.cgi?id=170295

Source/WebCore:

  • rendering/RenderThemeIOS.mm:

(WebCore::RenderThemeIOS::cachedSystemFontDescription):
(WebCore::RenderThemeIOS::updateCachedSystemFontDescription):

LayoutTests:

  • platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r214728 r214730  
     12017-04-02  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix for
     4        Add missing text styles
     5        https://bugs.webkit.org/show_bug.cgi?id=170295
     6
     7        * platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt:
     8
    192017-04-02  Alexey Proskuryakov  <ap@apple.com>
    210
  • trunk/LayoutTests/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt

    r214724 r214730  
    1 layer at (0,0) size 800x663
     1layer at (0,0) size 800x629
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x663
    4   RenderBlock {HTML} at (0,0) size 800x663
    5     RenderBody {BODY} at (8,15) size 784x640
     3layer at (0,0) size 800x629
     4  RenderBlock {HTML} at (0,0) size 800x629
     5    RenderBody {BODY} at (8,15) size 784x606
    66      RenderBlock {DIV} at (0,0) size 784x24
    77        RenderText {#text} at (0,1) size 106x22
     
    1919        RenderText {#text} at (0,0) size 92x25
    2020          text run at (0,0) width 92: "T3 / Title3"
    21       RenderBlock {DIV} at (0,205) size 784x50
    22         RenderText {#text} at (0,1) size 187x47
    23           text run at (0,1) width 187: "T4 / Title4"
    24       RenderBlock {DIV} at (0,270) size 784x24
     21      RenderBlock {DIV} at (0,205) size 784x16
     22        RenderText {#text} at (0,0) size 56x15
     23          text run at (0,0) width 56: "T4 / Title4"
     24      RenderBlock {DIV} at (0,236) size 784x24
    2525        RenderText {#text} at (0,1) size 707x22
    2626          text run at (0,1) width 707: "Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi"
    27       RenderBlock {DIV} at (0,309) size 784x26
     27      RenderBlock {DIV} at (0,275) size 784x26
    2828        RenderText {#text} at (0,2) size 737x22
    2929          text run at (0,2) width 737: "Tall Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi"
    30       RenderBlock {DIV} at (0,350) size 784x22
     30      RenderBlock {DIV} at (0,316) size 784x22
    3131        RenderText {#text} at (0,1) size 85x19
    3232          text run at (0,1) width 85: "Subheadline"
    33       RenderBlock {DIV} at (0,387) size 784x20
     33      RenderBlock {DIV} at (0,353) size 784x20
    3434        RenderText {#text} at (0,1) size 83x17
    3535          text run at (0,1) width 83: "FN / Footnote"
    36       RenderBlock {DIV} at (0,422) size 784x17
     36      RenderBlock {DIV} at (0,388) size 784x17
    3737        RenderText {#text} at (0,1) size 96x15
    3838          text run at (0,1) width 96: "Cap 1 / Caption 1"
    39       RenderBlock {DIV} at (0,454) size 784x14
     39      RenderBlock {DIV} at (0,420) size 784x14
    4040        RenderText {#text} at (0,0) size 92x14
    4141          text run at (0,0) width 92: "Cap 2 / Caption 2"
    42       RenderBlock {DIV} at (0,483) size 784x22
     42      RenderBlock {DIV} at (0,449) size 784x22
    4343        RenderText {#text} at (0,0) size 154x22
    4444          text run at (0,0) width 154: "Short H1 / Headline"
    45       RenderBlock {DIV} at (0,520) size 784x22
     45      RenderBlock {DIV} at (0,486) size 784x22
    4646        RenderText {#text} at (0,0) size 753x22
    4747          text run at (0,0) width 753: "Short Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi"
    48       RenderBlock {DIV} at (0,557) size 784x20
     48      RenderBlock {DIV} at (0,523) size 784x20
    4949        RenderText {#text} at (0,0) size 127x19
    5050          text run at (0,0) width 127: "Short Subheadline"
    51       RenderBlock {DIV} at (0,592) size 784x18
     51      RenderBlock {DIV} at (0,558) size 784x18
    5252        RenderText {#text} at (0,0) size 120x17
    5353          text run at (0,0) width 120: "Short FN / Footnote"
    54       RenderBlock {DIV} at (0,625) size 784x15
     54      RenderBlock {DIV} at (0,591) size 784x15
    5555        RenderText {#text} at (0,0) size 130x15
    5656          text run at (0,0) width 130: "Short Cap 1 / Caption 1"
  • trunk/Source/WebCore/ChangeLog

    r214726 r214730  
     12017-04-02  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix for
     4        Add missing text styles
     5        https://bugs.webkit.org/show_bug.cgi?id=170295
     6
     7        * rendering/RenderThemeIOS.mm:
     8        (WebCore::RenderThemeIOS::cachedSystemFontDescription):
     9        (WebCore::RenderThemeIOS::updateCachedSystemFontDescription):
     10
    1112017-04-01  Zalan Bujtas  <zalan@apple.com>
    212
  • trunk/Source/WebCore/rendering/RenderThemeIOS.mm

    r214724 r214730  
    11421142    static NeverDestroyed<FontCascadeDescription> title2Font;
    11431143    static NeverDestroyed<FontCascadeDescription> title3Font;
    1144 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000
     1144#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
    11451145    static NeverDestroyed<FontCascadeDescription> title4Font;
    11461146#endif
     
    11801180    case CSSValueAppleSystemTitle3:
    11811181        return title3Font;
    1182 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000
     1182#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
    11831183    case CSSValueAppleSystemTitle4:
    11841184        return title4Font;
     
    12421242        fontDescriptor = adoptCF(CTFontDescriptorCreateWithTextStyle(textStyle, contentSizeCategory(), 0));
    12431243        break;
    1244 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000
     1244#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
    12451245    case CSSValueAppleSystemTitle4:
    12461246        textStyle = kCTUIFontTextStyleTitle4;
Note: See TracChangeset for help on using the changeset viewer.