Open Bug 1716903 Opened 3 years ago Updated 28 days ago

box-shadow does not draw correctly on inline-box broken into several lines with webrender

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

People

(Reporter: TYLin, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Steps to reproduce:

  1. Open https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break
  2. See the example of box-decoration-break: slice;

Expected result:
The box-shadow is "cut-off" at the inline start or end side if the inline-box is broken into multiple line. The expected rendering is shown further down in the MDN article. Direct link: https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break/box-decoration-break-inline-slice.png

Actual result:
The box shadow is extended at the inline start or end side of the inline box. See the attached screenshot. Note: Enabling gfx.webrender.force-disabled yields the expected result.

See Also: → 1715888

FWIW, if taking the screenshot of the MDN page in comment 0 by right clicking and choosing "Take screenshot", the screenshot is actually shown the expected result.

Blocks: gfx-triage
Blocks: wr-correctness
No longer blocks: gfx-triage
Severity: -- → S4
Priority: -- → P3
Duplicate of this bug: 1797302
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: