On Mon, Feb 5, 2018 at 4:22 PM, Xidorn Quan <m...@upsuper.org> wrote:
> I suppose you are talking about nsTextFragment::FragmentBits::mIsBidi?

Yes.

> Looking at callsites of nsTextFragment::IsBidi, my guess is that it is needed 
> so that we don't need to scan a text node when it is bound to the tree for 
> deciding whether we need to change the document bit.

Ah, so it's all about the order of the operations of the text node
gaining text and the text node becoming aware of its document. Thanks.

-- 
Henri Sivonen
hsivo...@hsivonen.fi
https://hsivonen.fi/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to