We appear to track bidiness on the document and on the text nodes. The
document-level comment says:
/**
   * Indicate the document contains bidi data.
   * Currently, we cannot disable bidi, because once bidi is enabled,
   * it affects a frame model irreversibly, and plays even though
   * the document no longer contains bidi data.
   */

As far as I can tell, after the document has been marked as being
bidi, we stop updating the bidi bits on the text nodes. AFAICT, as
soon as any text node becomes bidi, the document needs to become bidi
and then we no longer care about maintaining the text node bidi bit.

So why do we have a bidi bit on the text nodes at all? Why don't we
track bidiness on the document only?

-- 
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