[wpt-sync] Sync PR 26352 - Test that border-image-width extends into padding given no border area (e.g. via border-style: none)
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox96 fixed)
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26352 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26352
Details from upstream follow.
Tyler Wilcock <tyler.l.wilcock@gmail.com> wrote:
Test that border-image-width extends into padding given no border area (e.g. via border-style: none)
When there is no border area (e.g. resulting from
border-style: none
), border-images withborder-image-width
should render into the padding / content area of the box.Spec: https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/#propdef-border-image-width
Editorial of the spec: https://github.com/w3c/csswg-drafts/issues/655#issuecomment-331059128
(emphasis mine)
Since by default a border image is only drawn in the border area, by default a border-style of none will make it disappear. However, the border-image-outset and border-image-width values can alter the “border” area into which the border image is drawn, extending it into the padding area (in the case of border-image-widths greater than the border-width) or extending it outside the border edge (in the case of border-image-outset greater than zero).
WebKit and Gecko exhibit this behavior, Chromium does not.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
bugherder |
Description
•