[css-multicol][css-grid][css-flexbox] Investigate adding a CSS 'column-rule-image-source' property
Categories
(Core :: Layout, enhancement, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | affected |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 3 obsolete files)
Based on the discussion in https://github.com/w3c/csswg-drafts/issues/2748 about adding more advanced options for styling gutters/gaps for grid/flexbox, it seems to me that column-rule-*
could be used for this (assuming that we add corresponding row-rule-*
properties). It appears that there is demand for supporting images though, akin to border-image
.
In this patch I added a column-rule-image-source
property to experiment with this a bit. It doesn't seem to work for some reason though and I can't figure out why... The CreateBorderImageRenderer/CreateWebRenderCommands calls return success and I've verified that I call AssociateRequestToFrame on the right frame in nsFrame::DidSetComputedStyle (however the imgIRequest::imageStatus appears to be STATUS_NONE at that point, which emilio said was unexpected).
Updated•5 years ago
|
Comment 1•5 years ago
|
||
I think this is about the border-image code. You're setting border-width on nsColumnSetFrame::CreateBorderImageRenderers
, but not border-style
.
I can get it to render multipe things by using a combination of border-width / border-image-width / border-image-repeat / etc.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Comment 6•3 years ago
|
||
This is subsumed by bug 1725495 now.
Description
•