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

Issue 1888823002: Replace CR/NL by space - don't remove altogether when xml:space=default (Closed)

Created:
4 years, 8 months ago by fs
Modified:
4 years, 8 months ago
Reviewers:
pdr.
CC:
fs, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace CR/NL by space - don't remove altogether when xml:space=default This moves handling of xml:space=default closer to the more generic white-space handling, by not removing CR and NL characters, but rather just replacing them with a regular space. This modifies behavior, but means aligning with non-WebKit browser engines. This also simplifies the code a bit - with promise of further simplification (or rather assimilation.) TEST=svg/custom/text-whitespace-handling.svg BUG=602606, 366558 Committed: https://crrev.com/0c39a6f29e59594a7b9c412a8203af9fc43e4ecd Cr-Commit-Position: refs/heads/master@{#387440}

Patch Set 1 #

Patch Set 2 : One more TE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -22 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp View 2 chunks +9 lines, -22 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
fs
Test-changes break-down: " \n" -> " " transition leading to (one) additional line box: svg/W3C-SVG-1.1/styling-css-02-b.svg ...
4 years, 8 months ago (2016-04-14 17:40:21 UTC) #5
pdr.
On 2016/04/14 at 17:40:21, fs wrote: > Test-changes break-down: > > " \n" -> " ...
4 years, 8 months ago (2016-04-14 21:24:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888823002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888823002/20001
4 years, 8 months ago (2016-04-14 21:51:55 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-14 21:58:09 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 21:59:42 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0c39a6f29e59594a7b9c412a8203af9fc43e4ecd
Cr-Commit-Position: refs/heads/master@{#387440}

Powered by Google App Engine
This is Rietveld 408576698