LibWeb: Remove NodeWithStyleAndBoxModelMetrics - #11072
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe change removes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
NodeWithStyleAndBoxModelMetrics has no state or behavior. Inline-flow interruption detection now lives in Rust, so retaining the intermediate base class leaves redundant type predicates across layout and painting. Make Box, InlineNode, and BreakNode inherit directly from NodeWithStyle. Retype paintables and fragmented-inline helpers with NodeWithStyle, and remove the obsolete C++ type predicate and Rust node kind. The numeric values of the remaining kinds stay unchanged across the FFI boundary.
db22221 to
cd98e65
Compare
NodeWithStyleAndBoxModelMetrics has no state or behavior. Inline-flow interruption detection now lives in Rust, so retaining the intermediate base class leaves redundant type predicates across layout and painting.
Make Box, InlineNode, and BreakNode inherit directly from NodeWithStyle. Retype paintables and fragmented-inline helpers with NodeWithStyle, and remove the obsolete C++ type predicate and Rust node kind. The numeric values of the remaining kinds stay unchanged across the FFI boundary.