|
Allow fractional letter- and word-spacing values.
Previously, fractional values specified or calculated for letter- and word-
spacing were truncated to an integer, despite our ability to draw text with
floating point precision. Exposing this ability is as simple as changing the
data structures involved to store floats.
BUG= 154289
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153727
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+187 lines, -144 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/text/text-spacing-01-b-expected.txt
|
View
|
|
1 chunk |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/css1/text_properties/letter_spacing-expected.txt
|
View
|
|
4 chunks |
+30 lines, -30 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/css1/text_properties/word_spacing-expected.txt
|
View
|
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/fast/text/basic/013-expected.txt
|
View
|
|
1 chunk |
+28 lines, -28 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/fast/text/text-letter-spacing-expected.txt
|
View
|
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
|
View
|
|
1 chunk |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/svg/batik/text/textLayout-expected.txt
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/win/svg/custom/text-letter-spacing-expected.txt
|
View
|
|
1 chunk |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
Source/WebKit/chromium/src/WebFontImpl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebKit/chromium/src/WebFontImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/DeprecatedStyleBuilder.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/animation/CSSPropertyAnimation.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/platform/graphics/Font.h
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/platform/graphics/Font.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|