Should we test tiddlywiki for valid HTML? #6662
Replies: 4 comments 2 replies
-
While it seems some issues will not be solved, but I am for fixing those issues you can! |
Beta Was this translation helpful? Give feedback.
-
I think, that's a good idea and it shouldn't be too difficult to create a CSS configuration and import it as a JSON for testing. I think, it would be interesting, to see, what's going on. |
Beta Was this translation helpful? Give feedback.
-
When we were investigating that Chrome bug related to rendering of block elements inside inline elements I downloaded the W3C validator. It's a horrible process to install it on a Mac, mucking around with Python. Once I'd got it running I quickly realised that we are a really, really long way from producing valid HTML for our standard layout. A big problem is that the HTML spec doesn't actually allow div elements to be nested inside paragraphs, something that we do a lot. Nonetheless, I would favour bringing in a validator, but perhaps a different one that can be installed via npm more easily. And then we'd have to carefully figure out which parts of the system would make sense to test. |
Beta Was this translation helpful? Give feedback.
-
Maybe. .. But if we would be able to see those problems, they may be much more obvious- I'm sure some of them are also low hanging fruits. ... eg: Combinations like I think we should aim to create valid and a "simpler" DOM structures. I tink, here we have a possibility to "see" some problems. We often see in the discussion groups, that theme authors have problems with the UI structure and CSS styling. If we can improve this structure, we should aim for it. ... It seems "phase 2" of the "ubertransclusion" will create some breaking changes. So there may be a good chance to fix some troubling UI problems on the way too. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I found this site with information about valid HTML
It points to this Google Chrome extension which outlines all problematic elements on a page
I tried the extension on tiddlywiki.com and found some problems but I've also seen that we can do something against it
Should we go towards valid HTML in the core and make some adjustments?
Best wishes,
Simon
Beta Was this translation helpful? Give feedback.
All reactions