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

Issue 741803003: Revert of Reland of Different fonts selected for width calculation (Closed)

Created:
6 years ago by pfeldman
Modified:
6 years ago
Reviewers:
tkent, pdr., eae, h.joshi
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Revert of Reland of Different fonts selected for width calculation (patchset #4 id:60001 of https://codereview.chromium.org/680213004/) Reason for revert: Layout tests are failing: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=svg%2Ftext%2Ftext-overflow-ellipsis-svgfont.html&testType=layout-tests Original issue's description: > Reland of Different fonts selected for width calculation > Original Patch: https://codereview.chromium.org/593673003/ due to > issues faced in XP for which test expectation was not updated and > revert of patch was submitted > > In some cases different fonts are selected to get width of string and > to draw text. In Font.cpp calls, font get changed due to fallback font > architecture. When making calls we need to check if Unicode is present > in primary font or not. > In case of Ellipsis, we need to check if Ellipsis Unicode is present in > primary font or not, if not then use "Dot" Unicode, this is also > suggested in CSS3 (http://www.w3.org/TR/2003/CR-css3-text-20030514/) > > BUG=416425 TEST=fast/text/ellipsis-platform-font-change.html > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186162 TBR=eae@chromium.org,tkent@chromium.org,pdr@chromium.org,h.joshi@samsung.com NOTREECHECKS=true NOTRY=true BUG=416425 TEST=fast/text/ellipsis-platform-font-change.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186206

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -199 lines) Patch
M LayoutTests/TestExpectations View 1 2 chunks +3 lines, -4 lines 0 comments Download
D LayoutTests/fast/text/ellipsis-platform-font-change.html View 1 1 chunk +0 lines, -28 lines 0 comments Download
D LayoutTests/platform/linux/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/linux/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/linux/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/linux/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/mac-lion/virtual/antialiasedtext/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac-lion/virtual/textblob/svg/text/text-overflow-ellipsis-svgfont-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac-retina/virtual/textblob/svg/text/text-overflow-ellipsis-svgfont-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/mac/virtual/antialiasedtext/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac/virtual/antialiasedtext/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/mac/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/mac/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/mac/virtual/textblob/svg/text/text-overflow-ellipsis-svgfont-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/win-xp/fast/css/font-face-opentype-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/win-xp/fast/css/font-face-opentype-expected.txt View 1 1 chunk +4 lines, -4 lines 0 comments Download
D LayoutTests/platform/win-xp/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win-xp/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
A + LayoutTests/platform/win-xp/fast/text/line-break-after-question-mark-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/win-xp/svg/text/text-overflow-ellipsis-svgfont-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win-xp/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win-xp/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M LayoutTests/platform/win-xp/virtual/textblob/svg/text/text-overflow-ellipsis-svgfont-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/win/virtual/antialiasedtext/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win/virtual/antialiasedtext/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/platform/win/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.png View 1 Binary file 0 comments Download
D LayoutTests/platform/win/virtual/textblob/fast/text/ellipsis-platform-font-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/third_party/AndroidEmojiMonospace/AndroidEmoji.ttf.subset-uni203C.ttf View 1 Binary file 0 comments Download
D LayoutTests/third_party/AndroidEmojiMonospace/LICENSE.txt View 1 1 chunk +0 lines, -18 lines 0 comments Download
D LayoutTests/third_party/AndroidEmojiMonospace/README.chromium View 1 1 chunk +0 lines, -18 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 1 chunk +3 lines, -23 lines 0 comments Download
M Source/core/rendering/RenderText.cpp View 1 2 chunks +3 lines, -12 lines 0 comments Download
M Source/wtf/unicode/CharacterNames.h View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
pfeldman
Created Revert of Reland of Different fonts selected for width calculation
6 years ago (2014-11-30 14:55:00 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741803003/1
6 years ago (2014-11-30 14:55:34 UTC) #2
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-30 14:55:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741803003/230001
6 years ago (2014-11-30 18:21:20 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:230001) as https://src.chromium.org/viewvc/blink?view=rev&revision=186206
6 years ago (2014-11-30 18:22:16 UTC) #7
h.joshi
@pfeldman: Patch revert was not required, we need to update Test Expectation file for the ...
6 years ago (2014-12-01 04:16:53 UTC) #8
h.joshi
@pfeldman: Cross checked the Test Expectation file and test case "virtual/textblob/svg/text/text-overflow-ellipsis-svgfont.html" is marked as "NeedsRebaseline" ...
6 years ago (2014-12-01 04:21:43 UTC) #9
pfeldman
- Auto rebaseline has landed new expectations for your tests as https://src.chromium.org/viewvc/blink?revision=186173&view=revision. - It made ...
6 years ago (2014-12-01 05:07:04 UTC) #10
h.joshi
@pfeldman: I have two points here 1. Does not seems to be issue with submitted ...
6 years ago (2014-12-01 07:16:53 UTC) #11
pfeldman
You should investigate the source of flakiness that your change introduced. If the test in ...
6 years ago (2014-12-01 07:28:42 UTC) #12
h.joshi
6 years ago (2014-12-01 07:38:51 UTC) #13
Message was sent while issue was closed.
Platform specific rebaseline was needed, as patch checks for Font property
and fonts are platform specific.
Will check for test case and if test case itself needs to be removed, will 
do that first.

Powered by Google App Engine
This is Rietveld 408576698