| Index: third_party/WebKit/Source/platform/text/Character.h
|
| diff --git a/third_party/WebKit/Source/platform/text/Character.h b/third_party/WebKit/Source/platform/text/Character.h
|
| index f953a32542df6fd18821efd54a13c1bece58849f..73fabb91aa5d076b551c264e87ba6f022c2898f9 100644
|
| --- a/third_party/WebKit/Source/platform/text/Character.h
|
| +++ b/third_party/WebKit/Source/platform/text/Character.h
|
| @@ -158,12 +158,16 @@ class PLATFORM_EXPORT Character {
|
| }
|
|
|
| static inline bool isNormalizedCanvasSpaceCharacter(UChar32 c) {
|
| - // According to specification all space characters should be replaced with 0x0020 space character.
|
| + // According to specification all space characters should be replaced with
|
| + // 0x0020 space character.
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#text-preparation-algorithm
|
| - // The space characters according to specification are : U+0020, U+0009, U+000A, U+000C, and U+000D.
|
| + // The space characters according to specification are : U+0020, U+0009,
|
| + // U+000A, U+000C, and U+000D.
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character
|
| - // This function returns true for 0x000B also, so that this is backward compatible.
|
| - // Otherwise, the test LayoutTests/canvas/philip/tests/2d.text.draw.space.collapse.space.html will fail
|
| + // This function returns true for 0x000B also, so that this is backward
|
| + // compatible. Otherwise, the test
|
| + // LayoutTests/canvas/philip/tests/2d.text.draw.space.collapse.space.html
|
| + // will fail
|
| return c == 0x0009 || (c >= 0x000A && c <= 0x000D);
|
| }
|
|
|
|
|