Active-CSS / active-css

The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
https://activecss.org
Other
42 stars 7 forks source link

Show an error when trying to render non-document fragment-friendly HTML #236

Closed bob2517 closed 2 years ago

bob2517 commented 2 years ago

Currently the core doesn't flag an error when it fails to validly render HTML when it is formatted in a way that JavaScript cannot convert into valid HTML elements.

The solution to this, is in the development version, not the production version, compare the inner html of the before and after conversion states, and if they don't match then flag an error.

bob2517 commented 2 years ago

Closing this - it's going to slow things up in the dev area and I'm not convinced this fix is going to work in all cases. Low priority, so closing for now. May re-open later.