| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
}This logic shifts to LayoutObject::UpdateAfterReinsert
if (!FirstChild() && IsMergeableAnonymousBlock(this)) {nit: Grammar/Clarity. "was created" -> "were created" (matching "we") or "it was created". "remove ourselves" -> "remove this object".
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
LayoutTreeBuilderTraversal::NextSiblingLayoutObject(*this));This can be more expensive than the current implementation in the presence of display:none and display:contents subtrees (assuming the current code only has to work on the box tree?).
The pathological cases are unlikely, though.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
[layout] Reinsert LayoutObjects which undergo a positioned-state change.Also floats.
So "out-of-flow-state" would be more correct, although "out-of-flow" is often taken as either abspos and fixedpos. How about "in-flow state" then?
Maybe also reflect this in the runtime feature flag name, but I won't insist.
position:absolute).or float:left to float:none
SetScrollAnchorDisablingStyleChangedOnAncestor();If you happen to know why this (and the below) is necessary, please add a comment.
I see that this CL disables the corresponding code in StyleDidChange()...
But I wish we knew what this is about, and why it's still needed, now that the layout object is taken out and re-inserted.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |