⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185750 in webkit


Ignore:
Timestamp:
Jun 19, 2015, 9:58:14 AM (11 years ago)
Author:
jonlee@apple.com
Message:

Update font and font-family keyword completions
https://bugs.webkit.org/show_bug.cgi?id=144558
<rdar://problem/20795292>

Reviewed by Timothy Hatcher.

  • UserInterface/Models/CSSKeywordCompletions.js: Replace -webkit-system-font and

-apple-system-font with -apple-system, which is the recommended token for getting the
system font. Also add -title{1,2,3} for font, as they were missing, but already exist
in font-family.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r185741 r185750  
     12015-06-19  Jon Lee  <jonlee@apple.com>
     2
     3        Update font and font-family keyword completions
     4        https://bugs.webkit.org/show_bug.cgi?id=144558
     5        <rdar://problem/20795292>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * UserInterface/Models/CSSKeywordCompletions.js: Replace -webkit-system-font and
     10        -apple-system-font with -apple-system, which is the recommended token for getting the
     11        system font. Also add -title{1,2,3} for font, as they were missing, but already exist
     12        in font-family.
     13
    1142015-06-19  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js

    r184822 r185750  
    380380        "100", "200", "300", "400", "500", "600", "700", "800", "900", "xx-small", "x-small", "small", "medium",
    381381        "large", "x-large", "xx-large", "-webkit-xxx-large", "smaller", "larger", "serif", "sans-serif", "cursive",
    382         "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font", "-apple-system-font",
     382        "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-apple-system",
    383383        "-apple-system-headline", "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote",
    384384        "-apple-system-caption1", "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
    385385        "-apple-system-short-subheadline", "-apple-system-short-footnote", "-apple-system-short-caption1",
    386         "-apple-system-tall-body"
     386        "-apple-system-tall-body", "-apple-system-title1", "-apple-system-title2", "-apple-system-title3"
    387387    ],
    388388    "dominant-baseline": [
     
    480480    "font-family": [
    481481        "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
    482         "-webkit-system-font", "-apple-system-font", "-apple-system-headline", "-apple-system-body",
     482        "-apple-system", "-apple-system-headline", "-apple-system-body",
    483483        "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1", "-apple-system-caption2",
    484484        "-apple-system-short-headline", "-apple-system-short-body", "-apple-system-short-subheadline",
Note: See TracChangeset for help on using the changeset viewer.