Open Bug 2045656 Opened 2 months ago Updated 2 months ago

box-decoration-break inserts borders between contiguous bidi fragments

Categories

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

Firefox 151
defect

Tracking

()

People

(Reporter: psychpsyo, Unassigned)

References

Details

Attachments

(1 file)

Attached file bidi-nonsense.html

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0

Steps to reproduce:

CSS Writing Modes, (in https://drafts.csswg.org/css-writing-modes/#bidi-fragmentation ) states that "an inline box is not considered to be broken into multiple box fragments due to bidi reordering if no intervening content would force it to split."
Firefox generally honors this, but fails to do so once box-decoration-break is set to "clone", inserting borders between what would've otherwise been one contiguous fragment. (the outer span in the attached repro)

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Navigation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Navigation
Product: Firefox → Core
Component: DOM: Navigation → Layout: Block and Inline

Regression window:
https://hg-edge.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7e8fac17305a&tochange=c6adaead7adf

Bug 1006326 - Enable the 'box-decoration-break' CSS property by default

So, it seems to be not a regression. The problem seems to be in the implementation.

Blocks: 1006326
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: