in packages/core/src/rendering/render-object.ts [531:551]
override attach(owner: RenderPipeline) {
super.attach(owner)
if (this._layoutDirty && this._relayoutBoundary !== undefined) {
this._layoutDirty = false
this.markLayoutDirty()
}
if (this._needsCompositingDirty) {
this._needsCompositingDirty = false
this.markNeedsCompositingDirty()
}
if (this._paintDirty && this._layer) {
this._paintDirty = false
this.markPaintDirty()
}
// 初始化样式
this.trackStyle()
}