You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The middle edge of the square is 2em wide or 2em tall. But the border-image that has been sliced can only fit one half of it. The question now becomes from which area should the slicing be done. Firefox starts from the top side and from left side. Chromium starts from the middle area. I think the specification is not utterly clear about this.
Both implementations are possible ... albeit I think Firefox's implementation makes more sense, seems more logical and meeting better a web author's expectations.
1 other test (please load it in Firefox and in Chrome) highlighting the difference in implementation:
Please load this test
http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-789-GT.html
in Firefox 110+ and in Chrome 110+.
The middle edge of the square is 2em wide or 2em tall. But the border-image that has been sliced can only fit one half of it. The question now becomes from which area should the slicing be done. Firefox starts from the top side and from left side. Chromium starts from the middle area. I think the specification is not utterly clear about this.
Both implementations are possible ... albeit I think Firefox's implementation makes more sense, seems more logical and meeting better a web author's expectations.
1 other test (please load it in Firefox and in Chrome) highlighting the difference in implementation:
http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/border-image-repeat-456-GT.html
Finally, this test
http://wpt.live/css/css-backgrounds/css3-border-image-repeat-repeat.html
must be revisited and re-evaluated once this issue has been resolved.
The text was updated successfully, but these errors were encountered: