Skip to content
Permalink
Browse files
[iOS] Unify Font::platformCharWidthInit() with macOS
https://bugs.webkit.org/show_bug.cgi?id=178951
<rdar://problem/7848198>

Reviewed by Zalan Bujtas.

Source/WebCore:

The only reason these codepaths are different is because historically this codepath
didn't work with GS fonts (which we don't use anymore).

Tests: fast/forms/search-styled.html
       fast/forms/text-control-intrinsic-widths.html
       fast/forms/textarea-width.html

* platform/graphics/cocoa/FontCocoa.mm:
(WebCore::Font::platformCharWidthInit):

LayoutTests:

Updating expected results.

* platform/ios-wk2/fast/forms/search-styled-expected.txt: Removed.
* platform/ios-wk2/fast/forms/text-control-intrinsic-widths-expected.txt: Removed.
* platform/ios-wk2/fast/forms/textarea-width-expected.txt: Removed.
* platform/ios/fast/forms/search-styled-expected.txt:
* platform/ios/fast/forms/text-control-intrinsic-widths-expected.txt:
* platform/ios/fast/forms/textarea-width-expected.txt:


Canonical link: https://commits.webkit.org/195124@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
litherum committed Oct 29, 2017
1 parent 1493eec commit a1490e54652a1886d9ff4e74c72093f266a8a9a7
Showing 9 changed files with 289 additions and 680 deletions.
@@ -1,3 +1,20 @@
2017-10-28 Myles C. Maxfield <mmaxfield@apple.com>

[iOS] Unify Font::platformCharWidthInit() with macOS
https://bugs.webkit.org/show_bug.cgi?id=178951
<rdar://problem/7848198>

Reviewed by Zalan Bujtas.

Updating expected results.

* platform/ios-wk2/fast/forms/search-styled-expected.txt: Removed.
* platform/ios-wk2/fast/forms/text-control-intrinsic-widths-expected.txt: Removed.
* platform/ios-wk2/fast/forms/textarea-width-expected.txt: Removed.
* platform/ios/fast/forms/search-styled-expected.txt:
* platform/ios/fast/forms/text-control-intrinsic-widths-expected.txt:
* platform/ios/fast/forms/textarea-width-expected.txt:

2017-10-28 Chris Dumez <cdumez@apple.com>

self.ExtendableEvent / Client / Clients / WindowClient do not exist in a Service Worker

This file was deleted.

0 comments on commit a1490e5

Please sign in to comment.