From 4f0218c0a297c42eacb8b527b50cbdb8aa06281f Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 5 Jan 2016 10:35:33 +0100 Subject: [PATCH] :memo: Fix mistyped spec description --- spec/text-editor-component-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/text-editor-component-spec.js b/spec/text-editor-component-spec.js index 041eca4cb..99fd1bc54 100644 --- a/spec/text-editor-component-spec.js +++ b/spec/text-editor-component-spec.js @@ -1825,7 +1825,7 @@ describe('TextEditorComponent', function () { expect(component.lineNodeForScreenRow(2).dataset.screenRow).toBe("2") }) - it('does not render highlights for off-screen lines until they come on-screen', async function () { + it('measures block decorations taking into account both top and bottom margins', async function () { wrapperNode.style.height = 9 * lineHeightInPixels + 'px' component.measureDimensions() await nextViewUpdatePromise()