See also bug 613149
+1 to the priority of this, I would love to see this implemented so that we can have 613149 fixed
Created attachment 556835 [details] [diff] [review] Patch
Comment on attachment 556835 [details] [diff] [review] Patch Review of attachment 556835 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/generic/nsBlockFrame.cpp @@ +3567,5 @@ > + // frame, because the block frame could be split by hard line breaks into > + // multiple paragraphs with different base direction > + FramePropertyTable *propTable = aState.mPresContext->PropertyTable(); > + PRUint8 direction = PRUint32(propTable->Get(aLine->mFirstChild, > + BaseLevelProperty())) & 1; Can we store this direction in a state bit so we don't have to do a mildly-expensive property get here? Or condition this on bidi being enabled?
Created attachment 557016 [details] [diff] [review] Patch v.2 Howzabouts if we move the test on unicode-bidi: plaintext out of BeginLineReflow to the callers, like so?
https://hg.mozilla.org/integration/mozilla-inbound/rev/388df914497e
https://hg.mozilla.org/mozilla-central/rev/388df914497e
I've updated: https://developer.mozilla.org/en/CSS/unicode-bidi https://developer.mozilla.org/en/Firefox_10_for_developers