Add missing text styles
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Apr 2017 05:28:10 +0000 (05:28 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Apr 2017 05:28:10 +0000 (05:28 +0000)
commitb9c753c5c17260751de016d113f72f5a7f6ebfb6
treef0bfd4b489b626df1d754deae47db461d2d01fe1
parent8dd0fc88b9306333bc9e40787cd95cb4c949e8db
Add missing text styles
https://bugs.webkit.org/show_bug.cgi?id=170295
rdar://problem/30219503

Reviewed by Dean Jackson.

Source/WebCore:

Updated existing test to include new text styles.

* css/CSSValueKeywords.in: Add title0 and title4.
* platform/spi/cocoa/CoreTextSPI.h:
* rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::cachedSystemFontDescription):
(WebCore::RenderThemeIOS::updateCachedSystemFontDescription):

Source/WebInspectorUI:

* UserInterface/Models/CSSKeywordCompletions.js: Update keyword completions

LayoutTests:

* platform/ios/ios/fast/text/opticalFontWithTextStyle.html: Update test to include title0 and title4.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@214724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt
LayoutTests/platform/ios/ios/fast/text/opticalFontWithTextStyle.html
Source/WebCore/ChangeLog
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/platform/spi/cocoa/CoreTextSPI.h
Source/WebCore/rendering/RenderThemeIOS.mm
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js