1
0
Fork 0
liza/test
Mike Gerwitz ae9f2a7cab NaFieldStyler remove subfields from DOM
This is necessarily primarily for a specific case: option elements in IE,
which cannot be styled. >:O

This implementation is not complete: we want to re-attach the field at the
same position it was at before it was detached.  This might not be
trivial---imagine if its sibling was also detached.

* src/ui/styler/NaFieldStyler.js (isSubField): Receive field instead of
element (to check parent)
(applyStyle, revokeStyle): Detach and re-attach field from/to DOM
respectively

* test/ui/styler/NaFieldStylerTest.js: Associated tests
2016-04-04 12:30:21 -04:00
..
dapi HttpDataApi#request permits null data 2015-05-29 12:45:02 -04:00
ui/styler NaFieldStyler remove subfields from DOM 2016-04-04 12:30:21 -04:00
pre.js add es6-promise shim 2016-03-01 00:48:37 -05:00