Closed Bug 1819487 Opened 1 year ago Closed 10 months ago

border-image-repeat and positioning the first tile before repeating

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1778032
Tracking Status
firefox-esr102 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- fix-optional

People

(Reporter: bugzilla, Unassigned)

References

(Regression)

Details

(Keywords: regression, testcase)

Info:

Issue 38588: [border-image-slice] If border-image-slice area is too wide or too tall, where begins the painting: left side (Firefox) or centre (Chrome)?
https://github.com/web-platform-tests/wpt/issues/38588

Pull request 38757: Added 2 new border-image-repeat-repeat test and 1 reference
https://github.com/web-platform-tests/wpt/pull/38757

Tests and references:

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-repeat-001.html

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-repeat-002.html

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/reference/border-image-repeat-repeat-001-ref.html

Excerpts from specifications:

CSS3 Backgrounds, § 5.6 Drawing the Border Image, parg 3 states:
"
Position the first tile.
If the first keyword is repeat, the top, middle, and bottom images are centered horizontally in their respective areas. (...)
If the second keyword is repeat, the left, middle, and right images are centered vertically in their respective areas.
"
https://www.w3.org/TR/css-backgrounds-3/#border-image-process

These tests fail in both Firefox 102.8.0esr and Firefox 112.0a1 buildID=20230228085339 .

These tests pass in Chromium 110.0.5481.177 and Epiphany 3.38.2 (using WebKitGTK 2.38.5) .

+CC: Emilio

testcase keyword added

Same regression range as bug 1819485.

Component: Layout → Graphics: WebRender
Keywords: regression
Regressed by: 1409773
See Also: → 1819485

Set release status flags based on info from the regressing bug 1409773

:aosmond, since you are the author of the regressor, bug 1409773, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(aosmond)

Seems like the same issue as bug 1819485 except for the other regions besides the middle region.

I've included some reduced/interactive testcases in bug 1820659, FWIW.

Also, it looks like bug 1778032 is essentially the same issue; the top-right corner of the screenshots in the initial comment there is essentially the same as the WPT test here.

That may be our original report of this problem

Set release status flags based on info from the regressing bug 1409773

(In reply to Gérard Talbot from comment #0)

Tests and references:

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-repeat-001.html

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-repeat-002.html

http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/reference/border-image-repeat-repeat-001-ref.html

These all render the same now (and match the textual description of the pass condition, a big green "+").

(In reply to Gérard Talbot from comment #6)

https://wpt.fyi/results/css/css-backgrounds?q=border-image-repeat-repeat-001

This passes now (though you have to remove Safari and Edge from the chart to see latest results):
https://wpt.fyi/results/css/css-backgrounds?label=master&label=experimental&product=chrome&product=firefox&aligned&q=border-image-repeat-repeat-001

So I think we can consider this fixed and effectively a dupe of bug 1778032.

Status: NEW → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1778032
Flags: needinfo?(aosmond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.