avm2: Add a FIXME notice about DO Container methods being called on a TextLine

This commit is contained in:
Lord-McSweeney 2023-10-07 20:25:18 -07:00 committed by Nathan Adams
parent f5a16ad46f
commit dfdd8287fb
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ package flash.text.engine {
import flash.display.DisplayObjectContainer;
import flash.geom.Rectangle;
// FIXME: None of the DisplayObjectContainer methods actually work on
// the TextLine class in Ruffle, despite the methods working fine in FP-
// however, it's unlikely that SWFs will actually attempt to add children
// to a TextLine.
[Ruffle(NativeInstanceInit)]
public final class TextLine extends DisplayObjectContainer {
internal var _specifiedWidth:Number = 0.0;