Changeset 175363 in webkit
- Timestamp:
- Oct 29, 2014, 8:27:24 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/css3/calculated-word-spacing-expected.txt (added)
-
LayoutTests/css3/calculated-word-spacing.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/style/RenderStyle.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r175356 r175363 1 2014-10-29 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 ASSERTION NOT REACHED because RenderStyle::setWordSpacing() does not handle a Length value of type 'Calculated'. 4 https://bugs.webkit.org/show_bug.cgi?id=138054. 5 6 Reviewed by Zalan Bujtas. 7 8 Ensure the render style's wordSpacing can be set correctly when the type of 9 the new value is 'Calculated'. The 'Calculated' Length value can result from 10 blending two Length values of different types. And these two Length values 11 are defined in two consecutive css animation key frames. 12 13 * css3/calculated-word-spacing-expected.txt: Added. 14 * css3/calculated-word-spacing.html: Added. 15 1 16 2014-10-29 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/ChangeLog
r175361 r175363 1 2014-10-29 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 ASSERTION NOT REACHED because RenderStyle::setWordSpacing() does not handle a Length value of type 'Calculated'. 4 https://bugs.webkit.org/show_bug.cgi?id=138054. 5 6 Reviewed by Zalan Bujtas. 7 8 A Length of type 'Calculated' can be generated from blending two lengths of 9 different types. Setting the wordSpacing of the render style should be handled 10 correctly when the type of the new value is 'Calculated'. 11 12 Tests: css3/calculated-word-spacing.html. 13 14 Add a case for setting the render style wordSpacing to a <length> of type 'Calculated'. 15 * rendering/style/RenderStyle.cpp: 16 (WebCore::RenderStyle::setWordSpacing): 17 1 18 2014-10-29 Hunseop Jeong <hs85.jeong@samsung.com> 2 19 -
trunk/Source/WebCore/rendering/style/RenderStyle.cpp
r174801 r175363 1382 1382 fontWordSpacing = value.value(); 1383 1383 break; 1384 case Calculated: 1385 fontWordSpacing = value.nonNanCalculatedValue(maxValueForCssLength); 1386 break; 1384 1387 default: 1385 1388 ASSERT_NOT_REACHED();
Note:
See TracChangeset
for help on using the changeset viewer.