• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4294: TablePlugin: put all css styling in head

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TablePlugin Enhancement Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The current code and generated html is a kludge of table markup and local css styling. I want to clean this up: cleaner code is better maintainable.

-- TWiki:Main/ArthurClemens - 24 Jun 2007

In the new version the inline css markup has been moved to the head. The markup is still only being generated with custom TABLE{} attributes, otherwise the html markup is used.

-- TWiki:Main/ArthurClemens - 24 Jun 2007

Wouldn't it be great if plain HTML tables would also be enhanced automagically by the CSS used by TablePlugin if it is installed and activated?

  • That would be possible, but sometimes tables are used for markup (yes, bad), for instance in the top bar, and they would be transformed as well. This needs a bit more thought. But you are welcome to brainstorm. -- TWiki:Main.ArthurClemens - 25 Jun 2007
    • Hm, thinking about it, I guess it would be enough if only those HTML <table> elements got enhanced that have a %TABLE{}% entry immediately before them. Thus it would be possible to have best of both worlds. This is feature creep for AFTER 4.2. wink -- TWiki:Main.FranzJosefGigler - 25 Jun 2007

-- TWiki:Main.FranzJosefGigler - 25 Jun 2007

Arthur, was this necessary: Item4300.

-- TWiki:Main.MichaelDaum - 25 Jun 2007

There is a bug, agreed. (solved) But it becomes easier now to code the styling. It has caused me to fix the cellpadding equivalent that was not there before.

-- TWiki:Main.ArthurClemens - 25 Jun 2007

I've updated the unit test.

-- TWiki:Main.ArthurClemens - 25 Jun 2007

... and tests now pass as well.

-- TWiki:Main.ArthurClemens - 27 Jun 2007

This introduced Item4335.

-- TWiki:Main.MichaelDaum - 06 Jul 2007

Edit | Attach | Watch | Print version | History: r23 < r22 < r21 < r20 < r19 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r23 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback