Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Issue 1964773002: Render Unicode control characters (Closed)

Created:
4 years, 7 months ago by eae
Modified:
4 years, 5 months ago
Reviewers:
pdr., esprehn, kojii, behdad
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Render Unicode control characters Change the shaping logic to no longer replace Unicode control characters with space or zero-width-space to better match the spec. Implement as an experimental web platform feature to ensure that it doesn't break sites. W3C: https://lists.w3.org/Archives/Public/www-style/2014Mar/0475.html Spec: https://drafts.csswg.org/css-text-3/#white-space-processing TEST=fast/text/zero-width-characters-complex-script.html BUG=530342 R=kojii@chromium.org Committed: https://crrev.com/275c35fe82bd295a75c0d555db0e0b26fcdf980b Cr-Commit-Position: refs/heads/master@{#403542}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Render Unicode control characters #

Total comments: 1

Patch Set 3 : w/Test changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -143 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/text/fixed-pitch-control-characters.html View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/text/wide-zero-width-space.html View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/text/zero-width-characters.html View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/text/zero-width-characters-complex-script.html View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/fast/text/fixed-pitch-control-characters-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/fast/text/wide-zero-width-space-expected.txt View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/fast/text/fixed-pitch-control-characters-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/fast/text/wide-zero-width-space-expected.txt View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/fast/text/fixed-pitch-control-characters-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/fast/text/wide-zero-width-space-expected.txt View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win7/fast/text/wide-zero-width-space-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/text/Character.h View 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/text/CharacterNames.h View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (23 generated)
eae
4 years, 7 months ago (2016-05-10 20:19:15 UTC) #5
eae
Need to update the patch to still replace whitespace characters with space.
4 years, 7 months ago (2016-05-10 22:27:12 UTC) #6
kojii
On 2016/05/10 at 22:27:12, eae wrote: > Need to update the patch to still replace ...
4 years, 7 months ago (2016-05-10 23:41:22 UTC) #7
eae
On 2016/05/10 23:41:22, kojii wrote: > On 2016/05/10 at 22:27:12, eae wrote: > > Need ...
4 years, 7 months ago (2016-05-11 16:25:28 UTC) #8
kojii
On 2016/05/11 at 16:25:28, eae wrote: > > Thanks, I plan to add a defaultIgnorable ...
4 years, 7 months ago (2016-05-11 17:56:56 UTC) #9
eae
PTAL
4 years, 7 months ago (2016-05-17 20:00:22 UTC) #12
kojii
I think I confused more than necessary, sorry about that. How about move 0xA0 and ...
4 years, 7 months ago (2016-05-18 00:07:16 UTC) #13
behdad
lgtm
4 years, 7 months ago (2016-05-19 01:37:25 UTC) #14
kojii
https://codereview.chromium.org/1964773002/diff/100001/third_party/WebKit/Source/platform/text/Character.h File third_party/WebKit/Source/platform/text/Character.h (right): https://codereview.chromium.org/1964773002/diff/100001/third_party/WebKit/Source/platform/text/Character.h#newcode108 third_party/WebKit/Source/platform/text/Character.h:108: || c == carriageReturnCharacter || c == noBreakSpaceCharacter ? ...
4 years, 7 months ago (2016-05-19 03:44:59 UTC) #15
eae
PTAL
4 years, 5 months ago (2016-06-28 17:56:50 UTC) #20
kojii
Logic lgtm, except missing newlineCharacter below unless you omitted it intentionally, but test failures looks ...
4 years, 5 months ago (2016-06-28 18:58:15 UTC) #21
eae
On 2016/06/28 18:58:15, kojii wrote: > Logic lgtm, except missing newlineCharacter below unless you omitted ...
4 years, 5 months ago (2016-06-28 20:40:15 UTC) #22
eae
On 2016/06/28 20:40:15, eae wrote: > On 2016/06/28 18:58:15, kojii wrote: > > Logic lgtm, ...
4 years, 5 months ago (2016-06-28 20:40:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1964773002/140001
4 years, 5 months ago (2016-06-29 16:24:04 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/209512)
4 years, 5 months ago (2016-06-29 16:35:40 UTC) #29
pdr.
On 2016/06/29 at 16:35:40, commit-bot wrote: > Try jobs failed on following builders: > chromium_presubmit ...
4 years, 5 months ago (2016-06-30 18:32:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1964773002/140001
4 years, 5 months ago (2016-06-30 18:33:54 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/210681)
4 years, 5 months ago (2016-06-30 18:43:01 UTC) #34
eae
+esprehn for Source/wtf
4 years, 5 months ago (2016-06-30 19:18:58 UTC) #36
esprehn
lgtm
4 years, 5 months ago (2016-06-30 19:45:35 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1964773002/140001
4 years, 5 months ago (2016-06-30 20:01:51 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253450)
4 years, 5 months ago (2016-06-30 20:49:59 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1964773002/140001
4 years, 5 months ago (2016-07-01 19:05:08 UTC) #44
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 5 months ago (2016-07-01 22:00:32 UTC) #46
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-01 22:00:45 UTC) #47
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 22:02:30 UTC) #49
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/275c35fe82bd295a75c0d555db0e0b26fcdf980b
Cr-Commit-Position: refs/heads/master@{#403542}

Powered by Google App Engine
This is Rietveld 408576698