       runSetImmediateCallbacks()
 
       expect(horizontalScrollbarNode.scrollWidth).toBe editor.getScrollWidth()
-      expect(horizontalScrollbarNode.style.left).toBe gutterNode.offsetWidth + 'px'
 
     it "updates the position and width of the horizontal scrollbar when editor.showLineNumbers is toggled", ->
       componentNode.style.width = 10 * charWidth + 'px'

    it "does not handle input events when input is disabled", ->
      component.setInputEnabled(false)
      componentNode.dispatchEvent(buildTextInputEvent(data: 'x', target: inputNode))
      runSetImmediateCallbacks()
      expect(editor.lineForBufferRow(0)).toBe 'var quicksort = function () {'

    describe "when IME composition is used to insert international characters", ->

        initialCharWidth = editor.getDefaultCharWidth()

        component.setFontSize(22)
        expect(editor.getLineHeightInPixels()).toBe initialLineHeightInPixels
        expect(editor.getDefaultCharWidth()).toBe initialCharWidth

