Open Bug 1632228 Opened 5 years ago Updated 5 years ago

fragmentation-skipped borders and padding should follow rules for box-decoration-break:slice

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

Details

In bug 1631941 I fixed some inconsistency in our code, and switched to treating the borders and padding that are skipped due to fragmentation as always being in the frame's writing mode. This was what most, but not all, of our code did at the time. (There were only two callsites that needed to change, and for one of those the change only affected a small portion of its callers.)

However, looking at the spec, this behavior is actually incorrect. The spec actually defines specific rules for this:

  • for fragments across lines, the spec's normative text is inconsistent with the examples, so I'm not sure
  • fragments across columns use the multi-column container's direction (and analogous for regions), so our current code is wrong
  • fragments across pages use the root element's block flow direction, so our current code is also wrong

There were only two callsites that needed to change,

The link to the two callsites is invalid. Could you update it? Thanks!

It will be valid once the patch hits mozilla-central.

Priority: -- → P3

The severity field is not set for this bug.
:dholbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dholbert)
Severity: -- → S3
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.