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

Issue 1200103006: Marquee width should not change a fixed width of its container. (Closed)

Created:
5 years, 6 months ago by changseok
Modified:
5 years, 5 months ago
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Marquee width should not change a fixed width of its container. Marquee collapses a block layout when the content of marquee is long enough to overflow the fixed width of its container. It should not contribute to the container's width. Conversely it should be constrained by its parents. To fix this, we don't accumulate marquee's width when calculating container block's width. BUG=459979 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197819

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments #

Total comments: 12

Patch Set 3 : Rebased #

Patch Set 4 : Addressed comments #

Patch Set 5 : Update the description in the test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
A LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container.html View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/marquee-width-shrinks-to-fit-in-fixed-size-container-expected.txt View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/html/HTMLMarqueeElement.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLMarqueeElement.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutBlock.cpp View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
changseok
PTAL.
5 years, 6 months ago (2015-06-23 06:50:03 UTC) #2
mstensho (USE GERRIT)
Please take a second look at the commit message. It misspells "marquee" once, and also, ...
5 years, 6 months ago (2015-06-23 09:33:31 UTC) #3
changseok
Thanks for all your comments! > Please take a second look at the commit message. ...
5 years, 6 months ago (2015-06-24 06:15:58 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html File LayoutTests/fast/block/marquee-in-fixed-size-container.html (right): https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html#newcode1 LayoutTests/fast/block/marquee-in-fixed-size-container.html:1: <!DOCTYPE html> I think we need a better file ...
5 years, 6 months ago (2015-06-24 08:24:37 UTC) #5
changseok
Thank you for all comments. =) https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html File LayoutTests/fast/block/marquee-in-fixed-size-container.html (right): https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html#newcode1 LayoutTests/fast/block/marquee-in-fixed-size-container.html:1: <!DOCTYPE html> On ...
5 years, 6 months ago (2015-06-25 06:41:34 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html File LayoutTests/fast/block/marquee-in-fixed-size-container.html (right): https://codereview.chromium.org/1200103006/diff/20001/LayoutTests/fast/block/marquee-in-fixed-size-container.html#newcode21 LayoutTests/fast/block/marquee-in-fixed-size-container.html:21: description("This tests if marquee contributes to the width of ...
5 years, 6 months ago (2015-06-25 07:46:47 UTC) #7
changseok
On 2015/06/25 07:46:47, mstensho wrote: > How about: "Test that a horizontal marquee doesn't contribute ...
5 years, 6 months ago (2015-06-25 08:40:32 UTC) #8
mstensho (USE GERRIT)
lgtm
5 years, 6 months ago (2015-06-25 08:44:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1200103006/80001
5 years, 6 months ago (2015-06-25 09:01:05 UTC) #11
commit-bot: I haz the power
5 years, 5 months ago (2015-06-25 12:56:02 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197819

Powered by Google App Engine
This is Rietveld 408576698