New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 646091 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

CompositionUnderline painting looks off-by-one on each end.

Project Member Reported by wkorman@chromium.org, Sep 12 2016

Issue description

Compare underline start/end to background in attached image. I would expect the green line to extend fully left/right to match the width of the background.

Test case with which this was produced attached.
 
Screen Shot 2016-09-12 at 12.42.28 PM.png
37.6 KB View Download
test.html
563 bytes View Download
Status: WontFix (was: Assigned)
This looks intentional, from InlineTextBoxPainter::paintCompositionUnderlines:

    // We need to have some space between underlines of subsequent clauses, because some input methods do not use different underline styles for those.
    // We make each line shorter, which has a harmless side effect of shortening the first and last clauses, too.
    start += 1;
    width -= 2;

Presuming this is intentional, so closing but at least we've a record, eh.

Sign in to add a comment