[Bug 15100] Right-aligning a numeric table column is much more work than it should be

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15100

--- Comment #9 from Brian Lalonde <brian@webcoder.info> 2011-12-08 16:54:40 UTC ---
(In reply to comment #7)
> If you mean that it may not be implemented everywhere, that's true but its
> implementation status is known/detectable and any new markup has a greater
> problem that it isn't implemented anywhere.

Fair point. However, if I'm going to display a list of financial transactions,
it seems reasonable to provide semantic clues to the renderer that the
transaction  description and amount columns are of fundamentally different
types, and have different rendering expectations.

Does MathML provide a way to render the description column left-aligned and the
amount column right-aligned? Even if it did, I've already got a pragmatic
(though suboptimal) solution that has a better reach (decorating each cell).

Honestly, I'd like to see a C printf-style (or .NET String.Format or XPath
format picture) format specifier supported by the col element (or at the CSS
level), so each table datum could be separated from the presentation entirely,
and provided in a more compact/direct way, though I doubt there's much appetite
for this. 

I'm guessing a simple semantic number cell element would have broad appeal,
though.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 8 December 2011 16:54:43 UTC