From d71bd59a4e95c28ffa6419c0f9ee497e13857efe Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Tue, 22 Nov 2016 16:01:06 -0800 Subject: [PATCH] Passing disabled events --- scripts/fiber/tests-failing.txt | 14 -------------- scripts/fiber/tests-passing.txt | 12 ++++++++++++ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/scripts/fiber/tests-failing.txt b/scripts/fiber/tests-failing.txt index fb1508577d..1c87996514 100644 --- a/scripts/fiber/tests-failing.txt +++ b/scripts/fiber/tests-failing.txt @@ -45,20 +45,6 @@ src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js src/renderers/dom/shared/__tests__/ReactEventListener-test.js * should batch between handlers from different roots -src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js -* should forward clicks when it becomes not disabled -* should not forward clicks when it becomes disabled -* should work correctly if the listener is changed -* should forward clicks when it becomes not disabled -* should not forward clicks when it becomes disabled -* should work correctly if the listener is changed -* should forward clicks when it becomes not disabled -* should not forward clicks when it becomes disabled -* should work correctly if the listener is changed -* should forward clicks when it becomes not disabled -* should not forward clicks when it becomes disabled -* should work correctly if the listener is changed - src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js * should control a value in reentrant events diff --git a/scripts/fiber/tests-passing.txt b/scripts/fiber/tests-passing.txt index 4dfb816a3a..a85f28bc5d 100644 --- a/scripts/fiber/tests-passing.txt +++ b/scripts/fiber/tests-passing.txt @@ -721,12 +721,24 @@ src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js * triggers captured click events for children of disabled elements * should forward clicks when it starts out not disabled * should not forward clicks when it starts out disabled +* should forward clicks when it becomes not disabled +* should not forward clicks when it becomes disabled +* should work correctly if the listener is changed * should forward clicks when it starts out not disabled * should not forward clicks when it starts out disabled +* should forward clicks when it becomes not disabled +* should not forward clicks when it becomes disabled +* should work correctly if the listener is changed * should forward clicks when it starts out not disabled * should not forward clicks when it starts out disabled +* should forward clicks when it becomes not disabled +* should not forward clicks when it becomes disabled +* should work correctly if the listener is changed * should forward clicks when it starts out not disabled * should not forward clicks when it starts out disabled +* should forward clicks when it becomes not disabled +* should not forward clicks when it becomes disabled +* should work correctly if the listener is changed * does not add a local click to interactive elements * adds a local click listener to non-interactive elements