Open Bug 1602134 Opened 6 years ago Updated 3 years ago

box-decoration-break: clone with width: min-content puts the last line outside the box

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

People

(Reporter: mcbain.asm, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

I created a parent div with a width set to min-content and text-align set to right and a child span with box-decoration-break set to clone with some padding.

Actual results:

The end of the last line of text is rendered outside of the parent's box.

Expected results:

The parent box should include all lines of text fully and the last line should be right aligned with those above it.

Component: Untriaged → Layout
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Block and Inline
Ever confirmed: true
Keywords: testcase
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → All
Summary: box-decoration-break: clone with width: min-content and text-align: right puts the last line outside the box → box-decoration-break: clone with width: min-content puts the last line outside the box
Version: 71 Branch → unspecified
Assignee: nobody → mats

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: MatsPalmgren_bugz → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: