[D98434](https://phabricator.services.mozilla.com/D98434) is temporal implementation that is borrowed from ContainerState::ComputeOpaqueRect(). It does not handle clip correctly. I tested it on Win7 PC with about:networking#logging and Widget:5. Glass margin became same between WebRender and CompositorD3D11. I do not know well about FrameLayerBuilder and display items. :mattwoodrow is a correct person to provide correct implementation.
Bug 1680063 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
[D98434](https://phabricator.services.mozilla.com/D98434) is temporal implementation that is borrowed from ContainerState::ComputeOpaqueRect(). It does not handle clip correctly. I tested it on Win7 PC with about:networking#logging and Widget:5. Glass margin became same between WebRender and CompositorD3D11. I do not know well about FrameLayerBuilder and display items. :mattwoodrow knows about them and could provide correct implementation.