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

Table rendering sometimes not working #131

Closed bob2517 closed 3 years ago

bob2517 commented 3 years ago

Noticed this on the live docs site - the create-command page lost it's table structure when rendering.

This is fixed on the 2.5.1 branch if anyone needs it.

bob2517 commented 3 years ago

Made this a bit faster offline for pages that don't render tables dynamically by conditionally running the handling. It's was a thing to do with rendering trs, tds, tbodys and ths as top-level rendering items inside pre-existing table tags and there's a bit of jiggery-pokery involved in converting to standalone temporary tags which would otherwise strip the tags out as the main table tag wouldn't be there at the time of temporary render thanks to smart html conversion by a native conversion. Hmmm... just thought of another method that may be a bit quicker than what's there currently. I'll make a note for a further optimization and come back to it later.

bob2517 commented 3 years ago

Closing for milestone tracking.