(In reply to Jorg K from comment #110) > Where in the mochitest.ini do I put my new test? I put it right at the front > since I don't understand the syntax of "skip-if". Does that skip the next > line? Perhaps you can suggest a line where it should go. Or say: After such > and such.
Just add a line that says [test_bug756984.html] (assuming that's the file's name). Put it right before the next test line, like "[test_bug784410.html]" or whatever. The "skip-if", "support-files", etc. lines apply to the preceding test file, so don't put it before one of those lines. (This is confusing. I looked it up in the online docs: https://ci.mozilla.org/job/mozilla-central-docs/Tree_Documentation/build/buildsystem/test_manifests.html) > In the test I use a <span>123</span> to get offset 3 when clicking behind > it. Without the span, I get offset 4, which I find surprising, or clicking > at the front gives offset 1 instead of 0. FF 36 does the same, so I guess > it's right, but I'd like to understand why 4 and not 3, or 1 and not 0. Why > does the span make a difference? You have a newline at the beginning of the div. That's the first character in the text node (although it doesn't normally render). If you did <div id='div1'>123<br>456<br></div> all on one line, the offsets would be as you expected even without the span. > Anyway, the tests are passed. Without my changes, the first test fails as > expected. > > As I said in comment #106: There are already tests for hitting the "end" key > and navigating with the arrow keys, so this test should be the only one we > need additionally. Sounds great! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/584632 Title: composer changes font mid email To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/584632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs