WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
178957
[iOS] LayoutTest fast/css/getComputedStyle/computed-style-font.html is failing
https://bugs.webkit.org/show_bug.cgi?id=178957
Summary
[iOS] LayoutTest fast/css/getComputedStyle/computed-style-font.html is failing
Ryan Haddad
Reported
2017-10-27 14:40:36 PDT
LayoutTest fast/css/getComputedStyle/computed-style-font.html fails when run on iOS with the following diff: --- /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/fast/css/getComputedStyle/computed-style-font-expected.txt +++ /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/fast/css/getComputedStyle/computed-style-font-actual.txt @@ -3,62 +3,62 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS computedFont('10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('10px SANS-SERIF') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('12px sans-serif') is 'normal normal normal normal 12px/14px sans-serif' -PASS computedFont('12px sans-serif') is 'normal normal normal normal 12px/14px sans-serif' -PASS computedFont('10px sans-serif, sans-serif') is 'normal normal normal normal 10px/12px sans-serif, sans-serif' -PASS computedFont('10px sans-serif, serif') is 'normal normal normal normal 10px/12px sans-serif, serif' -PASS computedFont('12px ahem') is 'normal normal normal normal 12px/12px ahem' -PASS computedFont('12px unlikely-font-name') is 'normal normal normal normal 12px/14px unlikely-font-name' -PASS computedFont('100 10px sans-serif') is 'normal normal 100 normal 10px/12px sans-serif' -PASS computedFont('200 10px sans-serif') is 'normal normal 200 normal 10px/12px sans-serif' -PASS computedFont('300 10px sans-serif') is 'normal normal 300 normal 10px/12px sans-serif' -PASS computedFont('400 10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('normal 10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('500 10px sans-serif') is 'normal normal 500 normal 10px/12px sans-serif' -PASS computedFont('600 10px sans-serif') is 'normal normal 600 normal 10px/12px sans-serif' -PASS computedFont('700 10px sans-serif') is 'normal normal bold normal 10px/12px sans-serif' -PASS computedFont('bold 10px sans-serif') is 'normal normal bold normal 10px/12px sans-serif' -PASS computedFont('800 10px sans-serif') is 'normal normal 800 normal 10px/12px sans-serif' -PASS computedFont('900 10px sans-serif') is 'normal normal 900 normal 10px/12px sans-serif' -PASS computedFont('italic 10px sans-serif') is 'italic normal normal normal 10px/12px sans-serif' -PASS computedFont('small-caps 10px sans-serif') is 'normal small-caps normal normal 10px/12px sans-serif' -PASS computedFont('italic small-caps 10px sans-serif') is 'italic small-caps normal normal 10px/12px sans-serif' -PASS computedFont('italic small-caps bold 10px sans-serif') is 'italic small-caps bold normal 10px/12px sans-serif' +FAIL computedFont('10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('10px SANS-SERIF') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('12px sans-serif') should be normal normal normal normal 12px/14px sans-serif. Was normal normal normal normal 12px/15px sans-serif. +FAIL computedFont('12px sans-serif') should be normal normal normal normal 12px/14px sans-serif. Was normal normal normal normal 12px/15px sans-serif. +FAIL computedFont('10px sans-serif, sans-serif') should be normal normal normal normal 10px/12px sans-serif, sans-serif. Was normal normal normal normal 10px/13px sans-serif, sans-serif. +FAIL computedFont('10px sans-serif, serif') should be normal normal normal normal 10px/12px sans-serif, serif. Was normal normal normal normal 10px/13px sans-serif, serif. +FAIL computedFont('12px ahem') should be normal normal normal normal 12px/12px ahem. Was normal normal normal normal 12px/13px ahem. +FAIL computedFont('12px unlikely-font-name') should be normal normal normal normal 12px/14px unlikely-font-name. Was normal normal normal normal 12px/15px unlikely-font-name. +FAIL computedFont('100 10px sans-serif') should be normal normal 100 normal 10px/12px sans-serif. Was normal normal 100 normal 10px/13px sans-serif. +FAIL computedFont('200 10px sans-serif') should be normal normal 200 normal 10px/12px sans-serif. Was normal normal 200 normal 10px/13px sans-serif. +FAIL computedFont('300 10px sans-serif') should be normal normal 300 normal 10px/12px sans-serif. Was normal normal 300 normal 10px/13px sans-serif. +FAIL computedFont('400 10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('normal 10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('500 10px sans-serif') should be normal normal 500 normal 10px/12px sans-serif. Was normal normal 500 normal 10px/13px sans-serif. +FAIL computedFont('600 10px sans-serif') should be normal normal 600 normal 10px/12px sans-serif. Was normal normal 600 normal 10px/13px sans-serif. +FAIL computedFont('700 10px sans-serif') should be normal normal bold normal 10px/12px sans-serif. Was normal normal bold normal 10px/13px sans-serif. +FAIL computedFont('bold 10px sans-serif') should be normal normal bold normal 10px/12px sans-serif. Was normal normal bold normal 10px/13px sans-serif. +FAIL computedFont('800 10px sans-serif') should be normal normal 800 normal 10px/12px sans-serif. Was normal normal 800 normal 10px/13px sans-serif. +FAIL computedFont('900 10px sans-serif') should be normal normal 900 normal 10px/12px sans-serif. Was normal normal 900 normal 10px/13px sans-serif. +FAIL computedFont('italic 10px sans-serif') should be italic normal normal normal 10px/12px sans-serif. Was italic normal normal normal 10px/13px sans-serif. +FAIL computedFont('small-caps 10px sans-serif') should be normal small-caps normal normal 10px/12px sans-serif. Was normal small-caps normal normal 10px/13px sans-serif. +FAIL computedFont('italic small-caps 10px sans-serif') should be italic small-caps normal normal 10px/12px sans-serif. Was italic small-caps normal normal 10px/13px sans-serif. +FAIL computedFont('italic small-caps bold 10px sans-serif') should be italic small-caps bold normal 10px/12px sans-serif. Was italic small-caps bold normal 10px/13px sans-serif. PASS computedFont('10px/100% sans-serif') is 'normal normal normal normal 10px/10px sans-serif' PASS computedFont('10px/100px sans-serif') is 'normal normal normal normal 10px/100px sans-serif' -PASS computedFont('10px/normal sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFont('10px/normal sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('10px SANS-SERIF') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal normal 12px/14px sans-serif' -PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal normal 12px/14px sans-serif' -PASS computedFontCSSValue('10px sans-serif, sans-serif') is 'normal normal normal normal 10px/12px sans-serif, sans-serif' -PASS computedFontCSSValue('10px sans-serif, serif') is 'normal normal normal normal 10px/12px sans-serif, serif' -PASS computedFontCSSValue('12px ahem') is 'normal normal normal normal 12px/12px ahem' -PASS computedFontCSSValue('12px unlikely-font-name') is 'normal normal normal normal 12px/14px unlikely-font-name' -PASS computedFontCSSValue('100 10px sans-serif') is 'normal normal 100 normal 10px/12px sans-serif' -PASS computedFontCSSValue('200 10px sans-serif') is 'normal normal 200 normal 10px/12px sans-serif' -PASS computedFontCSSValue('300 10px sans-serif') is 'normal normal 300 normal 10px/12px sans-serif' -PASS computedFontCSSValue('400 10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('normal 10px sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('500 10px sans-serif') is 'normal normal 500 normal 10px/12px sans-serif' -PASS computedFontCSSValue('600 10px sans-serif') is 'normal normal 600 normal 10px/12px sans-serif' -PASS computedFontCSSValue('700 10px sans-serif') is 'normal normal bold normal 10px/12px sans-serif' -PASS computedFontCSSValue('bold 10px sans-serif') is 'normal normal bold normal 10px/12px sans-serif' -PASS computedFontCSSValue('800 10px sans-serif') is 'normal normal 800 normal 10px/12px sans-serif' -PASS computedFontCSSValue('900 10px sans-serif') is 'normal normal 900 normal 10px/12px sans-serif' -PASS computedFontCSSValue('italic 10px sans-serif') is 'italic normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('small-caps 10px sans-serif') is 'normal small-caps normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('italic small-caps 10px sans-serif') is 'italic small-caps normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('italic small-caps bold 10px sans-serif') is 'italic small-caps bold normal 10px/12px sans-serif' +FAIL computedFont('10px/normal sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFont('10px/normal sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('10px SANS-SERIF') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('12px sans-serif') should be normal normal normal normal 12px/14px sans-serif. Was normal normal normal normal 12px/15px sans-serif. +FAIL computedFontCSSValue('12px sans-serif') should be normal normal normal normal 12px/14px sans-serif. Was normal normal normal normal 12px/15px sans-serif. +FAIL computedFontCSSValue('10px sans-serif, sans-serif') should be normal normal normal normal 10px/12px sans-serif, sans-serif. Was normal normal normal normal 10px/13px sans-serif, sans-serif. +FAIL computedFontCSSValue('10px sans-serif, serif') should be normal normal normal normal 10px/12px sans-serif, serif. Was normal normal normal normal 10px/13px sans-serif, serif. +FAIL computedFontCSSValue('12px ahem') should be normal normal normal normal 12px/12px ahem. Was normal normal normal normal 12px/13px ahem. +FAIL computedFontCSSValue('12px unlikely-font-name') should be normal normal normal normal 12px/14px unlikely-font-name. Was normal normal normal normal 12px/15px unlikely-font-name. +FAIL computedFontCSSValue('100 10px sans-serif') should be normal normal 100 normal 10px/12px sans-serif. Was normal normal 100 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('200 10px sans-serif') should be normal normal 200 normal 10px/12px sans-serif. Was normal normal 200 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('300 10px sans-serif') should be normal normal 300 normal 10px/12px sans-serif. Was normal normal 300 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('400 10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('normal 10px sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('500 10px sans-serif') should be normal normal 500 normal 10px/12px sans-serif. Was normal normal 500 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('600 10px sans-serif') should be normal normal 600 normal 10px/12px sans-serif. Was normal normal 600 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('700 10px sans-serif') should be normal normal bold normal 10px/12px sans-serif. Was normal normal bold normal 10px/13px sans-serif. +FAIL computedFontCSSValue('bold 10px sans-serif') should be normal normal bold normal 10px/12px sans-serif. Was normal normal bold normal 10px/13px sans-serif. +FAIL computedFontCSSValue('800 10px sans-serif') should be normal normal 800 normal 10px/12px sans-serif. Was normal normal 800 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('900 10px sans-serif') should be normal normal 900 normal 10px/12px sans-serif. Was normal normal 900 normal 10px/13px sans-serif. +FAIL computedFontCSSValue('italic 10px sans-serif') should be italic normal normal normal 10px/12px sans-serif. Was italic normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('small-caps 10px sans-serif') should be normal small-caps normal normal 10px/12px sans-serif. Was normal small-caps normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('italic small-caps 10px sans-serif') should be italic small-caps normal normal 10px/12px sans-serif. Was italic small-caps normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('italic small-caps bold 10px sans-serif') should be italic small-caps bold normal 10px/12px sans-serif. Was italic small-caps bold normal 10px/13px sans-serif. PASS computedFontCSSValue('10px/100% sans-serif') is 'normal normal normal normal 10px/10px sans-serif' PASS computedFontCSSValue('10px/100px sans-serif') is 'normal normal normal normal 10px/100px sans-serif' -PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal normal 10px/12px sans-serif' -PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal normal 10px/12px sans-serif' +FAIL computedFontCSSValue('10px/normal sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. +FAIL computedFontCSSValue('10px/normal sans-serif') should be normal normal normal normal 10px/12px sans-serif. Was normal normal normal normal 10px/13px sans-serif. PASS successfullyParsed is true TEST COMPLETE
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug