mithril-vndb/render/tests
Isiah Meadows 1ecc30a064 Fix custom elements attribute application, improve key checking
- Fix custom elements attribute application to acknowledge that not all
  custom elements operate purely based on attributes. (Plus, those
  blasted things are verbose as heck when you're working with them in
  raw form. It's also not that uncommon for functionality to be exposed
  via property and *not* attribute.)
- Don't memoize the normalized value when we 1. only use it once in each
  branch, and 2. only use it for a few special cases.
- Centralize the "has property key" code, so it's easier to tune and
  read. I also inlined a couple functions while I was at it since they
  were small and only used once.
- Actually test for how attributes are applied to raw DOM elements vs
  when we choose to use keys. When I first developed the patch, it
  silently worked, when I should've been breaking things.
2018-09-20 15:08:49 -04:00
..
index.html Do not normalise component children on ingestion (#2155) 2018-05-29 10:53:16 +01:00
test-attributes.js Fix custom elements attribute application, improve key checking 2018-09-20 15:08:49 -04:00
test-component.js Remove the DOM nodes recycling pool (fix #1653, fix #2023) 2018-04-16 09:45:45 +02:00
test-createElement.js [render/render] Fix xlink:href handling 2018-06-01 21:27:02 +02:00
test-createFragment.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
test-createHTML.js [render] add support for SVG in m.trust() strings 2018-03-06 01:12:32 +01:00
test-createNodes.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
test-createText.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
test-event.js Unbreak accidental back-compat break with event optimization (#2222) 2018-09-18 10:14:21 -04:00
test-fragment.js Replace x instanceof Array with Array.isArray(x) 2016-11-24 09:21:27 +00:00
test-hyperscript.js Fix custom elements attribute application, improve key checking 2018-09-20 15:08:49 -04:00
test-input.js element value is not cleared when value valor change to undefined 2018-02-09 00:47:59 +01:00
test-normalize.js tests: Update tests for false -> "" behavior 2017-01-05 23:07:47 -08:00
test-normalizeChildren.js tests: Update tests for false -> "" behavior 2017-01-05 23:07:47 -08:00
test-normalizeComponentChildren.js Do not normalise component children on ingestion (#2155) 2018-05-29 10:53:16 +01:00
test-onbeforeremove.js Remove support for vnode.state = ... 2017-10-02 19:57:48 -04:00
test-onbeforeupdate.js Remove the DOM nodes recycling pool (fix #1653, fix #2023) 2018-04-16 09:45:45 +02:00
test-oncreate.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
test-oninit.js recycling => shouldRecycle, Fix #1992 (#1993) 2017-10-16 08:38:44 +02:00
test-onremove.js Remove the DOM nodes recycling pool (fix #1653, fix #2023) 2018-04-16 09:45:45 +02:00
test-onupdate.js [test-utils/domMock] improve attributes handling 2017-05-28 18:26:09 +02:00
test-render-hyperscript-integration.js [render/test] add a render/hyperscript integration suite for classes 2018-06-07 18:09:38 +02:00
test-render.js Take the namespace of the root node into account, fix other ns oversight #1872 2017-06-14 01:59:45 +02:00
test-textContent.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
test-trust.js don't throw error on undefined/null trusted vnode #1375 2016-10-28 09:51:07 -04:00
test-updateElement.js [render/render] Test for removing styles and assorted domMock changes 2018-06-01 21:27:02 +02:00
test-updateFragment.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
test-updateHTML.js don't duplicate html on updates 2016-07-30 15:46:14 -04:00
test-updateNodes.js test for the LIS-based diff 2018-05-29 23:50:29 +02:00
test-updateNodesFuzzer.js Chore: Normalize the way we use eslint-disable 2018-06-01 21:27:02 +02:00
test-updateText.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00