Changeset 179168 in webkit
- Timestamp:
- Jan 26, 2015, 10:12:40 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r179167 r179168 1 2015-01-26 Sylvain Galineau <galineau@adobe.com> 2 3 The computed value of line-height:normal is incorrect 4 https://bugs.webkit.org/show_bug.cgi?id=133744 5 6 Reviewed by Dean Jackson. 7 8 line-height:normal now computes to a length value. 9 This patch updates the tests to reflect the new computed value, as needed. 10 11 * css3/calc/line-height-expected.txt: 12 * editing/pasteboard/simplfiying-markup-should-not-strip-content-expected.txt: 13 * fast/css/font-calculated-value-expected.txt: 14 * fast/css/font-calculated-value.html: 15 * fast/css/font-shorthand-from-longhands-expected.txt: 16 * fast/css/font-shorthand-from-longhands.html: 17 * fast/css/getComputedStyle/computed-style-expected.txt: 18 * fast/css/getComputedStyle/computed-style-font-expected.txt: 19 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 20 * fast/css/getComputedStyle/script-tests/computed-style-font.js: 21 * fast/css/line-height-text-autosizing-expected.txt: 22 * fast/css/line-height-text-autosizing.html: 23 * fast/ruby/ruby-line-height-expected.txt: 24 * fast/ruby/script-tests/ruby-line-height.js: 25 * media/track/track-cue-rendering-on-resize-expected.txt: 26 * media/track/track-cue-rendering-on-resize.html: 27 * platform/mac-mavericks/platform/mac/editing/attributed-string/anchor-element-expected.txt: 28 * platform/mac-mavericks/platform/mac/editing/attributed-string/basic-expected.txt: 29 * platform/mac-mavericks/platform/mac/editing/attributed-string/font-size-expected.txt: 30 * platform/mac-mavericks/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt: 31 * platform/mac-mavericks/platform/mac/editing/attributed-string/font-weight-expected.txt: 32 * platform/mac-mavericks/platform/mac/editing/attributed-string/letter-spacing-expected.txt: 33 * platform/mac-mavericks/platform/mac/editing/attributed-string/text-decorations-expected.txt: 34 * platform/mac-mavericks/platform/mac/editing/attributed-string/vertical-align-expected.txt: 35 * platform/mac/editing/attributed-string/anchor-element-expected.txt: 36 * platform/mac/editing/attributed-string/basic-expected.txt: 37 * platform/mac/editing/attributed-string/font-size-expected.txt: 38 * platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt: 39 * platform/mac/editing/attributed-string/font-weight-expected.txt: 40 * platform/mac/editing/attributed-string/letter-spacing-expected.txt: 41 * platform/mac/editing/attributed-string/text-decorations-expected.txt: 42 * platform/mac/editing/attributed-string/vertical-align-expected.txt: 43 * svg/css/getComputedStyle-basic-expected.txt: 44 1 45 2015-01-26 Brent Fulgham <bfulgham@apple.com> 2 46 -
trunk/LayoutTests/css3/calc/line-height-expected.txt
r107688 r179168 5 5 6 6 PASS getComputedStyle(document.getElementById("calc-percent"), null).lineHeight is getComputedStyle(document.getElementById("control"), null).lineHeight 7 FAIL getComputedStyle(document.getElementById("calc-percent-pixels"), null).lineHeight should be 32px. Was normal.7 FAIL getComputedStyle(document.getElementById("calc-percent-pixels"), null).lineHeight should be 32px. Was 18px. 8 8 PASS successfullyParsed is true 9 9 -
trunk/LayoutTests/editing/pasteboard/simplfiying-markup-should-not-strip-content-expected.txt
r152185 r179168 34 34 | "hello " 35 35 | <br> 36 | style="font-family: Helvetica; "36 | style="font-family: Helvetica; line-height: 18px;" 37 37 | <font> 38 38 | face="Verdana" -
trunk/LayoutTests/fast/css/font-calculated-value-expected.txt
r176454 r179168 7 7 testDiv.style['font'] = 'italic small-caps calc(100 * 9) 12px arial' 8 8 PASS testDiv.style['font'] is "italic small-caps 900 12px arial" 9 PASS window.getComputedStyle(testDiv).getPropertyValue('font') is "italic small-caps 900 12px/ normalarial"9 PASS window.getComputedStyle(testDiv).getPropertyValue('font') is "italic small-caps 900 12px/14px arial" 10 10 PASS successfullyParsed is true 11 11 -
trunk/LayoutTests/fast/css/font-calculated-value.html
r176454 r179168 11 11 evalAndLog("testDiv.style['font'] = 'italic small-caps calc(100 * 9) 12px arial'"); 12 12 shouldBeEqualToString("testDiv.style['font']", "italic small-caps 900 12px arial"); 13 shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('font')", "italic small-caps 900 12px/ normalarial");13 shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('font')", "italic small-caps 900 12px/14px arial"); 14 14 15 15 </script> -
trunk/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt
r139313 r179168 5 5 6 6 PASS style.font is '' 7 PASS computedStyle.font is 'normal normal normal 20px/ normalfoobar'7 PASS computedStyle.font is 'normal normal normal 20px/23px foobar' 8 8 PASS computedStyle.fontSize is '20px' 9 9 PASS checkFontStyleValue() is true 10 10 PASS style.font is '20px sans-serif' 11 PASS computedStyle.font is 'normal normal normal 20px/ normalsans-serif'11 PASS computedStyle.font is 'normal normal normal 20px/23px sans-serif' 12 12 PASS computedStyle.fontFamily is 'sans-serif' 13 13 PASS checkFontStyleValue() is true 14 14 PASS style.font is 'italic 20px sans-serif' 15 PASS computedStyle.font is 'italic normal normal 20px/ normalsans-serif'15 PASS computedStyle.font is 'italic normal normal 20px/23px sans-serif' 16 16 PASS computedStyle.fontStyle is 'italic' 17 17 PASS checkFontStyleValue() is true 18 18 PASS style.font is 'italic small-caps 20px sans-serif' 19 PASS computedStyle.font is 'italic small-caps normal 20px/ normalsans-serif'19 PASS computedStyle.font is 'italic small-caps normal 20px/23px sans-serif' 20 20 PASS computedStyle.fontVariant is 'small-caps' 21 21 PASS checkFontStyleValue() is true 22 22 PASS style.font is 'italic small-caps bold 20px sans-serif' 23 PASS computedStyle.font is 'italic small-caps bold 20px/ normalsans-serif'23 PASS computedStyle.font is 'italic small-caps bold 20px/23px sans-serif' 24 24 PASS computedStyle.fontWeight is 'bold' 25 25 PASS checkFontStyleValue() is true … … 29 29 PASS checkFontStyleValue() is true 30 30 PASS style.font is '' 31 PASS computedStyle.font is 'normal normal normal 16px/ normalfoobar'31 PASS computedStyle.font is 'normal normal normal 16px/18px foobar' 32 32 PASS checkFontStyleValue() is true 33 33 PASS style.font is '' 34 PASS computedStyle.font is 'normal normal bold 16px/ normalfoobar'34 PASS computedStyle.font is 'normal normal bold 16px/18px foobar' 35 35 PASS computedStyle.fontWeight is 'bold' 36 36 PASS checkFontStyleValue() is true 37 37 PASS style.font is 'bold 40px sans-serif' 38 PASS computedStyle.font is 'normal normal bold 40px/ normalsans-serif'38 PASS computedStyle.font is 'normal normal bold 40px/46px sans-serif' 39 39 PASS computedStyle.fontSize is '40px' 40 40 PASS computedStyle.fontFamily is 'sans-serif' -
trunk/LayoutTests/fast/css/font-shorthand-from-longhands.html
r155263 r179168 37 37 // We need at least the font-family to build the shorthand. 38 38 shouldBe("style.font", "''"); 39 shouldBe("computedStyle.font", "'normal normal normal 20px/ normalfoobar'");39 shouldBe("computedStyle.font", "'normal normal normal 20px/23px foobar'"); 40 40 shouldBe("computedStyle.fontSize", "'20px'"); 41 41 shouldBe("checkFontStyleValue()", "true"); … … 44 44 style.fontFamily = "sans-serif"; 45 45 shouldBe("style.font", "'20px sans-serif'"); 46 shouldBe("computedStyle.font", "'normal normal normal 20px/ normalsans-serif'");46 shouldBe("computedStyle.font", "'normal normal normal 20px/23px sans-serif'"); 47 47 shouldBe("computedStyle.fontFamily", "'sans-serif'"); 48 48 shouldBe("checkFontStyleValue()", "true"); … … 50 50 style.fontStyle = "italic"; 51 51 shouldBe("style.font", "'italic 20px sans-serif'"); 52 shouldBe("computedStyle.font", "'italic normal normal 20px/ normalsans-serif'");52 shouldBe("computedStyle.font", "'italic normal normal 20px/23px sans-serif'"); 53 53 shouldBe("computedStyle.fontStyle", "'italic'"); 54 54 shouldBe("checkFontStyleValue()", "true"); … … 56 56 style.fontVariant = "small-caps"; 57 57 shouldBe("style.font", "'italic small-caps 20px sans-serif'"); 58 shouldBe("computedStyle.font", "'italic small-caps normal 20px/ normalsans-serif'");58 shouldBe("computedStyle.font", "'italic small-caps normal 20px/23px sans-serif'"); 59 59 shouldBe("computedStyle.fontVariant", "'small-caps'"); 60 60 shouldBe("checkFontStyleValue()", "true"); … … 62 62 style.fontWeight = "bold"; 63 63 shouldBe("style.font", "'italic small-caps bold 20px sans-serif'"); 64 shouldBe("computedStyle.font", "'italic small-caps bold 20px/ normalsans-serif'");64 shouldBe("computedStyle.font", "'italic small-caps bold 20px/23px sans-serif'"); 65 65 shouldBe("computedStyle.fontWeight", "'bold'"); 66 66 shouldBe("checkFontStyleValue()", "true"); … … 74 74 style.font = ""; 75 75 shouldBe("style.font", "''"); 76 shouldBe("computedStyle.font", "'normal normal normal 16px/ normalfoobar'");76 shouldBe("computedStyle.font", "'normal normal normal 16px/18px foobar'"); 77 77 shouldBe("checkFontStyleValue()", "true"); 78 78 … … 80 80 // It is normal to return null as the font-size is mandatory to build the shorthand. 81 81 shouldBe("style.font", "''"); 82 shouldBe("computedStyle.font", "'normal normal bold 16px/ normalfoobar'");82 shouldBe("computedStyle.font", "'normal normal bold 16px/18px foobar'"); 83 83 shouldBe("computedStyle.fontWeight", "'bold'"); 84 84 shouldBe("checkFontStyleValue()", "true"); … … 88 88 style.fontWeight = "bold"; 89 89 shouldBe("style.font", "'bold 40px sans-serif'"); 90 shouldBe("computedStyle.font", "'normal normal bold 40px/ normalsans-serif'");90 shouldBe("computedStyle.font", "'normal normal bold 40px/46px sans-serif'"); 91 91 shouldBe("computedStyle.fontSize", "'40px'"); 92 92 shouldBe("computedStyle.fontFamily", "'sans-serif'"); -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r176258 r179168 51 51 left: auto; 52 52 letter-spacing: normal; 53 line-height: normal;53 line-height: 18px; 54 54 list-style-image: none; 55 55 list-style-position: outside; -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-font-expected.txt
r95714 r179168 4 4 5 5 6 PASS computedFont('10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'7 PASS computedFont('10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'8 PASS computedFont('10px SANS-SERIF') is 'normal normal normal 10px/ normalsans-serif'9 PASS computedFont('12px sans-serif') is 'normal normal normal 12px/ normalsans-serif'10 PASS computedFont('12px sans-serif') is 'normal normal normal 12px/ normalsans-serif'11 PASS computedFont('10px sans-serif, sans-serif') is 'normal normal normal 10px/ normalsans-serif, sans-serif'12 PASS computedFont('10px sans-serif, serif') is 'normal normal normal 10px/ normalsans-serif, serif'13 PASS computedFont('12px ahem') is 'normal normal normal 12px/ normalahem'14 PASS computedFont('12px unlikely-font-name') is 'normal normal normal 12px/ normalunlikely-font-name'15 PASS computedFont('100 10px sans-serif') is 'normal normal 100 10px/ normalsans-serif'16 PASS computedFont('200 10px sans-serif') is 'normal normal 200 10px/ normalsans-serif'17 PASS computedFont('300 10px sans-serif') is 'normal normal 300 10px/ normalsans-serif'18 PASS computedFont('400 10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'19 PASS computedFont('normal 10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'20 PASS computedFont('500 10px sans-serif') is 'normal normal 500 10px/ normalsans-serif'21 PASS computedFont('600 10px sans-serif') is 'normal normal 600 10px/ normalsans-serif'22 PASS computedFont('700 10px sans-serif') is 'normal normal bold 10px/ normalsans-serif'23 PASS computedFont('bold 10px sans-serif') is 'normal normal bold 10px/ normalsans-serif'24 PASS computedFont('800 10px sans-serif') is 'normal normal 800 10px/ normalsans-serif'25 PASS computedFont('900 10px sans-serif') is 'normal normal 900 10px/ normalsans-serif'26 PASS computedFont('italic 10px sans-serif') is 'italic normal normal 10px/ normalsans-serif'27 PASS computedFont('small-caps 10px sans-serif') is 'normal small-caps normal 10px/ normalsans-serif'28 PASS computedFont('italic small-caps 10px sans-serif') is 'italic small-caps normal 10px/ normalsans-serif'29 PASS computedFont('italic small-caps bold 10px sans-serif') is 'italic small-caps bold 10px/ normalsans-serif'6 PASS computedFont('10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 7 PASS computedFont('10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 8 PASS computedFont('10px SANS-SERIF') is 'normal normal normal 10px/12px sans-serif' 9 PASS computedFont('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' 10 PASS computedFont('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' 11 PASS computedFont('10px sans-serif, sans-serif') is 'normal normal normal 10px/12px sans-serif, sans-serif' 12 PASS computedFont('10px sans-serif, serif') is 'normal normal normal 10px/12px sans-serif, serif' 13 PASS computedFont('12px ahem') is 'normal normal normal 12px/12px ahem' 14 PASS computedFont('12px unlikely-font-name') is 'normal normal normal 12px/14px unlikely-font-name' 15 PASS computedFont('100 10px sans-serif') is 'normal normal 100 10px/12px sans-serif' 16 PASS computedFont('200 10px sans-serif') is 'normal normal 200 10px/12px sans-serif' 17 PASS computedFont('300 10px sans-serif') is 'normal normal 300 10px/12px sans-serif' 18 PASS computedFont('400 10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 19 PASS computedFont('normal 10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 20 PASS computedFont('500 10px sans-serif') is 'normal normal 500 10px/12px sans-serif' 21 PASS computedFont('600 10px sans-serif') is 'normal normal 600 10px/12px sans-serif' 22 PASS computedFont('700 10px sans-serif') is 'normal normal bold 10px/12px sans-serif' 23 PASS computedFont('bold 10px sans-serif') is 'normal normal bold 10px/12px sans-serif' 24 PASS computedFont('800 10px sans-serif') is 'normal normal 800 10px/12px sans-serif' 25 PASS computedFont('900 10px sans-serif') is 'normal normal 900 10px/12px sans-serif' 26 PASS computedFont('italic 10px sans-serif') is 'italic normal normal 10px/12px sans-serif' 27 PASS computedFont('small-caps 10px sans-serif') is 'normal small-caps normal 10px/12px sans-serif' 28 PASS computedFont('italic small-caps 10px sans-serif') is 'italic small-caps normal 10px/12px sans-serif' 29 PASS computedFont('italic small-caps bold 10px sans-serif') is 'italic small-caps bold 10px/12px sans-serif' 30 30 PASS computedFont('10px/100% sans-serif') is 'normal normal normal 10px/10px sans-serif' 31 31 PASS computedFont('10px/100px sans-serif') is 'normal normal normal 10px/100px sans-serif' 32 PASS computedFont('10px/normal sans-serif') is 'normal normal normal 10px/ normalsans-serif'33 PASS computedFont('10px/normal sans-serif') is 'normal normal normal 10px/ normalsans-serif'34 PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'35 PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'36 PASS computedFontCSSValue('10px SANS-SERIF') is 'normal normal normal 10px/ normalsans-serif'37 PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/ normalsans-serif'38 PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/ normalsans-serif'39 PASS computedFontCSSValue('10px sans-serif, sans-serif') is 'normal normal normal 10px/ normalsans-serif, sans-serif'40 PASS computedFontCSSValue('10px sans-serif, serif') is 'normal normal normal 10px/ normalsans-serif, serif'41 PASS computedFontCSSValue('12px ahem') is 'normal normal normal 12px/ normalahem'42 PASS computedFontCSSValue('12px unlikely-font-name') is 'normal normal normal 12px/ normalunlikely-font-name'43 PASS computedFontCSSValue('100 10px sans-serif') is 'normal normal 100 10px/ normalsans-serif'44 PASS computedFontCSSValue('200 10px sans-serif') is 'normal normal 200 10px/ normalsans-serif'45 PASS computedFontCSSValue('300 10px sans-serif') is 'normal normal 300 10px/ normalsans-serif'46 PASS computedFontCSSValue('400 10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'47 PASS computedFontCSSValue('normal 10px sans-serif') is 'normal normal normal 10px/ normalsans-serif'48 PASS computedFontCSSValue('500 10px sans-serif') is 'normal normal 500 10px/ normalsans-serif'49 PASS computedFontCSSValue('600 10px sans-serif') is 'normal normal 600 10px/ normalsans-serif'50 PASS computedFontCSSValue('700 10px sans-serif') is 'normal normal bold 10px/ normalsans-serif'51 PASS computedFontCSSValue('bold 10px sans-serif') is 'normal normal bold 10px/ normalsans-serif'52 PASS computedFontCSSValue('800 10px sans-serif') is 'normal normal 800 10px/ normalsans-serif'53 PASS computedFontCSSValue('900 10px sans-serif') is 'normal normal 900 10px/ normalsans-serif'54 PASS computedFontCSSValue('italic 10px sans-serif') is 'italic normal normal 10px/ normalsans-serif'55 PASS computedFontCSSValue('small-caps 10px sans-serif') is 'normal small-caps normal 10px/ normalsans-serif'56 PASS computedFontCSSValue('italic small-caps 10px sans-serif') is 'italic small-caps normal 10px/ normalsans-serif'57 PASS computedFontCSSValue('italic small-caps bold 10px sans-serif') is 'italic small-caps bold 10px/ normalsans-serif'32 PASS computedFont('10px/normal sans-serif') is 'normal normal normal 10px/12px sans-serif' 33 PASS computedFont('10px/normal sans-serif') is 'normal normal normal 10px/12px sans-serif' 34 PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 35 PASS computedFontCSSValue('10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 36 PASS computedFontCSSValue('10px SANS-SERIF') is 'normal normal normal 10px/12px sans-serif' 37 PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' 38 PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' 39 PASS computedFontCSSValue('10px sans-serif, sans-serif') is 'normal normal normal 10px/12px sans-serif, sans-serif' 40 PASS computedFontCSSValue('10px sans-serif, serif') is 'normal normal normal 10px/12px sans-serif, serif' 41 PASS computedFontCSSValue('12px ahem') is 'normal normal normal 12px/12px ahem' 42 PASS computedFontCSSValue('12px unlikely-font-name') is 'normal normal normal 12px/14px unlikely-font-name' 43 PASS computedFontCSSValue('100 10px sans-serif') is 'normal normal 100 10px/12px sans-serif' 44 PASS computedFontCSSValue('200 10px sans-serif') is 'normal normal 200 10px/12px sans-serif' 45 PASS computedFontCSSValue('300 10px sans-serif') is 'normal normal 300 10px/12px sans-serif' 46 PASS computedFontCSSValue('400 10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 47 PASS computedFontCSSValue('normal 10px sans-serif') is 'normal normal normal 10px/12px sans-serif' 48 PASS computedFontCSSValue('500 10px sans-serif') is 'normal normal 500 10px/12px sans-serif' 49 PASS computedFontCSSValue('600 10px sans-serif') is 'normal normal 600 10px/12px sans-serif' 50 PASS computedFontCSSValue('700 10px sans-serif') is 'normal normal bold 10px/12px sans-serif' 51 PASS computedFontCSSValue('bold 10px sans-serif') is 'normal normal bold 10px/12px sans-serif' 52 PASS computedFontCSSValue('800 10px sans-serif') is 'normal normal 800 10px/12px sans-serif' 53 PASS computedFontCSSValue('900 10px sans-serif') is 'normal normal 900 10px/12px sans-serif' 54 PASS computedFontCSSValue('italic 10px sans-serif') is 'italic normal normal 10px/12px sans-serif' 55 PASS computedFontCSSValue('small-caps 10px sans-serif') is 'normal small-caps normal 10px/12px sans-serif' 56 PASS computedFontCSSValue('italic small-caps 10px sans-serif') is 'italic small-caps normal 10px/12px sans-serif' 57 PASS computedFontCSSValue('italic small-caps bold 10px sans-serif') is 'italic small-caps bold 10px/12px sans-serif' 58 58 PASS computedFontCSSValue('10px/100% sans-serif') is 'normal normal normal 10px/10px sans-serif' 59 59 PASS computedFontCSSValue('10px/100px sans-serif') is 'normal normal normal 10px/100px sans-serif' 60 PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal 10px/ normalsans-serif'61 PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal 10px/ normalsans-serif'60 PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal 10px/12px sans-serif' 61 PASS computedFontCSSValue('10px/normal sans-serif') is 'normal normal normal 10px/12px sans-serif' 62 62 PASS successfullyParsed is true 63 63 -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r176258 r179168 50 50 left: auto 51 51 letter-spacing: normal 52 line-height: normal52 line-height: 18px 53 53 list-style-image: none 54 54 list-style-position: outside -
trunk/LayoutTests/fast/css/getComputedStyle/script-tests/computed-style-font.js
r98407 r179168 19 19 } 20 20 21 shouldBe("computedFont('10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");22 shouldBe("computedFont('10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");23 shouldBe("computedFont('10px SANS-SERIF')", "'normal normal normal 10px/ normalsans-serif'");24 shouldBe("computedFont('12px sans-serif')", "'normal normal normal 12px/ normalsans-serif'");25 shouldBe("computedFont('12px sans-serif')", "'normal normal normal 12px/ normalsans-serif'");26 shouldBe("computedFont('10px sans-serif, sans-serif')", "'normal normal normal 10px/ normalsans-serif, sans-serif'");27 shouldBe("computedFont('10px sans-serif, serif')", "'normal normal normal 10px/ normalsans-serif, serif'");28 shouldBe("computedFont('12px ahem')", "'normal normal normal 12px/ normalahem'");29 shouldBe("computedFont('12px unlikely-font-name')", "'normal normal normal 12px/ normalunlikely-font-name'");30 shouldBe("computedFont('100 10px sans-serif')", "'normal normal 100 10px/ normalsans-serif'");31 shouldBe("computedFont('200 10px sans-serif')", "'normal normal 200 10px/ normalsans-serif'");32 shouldBe("computedFont('300 10px sans-serif')", "'normal normal 300 10px/ normalsans-serif'");33 shouldBe("computedFont('400 10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");34 shouldBe("computedFont('normal 10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");35 shouldBe("computedFont('500 10px sans-serif')", "'normal normal 500 10px/ normalsans-serif'");36 shouldBe("computedFont('600 10px sans-serif')", "'normal normal 600 10px/ normalsans-serif'");37 shouldBe("computedFont('700 10px sans-serif')", "'normal normal bold 10px/ normalsans-serif'");38 shouldBe("computedFont('bold 10px sans-serif')", "'normal normal bold 10px/ normalsans-serif'");39 shouldBe("computedFont('800 10px sans-serif')", "'normal normal 800 10px/ normalsans-serif'");40 shouldBe("computedFont('900 10px sans-serif')", "'normal normal 900 10px/ normalsans-serif'");41 shouldBe("computedFont('italic 10px sans-serif')", "'italic normal normal 10px/ normalsans-serif'");42 shouldBe("computedFont('small-caps 10px sans-serif')", "'normal small-caps normal 10px/ normalsans-serif'");43 shouldBe("computedFont('italic small-caps 10px sans-serif')", "'italic small-caps normal 10px/ normalsans-serif'");44 shouldBe("computedFont('italic small-caps bold 10px sans-serif')", "'italic small-caps bold 10px/ normalsans-serif'");21 shouldBe("computedFont('10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 22 shouldBe("computedFont('10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 23 shouldBe("computedFont('10px SANS-SERIF')", "'normal normal normal 10px/12px sans-serif'"); 24 shouldBe("computedFont('12px sans-serif')", "'normal normal normal 12px/14px sans-serif'"); 25 shouldBe("computedFont('12px sans-serif')", "'normal normal normal 12px/14px sans-serif'"); 26 shouldBe("computedFont('10px sans-serif, sans-serif')", "'normal normal normal 10px/12px sans-serif, sans-serif'"); 27 shouldBe("computedFont('10px sans-serif, serif')", "'normal normal normal 10px/12px sans-serif, serif'"); 28 shouldBe("computedFont('12px ahem')", "'normal normal normal 12px/12px ahem'"); 29 shouldBe("computedFont('12px unlikely-font-name')", "'normal normal normal 12px/14px unlikely-font-name'"); 30 shouldBe("computedFont('100 10px sans-serif')", "'normal normal 100 10px/12px sans-serif'"); 31 shouldBe("computedFont('200 10px sans-serif')", "'normal normal 200 10px/12px sans-serif'"); 32 shouldBe("computedFont('300 10px sans-serif')", "'normal normal 300 10px/12px sans-serif'"); 33 shouldBe("computedFont('400 10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 34 shouldBe("computedFont('normal 10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 35 shouldBe("computedFont('500 10px sans-serif')", "'normal normal 500 10px/12px sans-serif'"); 36 shouldBe("computedFont('600 10px sans-serif')", "'normal normal 600 10px/12px sans-serif'"); 37 shouldBe("computedFont('700 10px sans-serif')", "'normal normal bold 10px/12px sans-serif'"); 38 shouldBe("computedFont('bold 10px sans-serif')", "'normal normal bold 10px/12px sans-serif'"); 39 shouldBe("computedFont('800 10px sans-serif')", "'normal normal 800 10px/12px sans-serif'"); 40 shouldBe("computedFont('900 10px sans-serif')", "'normal normal 900 10px/12px sans-serif'"); 41 shouldBe("computedFont('italic 10px sans-serif')", "'italic normal normal 10px/12px sans-serif'"); 42 shouldBe("computedFont('small-caps 10px sans-serif')", "'normal small-caps normal 10px/12px sans-serif'"); 43 shouldBe("computedFont('italic small-caps 10px sans-serif')", "'italic small-caps normal 10px/12px sans-serif'"); 44 shouldBe("computedFont('italic small-caps bold 10px sans-serif')", "'italic small-caps bold 10px/12px sans-serif'"); 45 45 shouldBe("computedFont('10px/100% sans-serif')", "'normal normal normal 10px/10px sans-serif'"); 46 46 shouldBe("computedFont('10px/100px sans-serif')", "'normal normal normal 10px/100px sans-serif'"); 47 shouldBe("computedFont('10px/normal sans-serif')", "'normal normal normal 10px/ normalsans-serif'");48 shouldBe("computedFont('10px/normal sans-serif')", "'normal normal normal 10px/ normalsans-serif'");47 shouldBe("computedFont('10px/normal sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 48 shouldBe("computedFont('10px/normal sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 49 49 50 shouldBe("computedFontCSSValue('10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");51 shouldBe("computedFontCSSValue('10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");52 shouldBe("computedFontCSSValue('10px SANS-SERIF')", "'normal normal normal 10px/ normalsans-serif'");53 shouldBe("computedFontCSSValue('12px sans-serif')", "'normal normal normal 12px/ normalsans-serif'");54 shouldBe("computedFontCSSValue('12px sans-serif')", "'normal normal normal 12px/ normalsans-serif'");55 shouldBe("computedFontCSSValue('10px sans-serif, sans-serif')", "'normal normal normal 10px/ normalsans-serif, sans-serif'");56 shouldBe("computedFontCSSValue('10px sans-serif, serif')", "'normal normal normal 10px/ normalsans-serif, serif'");57 shouldBe("computedFontCSSValue('12px ahem')", "'normal normal normal 12px/ normalahem'");58 shouldBe("computedFontCSSValue('12px unlikely-font-name')", "'normal normal normal 12px/ normalunlikely-font-name'");59 shouldBe("computedFontCSSValue('100 10px sans-serif')", "'normal normal 100 10px/ normalsans-serif'");60 shouldBe("computedFontCSSValue('200 10px sans-serif')", "'normal normal 200 10px/ normalsans-serif'");61 shouldBe("computedFontCSSValue('300 10px sans-serif')", "'normal normal 300 10px/ normalsans-serif'");62 shouldBe("computedFontCSSValue('400 10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");63 shouldBe("computedFontCSSValue('normal 10px sans-serif')", "'normal normal normal 10px/ normalsans-serif'");64 shouldBe("computedFontCSSValue('500 10px sans-serif')", "'normal normal 500 10px/ normalsans-serif'");65 shouldBe("computedFontCSSValue('600 10px sans-serif')", "'normal normal 600 10px/ normalsans-serif'");66 shouldBe("computedFontCSSValue('700 10px sans-serif')", "'normal normal bold 10px/ normalsans-serif'");67 shouldBe("computedFontCSSValue('bold 10px sans-serif')", "'normal normal bold 10px/ normalsans-serif'");68 shouldBe("computedFontCSSValue('800 10px sans-serif')", "'normal normal 800 10px/ normalsans-serif'");69 shouldBe("computedFontCSSValue('900 10px sans-serif')", "'normal normal 900 10px/ normalsans-serif'");70 shouldBe("computedFontCSSValue('italic 10px sans-serif')", "'italic normal normal 10px/ normalsans-serif'");71 shouldBe("computedFontCSSValue('small-caps 10px sans-serif')", "'normal small-caps normal 10px/ normalsans-serif'");72 shouldBe("computedFontCSSValue('italic small-caps 10px sans-serif')", "'italic small-caps normal 10px/ normalsans-serif'");73 shouldBe("computedFontCSSValue('italic small-caps bold 10px sans-serif')", "'italic small-caps bold 10px/ normalsans-serif'");50 shouldBe("computedFontCSSValue('10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 51 shouldBe("computedFontCSSValue('10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 52 shouldBe("computedFontCSSValue('10px SANS-SERIF')", "'normal normal normal 10px/12px sans-serif'"); 53 shouldBe("computedFontCSSValue('12px sans-serif')", "'normal normal normal 12px/14px sans-serif'"); 54 shouldBe("computedFontCSSValue('12px sans-serif')", "'normal normal normal 12px/14px sans-serif'"); 55 shouldBe("computedFontCSSValue('10px sans-serif, sans-serif')", "'normal normal normal 10px/12px sans-serif, sans-serif'"); 56 shouldBe("computedFontCSSValue('10px sans-serif, serif')", "'normal normal normal 10px/12px sans-serif, serif'"); 57 shouldBe("computedFontCSSValue('12px ahem')", "'normal normal normal 12px/12px ahem'"); 58 shouldBe("computedFontCSSValue('12px unlikely-font-name')", "'normal normal normal 12px/14px unlikely-font-name'"); 59 shouldBe("computedFontCSSValue('100 10px sans-serif')", "'normal normal 100 10px/12px sans-serif'"); 60 shouldBe("computedFontCSSValue('200 10px sans-serif')", "'normal normal 200 10px/12px sans-serif'"); 61 shouldBe("computedFontCSSValue('300 10px sans-serif')", "'normal normal 300 10px/12px sans-serif'"); 62 shouldBe("computedFontCSSValue('400 10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 63 shouldBe("computedFontCSSValue('normal 10px sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 64 shouldBe("computedFontCSSValue('500 10px sans-serif')", "'normal normal 500 10px/12px sans-serif'"); 65 shouldBe("computedFontCSSValue('600 10px sans-serif')", "'normal normal 600 10px/12px sans-serif'"); 66 shouldBe("computedFontCSSValue('700 10px sans-serif')", "'normal normal bold 10px/12px sans-serif'"); 67 shouldBe("computedFontCSSValue('bold 10px sans-serif')", "'normal normal bold 10px/12px sans-serif'"); 68 shouldBe("computedFontCSSValue('800 10px sans-serif')", "'normal normal 800 10px/12px sans-serif'"); 69 shouldBe("computedFontCSSValue('900 10px sans-serif')", "'normal normal 900 10px/12px sans-serif'"); 70 shouldBe("computedFontCSSValue('italic 10px sans-serif')", "'italic normal normal 10px/12px sans-serif'"); 71 shouldBe("computedFontCSSValue('small-caps 10px sans-serif')", "'normal small-caps normal 10px/12px sans-serif'"); 72 shouldBe("computedFontCSSValue('italic small-caps 10px sans-serif')", "'italic small-caps normal 10px/12px sans-serif'"); 73 shouldBe("computedFontCSSValue('italic small-caps bold 10px sans-serif')", "'italic small-caps bold 10px/12px sans-serif'"); 74 74 shouldBe("computedFontCSSValue('10px/100% sans-serif')", "'normal normal normal 10px/10px sans-serif'"); 75 75 shouldBe("computedFontCSSValue('10px/100px sans-serif')", "'normal normal normal 10px/100px sans-serif'"); 76 shouldBe("computedFontCSSValue('10px/normal sans-serif')", "'normal normal normal 10px/ normalsans-serif'");77 shouldBe("computedFontCSSValue('10px/normal sans-serif')", "'normal normal normal 10px/ normalsans-serif'");76 shouldBe("computedFontCSSValue('10px/normal sans-serif')", "'normal normal normal 10px/12px sans-serif'"); 77 shouldBe("computedFontCSSValue('10px/normal sans-serif')", "'normal normal normal 10px/12px sans-serif'"); -
trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt
r176490 r179168 5 5 6 6 Case without text size adjust. 7 PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is " normal"7 PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is "23px" 8 8 PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size') is "20px" 9 9 testDivNoAdjust.style['line-height'] = '1.6' -
trunk/LayoutTests/fast/css/line-height-text-autosizing.html
r176490 r179168 21 21 debug("Case without text size adjust."); 22 22 var testDivNoAdjust = document.getElementById("testDivNoAdjust"); 23 shouldBeEqualToString("window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')", " normal");23 shouldBeEqualToString("window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')", "23px"); 24 24 shouldBeEqualToString("window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size')", "20px"); 25 25 evalAndLog("testDivNoAdjust.style['line-height'] = '1.6'"); -
trunk/LayoutTests/fast/ruby/ruby-line-height-expected.txt
r137477 r179168 7 7 PASS getLineHeight('p') is "48px" 8 8 PASS [object HTMLElement] is non-null. 9 FAIL getLineHeight('r') should be normal. Was 48px. 9 PASS getLineHeight('r') is "48px" 10 10 PASS [object HTMLElement] is non-null. 11 PASS getLineHeight('t') is " normal"11 PASS getLineHeight('t') is "10px" 12 12 PASS successfullyParsed is true 13 13 14 14 TEST COMPLETE 15 The line height of this is three times normal"line-height: 48px;" , but the ruby should have 'line-height: normal'.15 The line height of this is three times normal"line-height: 48px;". -
trunk/LayoutTests/fast/ruby/script-tests/ruby-line-height.js
r98407 r179168 10 10 11 11 var div = document.createElement("div"); 12 div.innerHTML = "<p style='line-height: 300%' id='p'>The line height of this is <ruby id='r'>three times normal<rt id='t'>"line-height: 48px;"</rt></ruby> , but the ruby should have 'line-height: normal'.</p>";12 div.innerHTML = "<p style='line-height: 300%' id='p'>The line height of this is <ruby id='r'>three times normal<rt id='t'>"line-height: 48px;"</rt></ruby>.</p>"; 13 13 document.body.appendChild(div); 14 14 15 15 shouldBeEqualToString("getLineHeight('p')", "48px"); 16 shouldBeEqualToString("getLineHeight('r')", " normal");17 shouldBeEqualToString("getLineHeight('t')", " normal");16 shouldBeEqualToString("getLineHeight('r')", "48px"); 17 shouldBeEqualToString("getLineHeight('t')", "10px"); -
trunk/LayoutTests/media/track/track-cue-rendering-on-resize-expected.txt
r158743 r179168 5 5 6 6 ** Line height of the cue element should be 'normal' ** 7 EXPECTED (getComputedStyle(multiLineCueDisplayElement).lineHeight == ' normal') OK7 EXPECTED (getComputedStyle(multiLineCueDisplayElement).lineHeight == '14px') OK 8 8 END OF TEST 9 9 -
trunk/LayoutTests/media/track/track-cue-rendering-on-resize.html
r154815 r179168 26 26 27 27 consoleWrite("<br>** Line height of the cue element should be 'normal' **"); 28 testExpected("getComputedStyle(multiLineCueDisplayElement).lineHeight", " normal");28 testExpected("getComputedStyle(multiLineCueDisplayElement).lineHeight", "14px"); 29 29 30 30 endTest(); -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/anchor-element-expected.txt
r176048 r179168 11 11 TailIndent: 0 12 12 FirstLineHeadIndent: 0 13 LineHeight: 0/013 LineHeight: 18/0 14 14 LineHeightMultiple: 0 15 15 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/basic-expected.txt
r176048 r179168 12 12 TailIndent: 0 13 13 FirstLineHeadIndent: 0 14 LineHeight: 0/014 LineHeight: 18/0 15 15 LineHeightMultiple: 0 16 16 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-size-expected.txt
r176048 r179168 20 20 TailIndent: 0 21 21 FirstLineHeadIndent: 0 22 LineHeight: 0/022 LineHeight: 15/0 23 23 LineHeightMultiple: 0 24 24 LineBreakMode: 0 … … 33 33 [small element] 34 34 NSFont: Times-Roman 13.00 pt. 35 [ ] 36 NSFont: Times-Roman 16.00 pt. 35 NSParagraphStyle: 36 Alignment 4 37 LineSpacing: 0 38 ParagraphSpacing: 0 39 ParagraphSpacingBefore: 0 40 HeadIndent: 0 41 TailIndent: 0 42 FirstLineHeadIndent: 0 43 LineHeight: 18/0 44 LineHeightMultiple: 0 45 LineBreakMode: 0 46 Tabs: () 47 DefaultTabInterval: 36 48 Blocks: (null) 49 Lists: (null) 50 BaseWritingDirection: 0 51 HyphenationFactor: 0 52 TighteningFactor: 0.05 53 HeaderLevel: 0 54 [ ] 55 NSFont: Times-Roman 16.00 pt. 56 NSParagraphStyle: 57 Alignment 4 58 LineSpacing: 0 59 ParagraphSpacing: 0 60 ParagraphSpacingBefore: 0 61 HeadIndent: 0 62 TailIndent: 0 63 FirstLineHeadIndent: 0 64 LineHeight: 10/0 65 LineHeightMultiple: 0 66 LineBreakMode: 0 67 Tabs: () 68 DefaultTabInterval: 36 69 Blocks: (null) 70 Lists: (null) 71 BaseWritingDirection: 0 72 HyphenationFactor: 0 73 TighteningFactor: 0.05 74 HeaderLevel: 0 37 75 [xx-small] 38 76 NSFont: Times-Roman 9.00 pt. 39 [ ] 40 NSFont: Times-Roman 16.00 pt. 77 NSParagraphStyle: 78 Alignment 4 79 LineSpacing: 0 80 ParagraphSpacing: 0 81 ParagraphSpacingBefore: 0 82 HeadIndent: 0 83 TailIndent: 0 84 FirstLineHeadIndent: 0 85 LineHeight: 18/0 86 LineHeightMultiple: 0 87 LineBreakMode: 0 88 Tabs: () 89 DefaultTabInterval: 36 90 Blocks: (null) 91 Lists: (null) 92 BaseWritingDirection: 0 93 HyphenationFactor: 0 94 TighteningFactor: 0.05 95 HeaderLevel: 0 96 [ ] 97 NSFont: Times-Roman 16.00 pt. 98 NSParagraphStyle: 99 Alignment 4 100 LineSpacing: 0 101 ParagraphSpacing: 0 102 ParagraphSpacingBefore: 0 103 HeadIndent: 0 104 TailIndent: 0 105 FirstLineHeadIndent: 0 106 LineHeight: 13/0 107 LineHeightMultiple: 0 108 LineBreakMode: 0 109 Tabs: () 110 DefaultTabInterval: 36 111 Blocks: (null) 112 Lists: (null) 113 BaseWritingDirection: 0 114 HyphenationFactor: 0 115 TighteningFactor: 0.05 116 HeaderLevel: 0 41 117 [x-small] 42 118 NSFont: Times-Roman 10.00 pt. 43 [ ] 44 NSFont: Times-Roman 16.00 pt. 119 NSParagraphStyle: 120 Alignment 4 121 LineSpacing: 0 122 ParagraphSpacing: 0 123 ParagraphSpacingBefore: 0 124 HeadIndent: 0 125 TailIndent: 0 126 FirstLineHeadIndent: 0 127 LineHeight: 18/0 128 LineHeightMultiple: 0 129 LineBreakMode: 0 130 Tabs: () 131 DefaultTabInterval: 36 132 Blocks: (null) 133 Lists: (null) 134 BaseWritingDirection: 0 135 HyphenationFactor: 0 136 TighteningFactor: 0.05 137 HeaderLevel: 0 138 [ ] 139 NSFont: Times-Roman 16.00 pt. 140 NSParagraphStyle: 141 Alignment 4 142 LineSpacing: 0 143 ParagraphSpacing: 0 144 ParagraphSpacingBefore: 0 145 HeadIndent: 0 146 TailIndent: 0 147 FirstLineHeadIndent: 0 148 LineHeight: 15/0 149 LineHeightMultiple: 0 150 LineBreakMode: 0 151 Tabs: () 152 DefaultTabInterval: 36 153 Blocks: (null) 154 Lists: (null) 155 BaseWritingDirection: 0 156 HyphenationFactor: 0 157 TighteningFactor: 0.05 158 HeaderLevel: 0 45 159 [small] 46 160 NSFont: Times-Roman 13.00 pt. 161 NSParagraphStyle: 162 Alignment 4 163 LineSpacing: 0 164 ParagraphSpacing: 0 165 ParagraphSpacingBefore: 0 166 HeadIndent: 0 167 TailIndent: 0 168 FirstLineHeadIndent: 0 169 LineHeight: 18/0 170 LineHeightMultiple: 0 171 LineBreakMode: 0 172 Tabs: () 173 DefaultTabInterval: 36 174 Blocks: (null) 175 Lists: (null) 176 BaseWritingDirection: 0 177 HyphenationFactor: 0 178 TighteningFactor: 0.05 179 HeaderLevel: 0 47 180 [ normal ] 48 181 NSFont: Times-Roman 16.00 pt. 182 NSParagraphStyle: 183 Alignment 4 184 LineSpacing: 0 185 ParagraphSpacing: 0 186 ParagraphSpacingBefore: 0 187 HeadIndent: 0 188 TailIndent: 0 189 FirstLineHeadIndent: 0 190 LineHeight: 22/0 191 LineHeightMultiple: 0 192 LineBreakMode: 0 193 Tabs: () 194 DefaultTabInterval: 36 195 Blocks: (null) 196 Lists: (null) 197 BaseWritingDirection: 0 198 HyphenationFactor: 0 199 TighteningFactor: 0.05 200 HeaderLevel: 0 49 201 [large] 50 202 NSFont: Times-Roman 18.00 pt. 51 [ ] 52 NSFont: Times-Roman 16.00 pt. 203 NSParagraphStyle: 204 Alignment 4 205 LineSpacing: 0 206 ParagraphSpacing: 0 207 ParagraphSpacingBefore: 0 208 HeadIndent: 0 209 TailIndent: 0 210 FirstLineHeadIndent: 0 211 LineHeight: 18/0 212 LineHeightMultiple: 0 213 LineBreakMode: 0 214 Tabs: () 215 DefaultTabInterval: 36 216 Blocks: (null) 217 Lists: (null) 218 BaseWritingDirection: 0 219 HyphenationFactor: 0 220 TighteningFactor: 0.05 221 HeaderLevel: 0 222 [ ] 223 NSFont: Times-Roman 16.00 pt. 224 NSParagraphStyle: 225 Alignment 4 226 LineSpacing: 0 227 ParagraphSpacing: 0 228 ParagraphSpacingBefore: 0 229 HeadIndent: 0 230 TailIndent: 0 231 FirstLineHeadIndent: 0 232 LineHeight: 28/0 233 LineHeightMultiple: 0 234 LineBreakMode: 0 235 Tabs: () 236 DefaultTabInterval: 36 237 Blocks: (null) 238 Lists: (null) 239 BaseWritingDirection: 0 240 HyphenationFactor: 0 241 TighteningFactor: 0.05 242 HeaderLevel: 0 53 243 [x-large] 54 244 NSFont: Times-Roman 24.00 pt. 55 [ ] 56 NSFont: Times-Roman 16.00 pt. 245 NSParagraphStyle: 246 Alignment 4 247 LineSpacing: 0 248 ParagraphSpacing: 0 249 ParagraphSpacingBefore: 0 250 HeadIndent: 0 251 TailIndent: 0 252 FirstLineHeadIndent: 0 253 LineHeight: 18/0 254 LineHeightMultiple: 0 255 LineBreakMode: 0 256 Tabs: () 257 DefaultTabInterval: 36 258 Blocks: (null) 259 Lists: (null) 260 BaseWritingDirection: 0 261 HyphenationFactor: 0 262 TighteningFactor: 0.05 263 HeaderLevel: 0 264 [ ] 265 NSFont: Times-Roman 16.00 pt. 266 NSParagraphStyle: 267 Alignment 4 268 LineSpacing: 0 269 ParagraphSpacing: 0 270 ParagraphSpacingBefore: 0 271 HeadIndent: 0 272 TailIndent: 0 273 FirstLineHeadIndent: 0 274 LineHeight: 37/0 275 LineHeightMultiple: 0 276 LineBreakMode: 0 277 Tabs: () 278 DefaultTabInterval: 36 279 Blocks: (null) 280 Lists: (null) 281 BaseWritingDirection: 0 282 HyphenationFactor: 0 283 TighteningFactor: 0.05 284 HeaderLevel: 0 57 285 [xx-large] 58 286 NSFont: Times-Roman 32.00 pt. 59 [ ] 60 NSFont: Times-Roman 16.00 pt. 287 NSParagraphStyle: 288 Alignment 4 289 LineSpacing: 0 290 ParagraphSpacing: 0 291 ParagraphSpacingBefore: 0 292 HeadIndent: 0 293 TailIndent: 0 294 FirstLineHeadIndent: 0 295 LineHeight: 18/0 296 LineHeightMultiple: 0 297 LineBreakMode: 0 298 Tabs: () 299 DefaultTabInterval: 36 300 Blocks: (null) 301 Lists: (null) 302 BaseWritingDirection: 0 303 HyphenationFactor: 0 304 TighteningFactor: 0.05 305 HeaderLevel: 0 306 [ ] 307 NSFont: Times-Roman 16.00 pt. 308 NSParagraphStyle: 309 Alignment 4 310 LineSpacing: 0 311 ParagraphSpacing: 0 312 ParagraphSpacingBefore: 0 313 HeadIndent: 0 314 TailIndent: 0 315 FirstLineHeadIndent: 0 316 LineHeight: 8/0 317 LineHeightMultiple: 0 318 LineBreakMode: 0 319 Tabs: () 320 DefaultTabInterval: 36 321 Blocks: (null) 322 Lists: (null) 323 BaseWritingDirection: 0 324 HyphenationFactor: 0 325 TighteningFactor: 0.05 326 HeaderLevel: 0 61 327 [5pt] 62 328 NSFont: Times-Roman 7.00 pt. 63 [ ] 64 NSFont: Times-Roman 16.00 pt. 329 NSParagraphStyle: 330 Alignment 4 331 LineSpacing: 0 332 ParagraphSpacing: 0 333 ParagraphSpacingBefore: 0 334 HeadIndent: 0 335 TailIndent: 0 336 FirstLineHeadIndent: 0 337 LineHeight: 18/0 338 LineHeightMultiple: 0 339 LineBreakMode: 0 340 Tabs: () 341 DefaultTabInterval: 36 342 Blocks: (null) 343 Lists: (null) 344 BaseWritingDirection: 0 345 HyphenationFactor: 0 346 TighteningFactor: 0.05 347 HeaderLevel: 0 348 [ ] 349 NSFont: Times-Roman 16.00 pt. 350 NSParagraphStyle: 351 Alignment 4 352 LineSpacing: 0 353 ParagraphSpacing: 0 354 ParagraphSpacingBefore: 0 355 HeadIndent: 0 356 TailIndent: 0 357 FirstLineHeadIndent: 0 358 LineHeight: 23/0 359 LineHeightMultiple: 0 360 LineBreakMode: 0 361 Tabs: () 362 DefaultTabInterval: 36 363 Blocks: (null) 364 Lists: (null) 365 BaseWritingDirection: 0 366 HyphenationFactor: 0 367 TighteningFactor: 0.05 368 HeaderLevel: 0 65 369 [15pt] 66 370 NSFont: Times-Roman 20.00 pt. 371 NSParagraphStyle: 372 Alignment 4 373 LineSpacing: 0 374 ParagraphSpacing: 0 375 ParagraphSpacingBefore: 0 376 HeadIndent: 0 377 TailIndent: 0 378 FirstLineHeadIndent: 0 379 LineHeight: 18/0 380 LineHeightMultiple: 0 381 LineBreakMode: 0 382 Tabs: () 383 DefaultTabInterval: 36 384 Blocks: (null) 385 Lists: (null) 386 BaseWritingDirection: 0 387 HyphenationFactor: 0 388 TighteningFactor: 0.05 389 HeaderLevel: 0 67 390 [ ] 68 391 NSFont: Times-Roman 16.00 pt. -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt
r176048 r179168 15 15 TailIndent: 0 16 16 FirstLineHeadIndent: 0 17 LineHeight: 0/017 LineHeight: 18/0 18 18 LineHeightMultiple: 0 19 19 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/font-weight-expected.txt
r176048 r179168 20 20 TailIndent: 0 21 21 FirstLineHeadIndent: 0 22 LineHeight: 0/022 LineHeight: 18/0 23 23 LineHeightMultiple: 0 24 24 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/letter-spacing-expected.txt
r176048 r179168 11 11 TailIndent: 0 12 12 FirstLineHeadIndent: 0 13 LineHeight: 0/013 LineHeight: 18/0 14 14 LineHeightMultiple: 0 15 15 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/text-decorations-expected.txt
r176048 r179168 13 13 TailIndent: 0 14 14 FirstLineHeadIndent: 0 15 LineHeight: 0/015 LineHeight: 18/0 16 16 LineHeightMultiple: 0 17 17 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac-mavericks/platform/mac/editing/attributed-string/vertical-align-expected.txt
r176048 r179168 15 15 TailIndent: 0 16 16 FirstLineHeadIndent: 0 17 LineHeight: 0/017 LineHeight: 15/0 18 18 LineHeightMultiple: 0 19 19 LineBreakMode: 0 … … 29 29 NSFont: Times-Roman 13.00 pt. 30 30 NSSuperScript: 1 31 NSParagraphStyle: 32 Alignment 4 33 LineSpacing: 0 34 ParagraphSpacing: 0 35 ParagraphSpacingBefore: 0 36 HeadIndent: 0 37 TailIndent: 0 38 FirstLineHeadIndent: 0 39 LineHeight: 18/0 40 LineHeightMultiple: 0 41 LineBreakMode: 0 42 Tabs: () 43 DefaultTabInterval: 36 44 Blocks: (null) 45 Lists: (null) 46 BaseWritingDirection: 0 47 HyphenationFactor: 0 48 TighteningFactor: 0.05 49 HeaderLevel: 0 31 50 [ ] 32 51 NSFont: Times-Roman 16.00 pt. 52 NSParagraphStyle: 53 Alignment 4 54 LineSpacing: 0 55 ParagraphSpacing: 0 56 ParagraphSpacingBefore: 0 57 HeadIndent: 0 58 TailIndent: 0 59 FirstLineHeadIndent: 0 60 LineHeight: 15/0 61 LineHeightMultiple: 0 62 LineBreakMode: 0 63 Tabs: () 64 DefaultTabInterval: 36 65 Blocks: (null) 66 Lists: (null) 67 BaseWritingDirection: 0 68 HyphenationFactor: 0 69 TighteningFactor: 0.05 70 HeaderLevel: 0 33 71 [sub element] 34 72 NSFont: Times-Roman 13.00 pt. 35 73 NSSuperScript: -1 74 NSParagraphStyle: 75 Alignment 4 76 LineSpacing: 0 77 ParagraphSpacing: 0 78 ParagraphSpacingBefore: 0 79 HeadIndent: 0 80 TailIndent: 0 81 FirstLineHeadIndent: 0 82 LineHeight: 18/0 83 LineHeightMultiple: 0 84 LineBreakMode: 0 85 Tabs: () 86 DefaultTabInterval: 36 87 Blocks: (null) 88 Lists: (null) 89 BaseWritingDirection: 0 90 HyphenationFactor: 0 91 TighteningFactor: 0.05 92 HeaderLevel: 0 36 93 [ ] 37 94 NSFont: Times-Roman 16.00 pt. -
trunk/LayoutTests/platform/mac/editing/attributed-string/anchor-element-expected.txt
r176048 r179168 11 11 TailIndent: 0 12 12 FirstLineHeadIndent: 0 13 LineHeight: 0/013 LineHeight: 18/0 14 14 LineHeightMultiple: 0 15 15 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/basic-expected.txt
r176048 r179168 12 12 TailIndent: 0 13 13 FirstLineHeadIndent: 0 14 LineHeight: 0/014 LineHeight: 18/0 15 15 LineHeightMultiple: 0 16 16 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/font-size-expected.txt
r176048 r179168 20 20 TailIndent: 0 21 21 FirstLineHeadIndent: 0 22 LineHeight: 0/022 LineHeight: 15/0 23 23 LineHeightMultiple: 0 24 24 LineBreakMode: 0 … … 32 32 HeaderLevel: 0 33 33 [small element] 34 NSColor: #000000 (NSDeviceRGBColorSpace)35 34 NSFont: Times-Roman 13.00 pt. 36 NSKern: 0pt 37 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 38 NSStrokeWidth: 0 39 [ ] 40 NSColor: #000000 (NSDeviceRGBColorSpace) 41 NSFont: Times-Roman 16.00 pt. 42 NSKern: 0pt 43 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 44 NSStrokeWidth: 0 35 NSParagraphStyle: 36 Alignment 4 37 LineSpacing: 0 38 ParagraphSpacing: 0 39 ParagraphSpacingBefore: 0 40 HeadIndent: 0 41 TailIndent: 0 42 FirstLineHeadIndent: 0 43 LineHeight: 18/0 44 LineHeightMultiple: 0 45 LineBreakMode: 0 46 Tabs: () 47 DefaultTabInterval: 36 48 Blocks: (null) 49 Lists: (null) 50 BaseWritingDirection: 0 51 HyphenationFactor: 0 52 TighteningFactor: 0.05 53 HeaderLevel: 0 54 [ ] 55 NSFont: Times-Roman 16.00 pt. 56 NSParagraphStyle: 57 Alignment 4 58 LineSpacing: 0 59 ParagraphSpacing: 0 60 ParagraphSpacingBefore: 0 61 HeadIndent: 0 62 TailIndent: 0 63 FirstLineHeadIndent: 0 64 LineHeight: 10/0 65 LineHeightMultiple: 0 66 LineBreakMode: 0 67 Tabs: () 68 DefaultTabInterval: 36 69 Blocks: (null) 70 Lists: (null) 71 BaseWritingDirection: 0 72 HyphenationFactor: 0 73 TighteningFactor: 0.05 74 HeaderLevel: 0 45 75 [xx-small] 46 NSColor: #000000 (NSDeviceRGBColorSpace)47 76 NSFont: Times-Roman 9.00 pt. 48 NSKern: 0pt 49 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 50 NSStrokeWidth: 0 51 [ ] 52 NSColor: #000000 (NSDeviceRGBColorSpace) 53 NSFont: Times-Roman 16.00 pt. 54 NSKern: 0pt 55 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 56 NSStrokeWidth: 0 77 NSParagraphStyle: 78 Alignment 4 79 LineSpacing: 0 80 ParagraphSpacing: 0 81 ParagraphSpacingBefore: 0 82 HeadIndent: 0 83 TailIndent: 0 84 FirstLineHeadIndent: 0 85 LineHeight: 18/0 86 LineHeightMultiple: 0 87 LineBreakMode: 0 88 Tabs: () 89 DefaultTabInterval: 36 90 Blocks: (null) 91 Lists: (null) 92 BaseWritingDirection: 0 93 HyphenationFactor: 0 94 TighteningFactor: 0.05 95 HeaderLevel: 0 96 [ ] 97 NSFont: Times-Roman 16.00 pt. 98 NSParagraphStyle: 99 Alignment 4 100 LineSpacing: 0 101 ParagraphSpacing: 0 102 ParagraphSpacingBefore: 0 103 HeadIndent: 0 104 TailIndent: 0 105 FirstLineHeadIndent: 0 106 LineHeight: 13/0 107 LineHeightMultiple: 0 108 LineBreakMode: 0 109 Tabs: () 110 DefaultTabInterval: 36 111 Blocks: (null) 112 Lists: (null) 113 BaseWritingDirection: 0 114 HyphenationFactor: 0 115 TighteningFactor: 0.05 116 HeaderLevel: 0 57 117 [x-small] 58 NSColor: #000000 (NSDeviceRGBColorSpace)59 118 NSFont: Times-Roman 10.00 pt. 60 NSKern: 0pt 61 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 62 NSStrokeWidth: 0 63 [ ] 64 NSColor: #000000 (NSDeviceRGBColorSpace) 65 NSFont: Times-Roman 16.00 pt. 66 NSKern: 0pt 67 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 68 NSStrokeWidth: 0 119 NSParagraphStyle: 120 Alignment 4 121 LineSpacing: 0 122 ParagraphSpacing: 0 123 ParagraphSpacingBefore: 0 124 HeadIndent: 0 125 TailIndent: 0 126 FirstLineHeadIndent: 0 127 LineHeight: 18/0 128 LineHeightMultiple: 0 129 LineBreakMode: 0 130 Tabs: () 131 DefaultTabInterval: 36 132 Blocks: (null) 133 Lists: (null) 134 BaseWritingDirection: 0 135 HyphenationFactor: 0 136 TighteningFactor: 0.05 137 HeaderLevel: 0 138 [ ] 139 NSFont: Times-Roman 16.00 pt. 140 NSParagraphStyle: 141 Alignment 4 142 LineSpacing: 0 143 ParagraphSpacing: 0 144 ParagraphSpacingBefore: 0 145 HeadIndent: 0 146 TailIndent: 0 147 FirstLineHeadIndent: 0 148 LineHeight: 15/0 149 LineHeightMultiple: 0 150 LineBreakMode: 0 151 Tabs: () 152 DefaultTabInterval: 36 153 Blocks: (null) 154 Lists: (null) 155 BaseWritingDirection: 0 156 HyphenationFactor: 0 157 TighteningFactor: 0.05 158 HeaderLevel: 0 69 159 [small] 70 NSColor: #000000 (NSDeviceRGBColorSpace)71 160 NSFont: Times-Roman 13.00 pt. 72 NSKern: 0pt 73 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 74 NSStrokeWidth: 0 161 NSParagraphStyle: 162 Alignment 4 163 LineSpacing: 0 164 ParagraphSpacing: 0 165 ParagraphSpacingBefore: 0 166 HeadIndent: 0 167 TailIndent: 0 168 FirstLineHeadIndent: 0 169 LineHeight: 18/0 170 LineHeightMultiple: 0 171 LineBreakMode: 0 172 Tabs: () 173 DefaultTabInterval: 36 174 Blocks: (null) 175 Lists: (null) 176 BaseWritingDirection: 0 177 HyphenationFactor: 0 178 TighteningFactor: 0.05 179 HeaderLevel: 0 75 180 [ normal ] 76 NSColor: #000000 (NSDeviceRGBColorSpace) 77 NSFont: Times-Roman 16.00 pt. 78 NSKern: 0pt 79 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 80 NSStrokeWidth: 0 181 NSFont: Times-Roman 16.00 pt. 182 NSParagraphStyle: 183 Alignment 4 184 LineSpacing: 0 185 ParagraphSpacing: 0 186 ParagraphSpacingBefore: 0 187 HeadIndent: 0 188 TailIndent: 0 189 FirstLineHeadIndent: 0 190 LineHeight: 22/0 191 LineHeightMultiple: 0 192 LineBreakMode: 0 193 Tabs: () 194 DefaultTabInterval: 36 195 Blocks: (null) 196 Lists: (null) 197 BaseWritingDirection: 0 198 HyphenationFactor: 0 199 TighteningFactor: 0.05 200 HeaderLevel: 0 81 201 [large] 82 NSColor: #000000 (NSDeviceRGBColorSpace)83 202 NSFont: Times-Roman 18.00 pt. 84 NSKern: 0pt 85 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 86 NSStrokeWidth: 0 87 [ ] 88 NSColor: #000000 (NSDeviceRGBColorSpace) 89 NSFont: Times-Roman 16.00 pt. 90 NSKern: 0pt 91 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 92 NSStrokeWidth: 0 203 NSParagraphStyle: 204 Alignment 4 205 LineSpacing: 0 206 ParagraphSpacing: 0 207 ParagraphSpacingBefore: 0 208 HeadIndent: 0 209 TailIndent: 0 210 FirstLineHeadIndent: 0 211 LineHeight: 18/0 212 LineHeightMultiple: 0 213 LineBreakMode: 0 214 Tabs: () 215 DefaultTabInterval: 36 216 Blocks: (null) 217 Lists: (null) 218 BaseWritingDirection: 0 219 HyphenationFactor: 0 220 TighteningFactor: 0.05 221 HeaderLevel: 0 222 [ ] 223 NSFont: Times-Roman 16.00 pt. 224 NSParagraphStyle: 225 Alignment 4 226 LineSpacing: 0 227 ParagraphSpacing: 0 228 ParagraphSpacingBefore: 0 229 HeadIndent: 0 230 TailIndent: 0 231 FirstLineHeadIndent: 0 232 LineHeight: 28/0 233 LineHeightMultiple: 0 234 LineBreakMode: 0 235 Tabs: () 236 DefaultTabInterval: 36 237 Blocks: (null) 238 Lists: (null) 239 BaseWritingDirection: 0 240 HyphenationFactor: 0 241 TighteningFactor: 0.05 242 HeaderLevel: 0 93 243 [x-large] 94 NSColor: #000000 (NSDeviceRGBColorSpace)95 244 NSFont: Times-Roman 24.00 pt. 96 NSKern: 0pt 97 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 98 NSStrokeWidth: 0 99 [ ] 100 NSColor: #000000 (NSDeviceRGBColorSpace) 101 NSFont: Times-Roman 16.00 pt. 102 NSKern: 0pt 103 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 104 NSStrokeWidth: 0 245 NSParagraphStyle: 246 Alignment 4 247 LineSpacing: 0 248 ParagraphSpacing: 0 249 ParagraphSpacingBefore: 0 250 HeadIndent: 0 251 TailIndent: 0 252 FirstLineHeadIndent: 0 253 LineHeight: 18/0 254 LineHeightMultiple: 0 255 LineBreakMode: 0 256 Tabs: () 257 DefaultTabInterval: 36 258 Blocks: (null) 259 Lists: (null) 260 BaseWritingDirection: 0 261 HyphenationFactor: 0 262 TighteningFactor: 0.05 263 HeaderLevel: 0 264 [ ] 265 NSFont: Times-Roman 16.00 pt. 266 NSParagraphStyle: 267 Alignment 4 268 LineSpacing: 0 269 ParagraphSpacing: 0 270 ParagraphSpacingBefore: 0 271 HeadIndent: 0 272 TailIndent: 0 273 FirstLineHeadIndent: 0 274 LineHeight: 37/0 275 LineHeightMultiple: 0 276 LineBreakMode: 0 277 Tabs: () 278 DefaultTabInterval: 36 279 Blocks: (null) 280 Lists: (null) 281 BaseWritingDirection: 0 282 HyphenationFactor: 0 283 TighteningFactor: 0.05 284 HeaderLevel: 0 105 285 [xx-large] 106 NSColor: #000000 (NSDeviceRGBColorSpace)107 286 NSFont: Times-Roman 32.00 pt. 108 NSKern: 0pt 109 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 110 NSStrokeWidth: 0 111 [ ] 112 NSColor: #000000 (NSDeviceRGBColorSpace) 113 NSFont: Times-Roman 16.00 pt. 114 NSKern: 0pt 115 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 116 NSStrokeWidth: 0 287 NSParagraphStyle: 288 Alignment 4 289 LineSpacing: 0 290 ParagraphSpacing: 0 291 ParagraphSpacingBefore: 0 292 HeadIndent: 0 293 TailIndent: 0 294 FirstLineHeadIndent: 0 295 LineHeight: 18/0 296 LineHeightMultiple: 0 297 LineBreakMode: 0 298 Tabs: () 299 DefaultTabInterval: 36 300 Blocks: (null) 301 Lists: (null) 302 BaseWritingDirection: 0 303 HyphenationFactor: 0 304 TighteningFactor: 0.05 305 HeaderLevel: 0 306 [ ] 307 NSFont: Times-Roman 16.00 pt. 308 NSParagraphStyle: 309 Alignment 4 310 LineSpacing: 0 311 ParagraphSpacing: 0 312 ParagraphSpacingBefore: 0 313 HeadIndent: 0 314 TailIndent: 0 315 FirstLineHeadIndent: 0 316 LineHeight: 8/0 317 LineHeightMultiple: 0 318 LineBreakMode: 0 319 Tabs: () 320 DefaultTabInterval: 36 321 Blocks: (null) 322 Lists: (null) 323 BaseWritingDirection: 0 324 HyphenationFactor: 0 325 TighteningFactor: 0.05 326 HeaderLevel: 0 117 327 [5pt] 118 NSColor: #000000 (NSDeviceRGBColorSpace)119 328 NSFont: Times-Roman 7.00 pt. 120 NSKern: 0pt 121 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 122 NSStrokeWidth: 0 123 [ ] 124 NSColor: #000000 (NSDeviceRGBColorSpace) 125 NSFont: Times-Roman 16.00 pt. 126 NSKern: 0pt 127 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 128 NSStrokeWidth: 0 329 NSParagraphStyle: 330 Alignment 4 331 LineSpacing: 0 332 ParagraphSpacing: 0 333 ParagraphSpacingBefore: 0 334 HeadIndent: 0 335 TailIndent: 0 336 FirstLineHeadIndent: 0 337 LineHeight: 18/0 338 LineHeightMultiple: 0 339 LineBreakMode: 0 340 Tabs: () 341 DefaultTabInterval: 36 342 Blocks: (null) 343 Lists: (null) 344 BaseWritingDirection: 0 345 HyphenationFactor: 0 346 TighteningFactor: 0.05 347 HeaderLevel: 0 348 [ ] 349 NSFont: Times-Roman 16.00 pt. 350 NSParagraphStyle: 351 Alignment 4 352 LineSpacing: 0 353 ParagraphSpacing: 0 354 ParagraphSpacingBefore: 0 355 HeadIndent: 0 356 TailIndent: 0 357 FirstLineHeadIndent: 0 358 LineHeight: 23/0 359 LineHeightMultiple: 0 360 LineBreakMode: 0 361 Tabs: () 362 DefaultTabInterval: 36 363 Blocks: (null) 364 Lists: (null) 365 BaseWritingDirection: 0 366 HyphenationFactor: 0 367 TighteningFactor: 0.05 368 HeaderLevel: 0 129 369 [15pt] 130 NSColor: #000000 (NSDeviceRGBColorSpace)131 370 NSFont: Times-Roman 20.00 pt. 132 NSKern: 0pt 133 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 134 NSStrokeWidth: 0 135 [ ] 136 NSColor: #000000 (NSDeviceRGBColorSpace) 137 NSFont: Times-Roman 16.00 pt. 138 NSKern: 0pt 139 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 140 NSStrokeWidth: 0 371 NSParagraphStyle: 372 Alignment 4 373 LineSpacing: 0 374 ParagraphSpacing: 0 375 ParagraphSpacingBefore: 0 376 HeadIndent: 0 377 TailIndent: 0 378 FirstLineHeadIndent: 0 379 LineHeight: 18/0 380 LineHeightMultiple: 0 381 LineBreakMode: 0 382 Tabs: () 383 DefaultTabInterval: 36 384 Blocks: (null) 385 Lists: (null) 386 BaseWritingDirection: 0 387 HyphenationFactor: 0 388 TighteningFactor: 0.05 389 HeaderLevel: 0 390 [ ] 391 NSFont: Times-Roman 16.00 pt. 141 392 -
trunk/LayoutTests/platform/mac/editing/attributed-string/font-style-variant-effect-expected.txt
r176048 r179168 15 15 TailIndent: 0 16 16 FirstLineHeadIndent: 0 17 LineHeight: 0/017 LineHeight: 18/0 18 18 LineHeightMultiple: 0 19 19 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/font-weight-expected.txt
r176048 r179168 20 20 TailIndent: 0 21 21 FirstLineHeadIndent: 0 22 LineHeight: 0/022 LineHeight: 18/0 23 23 LineHeightMultiple: 0 24 24 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/letter-spacing-expected.txt
r176048 r179168 11 11 TailIndent: 0 12 12 FirstLineHeadIndent: 0 13 LineHeight: 0/013 LineHeight: 18/0 14 14 LineHeightMultiple: 0 15 15 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/text-decorations-expected.txt
r176048 r179168 13 13 TailIndent: 0 14 14 FirstLineHeadIndent: 0 15 LineHeight: 0/015 LineHeight: 18/0 16 16 LineHeightMultiple: 0 17 17 LineBreakMode: 0 -
trunk/LayoutTests/platform/mac/editing/attributed-string/vertical-align-expected.txt
r176048 r179168 15 15 TailIndent: 0 16 16 FirstLineHeadIndent: 0 17 LineHeight: 0/017 LineHeight: 15/0 18 18 LineHeightMultiple: 0 19 19 LineBreakMode: 0 … … 27 27 HeaderLevel: 0 28 28 [sup element] 29 NSColor: #000000 (NSDeviceRGBColorSpace)30 29 NSFont: Times-Roman 13.00 pt. 31 NSKern: 0pt 32 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 33 NSStrokeWidth: 0 30 NSSuperScript: 1 31 NSParagraphStyle: 32 Alignment 4 33 LineSpacing: 0 34 ParagraphSpacing: 0 35 ParagraphSpacingBefore: 0 36 HeadIndent: 0 37 TailIndent: 0 38 FirstLineHeadIndent: 0 39 LineHeight: 18/0 40 LineHeightMultiple: 0 41 LineBreakMode: 0 42 Tabs: () 43 DefaultTabInterval: 36 44 Blocks: (null) 45 Lists: (null) 46 BaseWritingDirection: 0 47 HyphenationFactor: 0 48 TighteningFactor: 0.05 49 HeaderLevel: 0 50 [ ] 51 NSFont: Times-Roman 16.00 pt. 52 NSParagraphStyle: 53 Alignment 4 54 LineSpacing: 0 55 ParagraphSpacing: 0 56 ParagraphSpacingBefore: 0 57 HeadIndent: 0 58 TailIndent: 0 59 FirstLineHeadIndent: 0 60 LineHeight: 15/0 61 LineHeightMultiple: 0 62 LineBreakMode: 0 63 Tabs: () 64 DefaultTabInterval: 36 65 Blocks: (null) 66 Lists: (null) 67 BaseWritingDirection: 0 68 HyphenationFactor: 0 69 TighteningFactor: 0.05 70 HeaderLevel: 0 71 [sub element] 72 NSFont: Times-Roman 13.00 pt. 73 NSSuperScript: -1 74 NSParagraphStyle: 75 Alignment 4 76 LineSpacing: 0 77 ParagraphSpacing: 0 78 ParagraphSpacingBefore: 0 79 HeadIndent: 0 80 TailIndent: 0 81 FirstLineHeadIndent: 0 82 LineHeight: 18/0 83 LineHeightMultiple: 0 84 LineBreakMode: 0 85 Tabs: () 86 DefaultTabInterval: 36 87 Blocks: (null) 88 Lists: (null) 89 BaseWritingDirection: 0 90 HyphenationFactor: 0 91 TighteningFactor: 0.05 92 HeaderLevel: 0 93 [ ] 94 NSFont: Times-Roman 16.00 pt. 95 [vertical align super] 96 NSFont: Times-Roman 16.00 pt. 34 97 NSSuperScript: 1 35 98 [ ] 36 NSColor: #000000 (NSDeviceRGBColorSpace)37 99 NSFont: Times-Roman 16.00 pt. 38 NSKern: 0pt 39 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 40 NSStrokeWidth: 0 41 [sub element] 42 NSColor: #000000 (NSDeviceRGBColorSpace) 43 NSFont: Times-Roman 13.00 pt. 44 NSKern: 0pt 45 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1 46 NSStrokeWidth: 0 47 NSSuperScript: -1 48 [ ] 49 NSColor: #000000 (NSDeviceRGBColorSpace) 100 [vertical align sub] 50 101 NSFont: Times-Roman 16.00 pt. 51 NSKern: 0pt52 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 153 NSStrokeWidth: 054 [vertical align super]55 NSColor: #000000 (NSDeviceRGBColorSpace)56 NSFont: Times-Roman 16.00 pt.57 NSKern: 0pt58 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 159 NSStrokeWidth: 060 NSSuperScript: 161 [ ]62 NSColor: #000000 (NSDeviceRGBColorSpace)63 NSFont: Times-Roman 16.00 pt.64 NSKern: 0pt65 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 166 NSStrokeWidth: 067 [vertical align sub]68 NSColor: #000000 (NSDeviceRGBColorSpace)69 NSFont: Times-Roman 16.00 pt.70 NSKern: 0pt71 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 172 NSStrokeWidth: 073 102 NSSuperScript: -1 74 103 [ vertical align 50% ] 75 NSColor: #000000 (NSDeviceRGBColorSpace)76 104 NSFont: Times-Roman 16.00 pt. 77 NSKern: 0pt78 NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 179 NSStrokeWidth: 080 105 -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r176258 r179168 99 99 rect: style.getPropertyValue(letter-spacing) : normal 100 100 rect: style.getPropertyCSSValue(letter-spacing) : [object CSSPrimitiveValue] 101 rect: style.getPropertyValue(line-height) : normal101 rect: style.getPropertyValue(line-height) : 18px 102 102 rect: style.getPropertyCSSValue(line-height) : [object CSSPrimitiveValue] 103 103 rect: style.getPropertyValue(list-style-image) : none … … 611 611 g: style.getPropertyValue(letter-spacing) : normal 612 612 g: style.getPropertyCSSValue(letter-spacing) : [object CSSPrimitiveValue] 613 g: style.getPropertyValue(line-height) : normal613 g: style.getPropertyValue(line-height) : 18px 614 614 g: style.getPropertyCSSValue(line-height) : [object CSSPrimitiveValue] 615 615 g: style.getPropertyValue(list-style-image) : none -
trunk/Source/WebCore/ChangeLog
r179166 r179168 1 2015-01-26 Sylvain Galineau <galineau@adobe.com> 2 3 The computed value of line-height:normal is incorrect 4 https://bugs.webkit.org/show_bug.cgi?id=133744 5 6 Reviewed by Dean Jackson. 7 8 Use font's line spacing as computed line-height value when specified value is 'normal'. 9 This behavior is compatible with all other engines. 10 11 No new tests; all existing tests are updated to reflect the new computed value. 12 13 * css/CSSComputedStyleDeclaration.cpp: 14 (WebCore::lineHeightFromStyle): If line-height wasn't set, use the font's line spacing (same as Blink). 15 1 16 2015-01-26 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r179017 r179168 1513 1513 { 1514 1514 Length length = style->lineHeight(); 1515 if (length.isNegative()) 1516 return cssValuePool().createIdentifierValue(CSSValueNormal);1515 if (length.isNegative()) // If true, line-height not set; use the font's line spacing. 1516 return zoomAdjustedPixelValue(style->fontMetrics().floatLineSpacing(), style); 1517 1517 if (length.isPercentNotCalculated()) { 1518 1518 // This is imperfect, because it doesn't include the zoom factor and the real computation
Note:
See TracChangeset
for help on using the changeset viewer.