So to make use of the CSS element() effectivly in TiddlyWIki we need html ID’s for the following and others
The whole story
The current edit text (for long tiddlers)
The current tiddler view for reading long tiddlers
It may also help with a tiddler preview on links?
Presumably there is additional code to allow click to select place actions
I am no CSS expert but it seems we may be able to create a generic solution at least for FireFox, but having it available ion any or one browser could be very helpful in some
It only works with elements that have a populated ID attribute. TW does not use IDs and I don’t ever imagine that changing – it’s not the “TW way” of doing things.
A custom solution could use JavaScript to give the element of choice an ID. But if that element is frequently refreshed, expect the CSS element() to repaint often – which itself might be a performance issue. Hard to say for sure without experimentation.
My take: Do nothing right now. Wait for #1 and #2 to be completed. Only then would I consider addressing #3 with a JS solution.
But surely all we have to do is find the right tiddler and add an ID to a div or span?
If it works well that is a trivial update for a particularly effective solution.
Nor is popup peviews and navigators part of TiddlyWiki so I believe it would be fine to use these for particular case, especially when it’s part of the page template (eg story/TOC) and not individual tiddlers.