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

Issue 143983013: text-overflow on button should have effect (Closed)

Created:
6 years, 11 months ago by gnana
Modified:
6 years, 11 months ago
Reviewers:
cbiesinger, ojan
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

text-overflow on button should have effect RenderButton is derived from RenderFlexibleBox. In https://codereview.chromium.org/23449034 its mentioned that text-overflow on flexbox should have no effect. But in Firefox button text-overflow:ellipsis have a effect. I have added a exception for Renderbutton by returning true for canCollapseAnonymousBlockChild(). BUG=107014, 319894 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165720

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : layout test modified to work on all port #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
A LayoutTests/fast/css/text-overflow-ellipsis-button.html View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/text-overflow-ellipsis-button-expected.html View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderButton.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderFlexibleBox.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
gnana
Please have a look.
6 years, 11 months ago (2014-01-22 15:51:32 UTC) #1
cbiesinger
lgtm but, I'm not an OWNER so ojan will have to review this too. I ...
6 years, 11 months ago (2014-01-22 22:49:41 UTC) #2
ojan
lgtm
6 years, 11 months ago (2014-01-22 23:16:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/143983013/1
6 years, 11 months ago (2014-01-22 23:17:00 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderFlexibleBox.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-22 23:17:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/143983013/70001
6 years, 11 months ago (2014-01-23 06:07:21 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=23682
6 years, 11 months ago (2014-01-23 09:28:01 UTC) #7
gnana
Thanks ojan and cbeisinger. The layout test case is failing for mac_snowleopard port. Because in ...
6 years, 11 months ago (2014-01-23 16:12:58 UTC) #8
cbiesinger
On 2014/01/23 16:12:58, gnana wrote: > Thanks ojan and cbeisinger. > > The layout test ...
6 years, 11 months ago (2014-01-24 00:38:57 UTC) #9
ojan
If you add the following styling to the button, you can just use a div ...
6 years, 11 months ago (2014-01-24 00:55:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/143983013/330001
6 years, 11 months ago (2014-01-24 07:03:21 UTC) #11
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 08:10:49 UTC) #12
Message was sent while issue was closed.
Change committed as 165720

Powered by Google App Engine
This is Rietveld 408576698