diff --git a/patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch b/patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch new file mode 100644 index 0000000..80ede69 --- /dev/null +++ b/patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch @@ -0,0 +1,41 @@ +diff --git a/harness/testView.js b/harness/testView.js +index ac093c0..0dc4f03 100644 +--- a/harness/testView.js ++++ b/harness/testView.js +@@ -130,6 +130,22 @@ function TestView(testSuiteVer, testViewInfo) { + + var outputArea = createElement('div', 'outputarea'); + var textArea = createElement('div', 'output'); ++ textArea.setAttribute('tabindex', '0'); ++ textArea.classList.add('focusable'); ++ textArea.addEventListener('keydown', function(e) { ++ ++ if (e.key === 'ArrowDown') { ++ textArea.scrollTop += 30; ++ } ++ ++ if (e.key === 'ArrowUp') { ++ ++ if (textArea.scrollTop > 0) { ++ textArea.scrollTop -= 30; ++ e.stopImmediatePropagation(); ++ } ++ } ++ }); + var textAreaContainer = createElement('div', 'outputcontainer'); + textAreaContainer.appendChild(textArea); + outputArea.appendChild(textAreaContainer); +diff --git a/style.css b/style.css +index 07163f7..83a1807 100644 +--- a/style.css ++++ b/style.css +@@ -211,7 +211,8 @@ div.container_hidden { + #output { + height: 250px; + width: 600px; +- overflow: hidden; ++ overflow-y: auto; ++ overflow-x: auto; + color: #369; + border-width: 1px; + border-style: solid; diff --git a/prepare_submodule.sh b/prepare_submodule.sh index baa61cf..675ff29 100755 --- a/prepare_submodule.sh +++ b/prepare_submodule.sh @@ -35,3 +35,4 @@ git apply ../patches/0011_js_mse_eme_mvt_Add_Graphics_Test.patch git apply ../patches/0012_js_mse_eme_mvt_Add_LightningJS_Test.patch git apply ../patches/0013_js_mse_eme_mvt_Add_Application_memory_Test.patch git apply ../patches/0014_js_mse_eme_mvt_Add_Back_to_Main_Page_Button.patch +git apply ../patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch