-
mmaxfield@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126674 Reviewed by Simon Fraser. Source/WebCore: One change between CSS2.1 and CSS3 is that the word-spacing CSS property can take percentages (of the width of the space character) in CSS3. In order to implement this, the datatype must be changed from a float to a Length, which can hold percentage values. Then, during layout, we can query the width of the space character and update the Font's word-spacing value appropriately. However, the RenderStyle still holds on to the Length (as a rare inherited value). Tests: fast/css3-text/css3-word-spacing-percentage/word-spacing-change-font.html fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-parse.html fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage.html * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): Use Font's computed value instead of style's Length value. * css/CSSParser....
516f09b7