Bug 178954

Summary: [iOS] LayoutTest fast/css/font-shorthand-from-longhands.html is failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: mmaxfield
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=178588

Ryan Haddad
Reported 2017-10-27 14:26:22 PDT
LayoutTest fast/css/font-shorthand-from-longhands.html fails when run on iOS with the following diff: --- /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/fast/css/font-shorthand-from-longhands-expected.txt +++ /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/fast/css/font-shorthand-from-longhands-actual.txt @@ -4,23 +4,23 @@ PASS style.font is '' -PASS computedStyle.font is 'normal normal normal normal 20px/23px foobar' +FAIL computedStyle.font should be normal normal normal normal 20px/23px foobar. Was normal normal normal normal 20px/24px foobar. PASS computedStyle.fontSize is '20px' PASS checkFontStyleValue() is true PASS style.font is '20px sans-serif' -PASS computedStyle.font is 'normal normal normal normal 20px/23px sans-serif' +FAIL computedStyle.font should be normal normal normal normal 20px/23px sans-serif. Was normal normal normal normal 20px/25px sans-serif. PASS computedStyle.fontFamily is 'sans-serif' PASS checkFontStyleValue() is true PASS style.font is 'italic 20px sans-serif' -PASS computedStyle.font is 'italic normal normal normal 20px/23px sans-serif' +FAIL computedStyle.font should be italic normal normal normal 20px/23px sans-serif. Was italic normal normal normal 20px/25px sans-serif. PASS computedStyle.fontStyle is 'italic' PASS checkFontStyleValue() is true PASS style.font is 'italic small-caps 20px sans-serif' -PASS computedStyle.font is 'italic small-caps normal normal 20px/23px sans-serif' +FAIL computedStyle.font should be italic small-caps normal normal 20px/23px sans-serif. Was italic small-caps normal normal 20px/25px sans-serif. PASS computedStyle.fontVariant is 'small-caps' PASS checkFontStyleValue() is true PASS style.font is 'italic small-caps bold 20px sans-serif' -PASS computedStyle.font is 'italic small-caps bold normal 20px/23px sans-serif' +FAIL computedStyle.font should be italic small-caps bold normal 20px/23px sans-serif. Was italic small-caps bold normal 20px/25px sans-serif. PASS computedStyle.fontWeight is 'bold' PASS checkFontStyleValue() is true PASS style.font is 'italic small-caps bold 20px/40px sans-serif' @@ -28,14 +28,14 @@ PASS computedStyle.lineHeight is '40px' PASS checkFontStyleValue() is true PASS style.font is '' -PASS computedStyle.font is 'normal normal normal normal 16px/18px foobar' +FAIL computedStyle.font should be normal normal normal normal 16px/18px foobar. Was normal normal normal normal 16px/20px foobar. PASS checkFontStyleValue() is true PASS style.font is '' -PASS computedStyle.font is 'normal normal bold normal 16px/18px foobar' +FAIL computedStyle.font should be normal normal bold normal 16px/18px foobar. Was normal normal bold normal 16px/20px foobar. PASS computedStyle.fontWeight is 'bold' PASS checkFontStyleValue() is true PASS style.font is 'bold 40px sans-serif' -PASS computedStyle.font is 'normal normal bold normal 40px/46px sans-serif' +FAIL computedStyle.font should be normal normal bold normal 40px/46px sans-serif. Was normal normal bold normal 40px/48px sans-serif. PASS computedStyle.fontSize is '40px' PASS computedStyle.fontFamily is 'sans-serif' PASS checkFontStyleValue() is true
Attachments
Note You need to log in before you can comment on or make changes to this bug.