x-bt wrote:
I think it may be wrong, because GetStateBits function returns a masks
value,
it doesn't make any sense for the opertion of 'not(bits) & bit'
Indeed. And worse yet, Neil pointed this out a year ago (see
<https://bugzilla.mozilla.org/show_bug.cgi?id=426772#c55>) and then
somehow the person who checked in this code didn't bother to fix it...
I filed <https://bugzilla.mozilla.org/show_bug.cgi?id=509956>.
The only good news here is that this looks like a (non-working)
performance optimization, so at least the behavior is not wrong.
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout