Bug 1636298 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

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).
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).

Back to Bug 1636298 Comment 0