(In reply to Ting-Yu Lin [:TYLin] (UTC-7) from comment #4) > I morph this bug for implementing "contain:size" because I'm not sure what needs to be done to implement `contain:layout` in `ColumnSetWrapperFrame`, and I don't see any `IsContainLayout()` in `nsColumnSetFrame`. I think the main per-frame `contain:layout` thing is to behave as if you have no baseline. And ColumnSetWrapperFrame probably gets that for free by virtue of inheriting nsBlockFrame's Reflow method and baseline getters.
Bug 1494100 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Ting-Yu Lin [:TYLin] (UTC-7) from comment #4) > I morph this bug for implementing "contain:size" because I'm not sure what needs to be done to implement `contain:layout` in `ColumnSetWrapperFrame`, and I don't see any `IsContainLayout()` in `nsColumnSetFrame`. I think the main per-frame-class `contain:layout` functionality is to behave as if you have no baseline. And ColumnSetWrapperFrame probably gets that for free by virtue of inheriting nsBlockFrame's Reflow method and baseline getters.