Bug 11104
Summary: | CSS2/3: add support for string value for text-align property | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robert Burns <robburns1> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Enhancement | CC: | bfulgham, emacemac7, mitz, nickshanks, robburns1, webkit |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.w3.org/TR/css3-text/#text-align | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=11103 |
Robert Burns
CSS2 text-align property with a string value does not work. This was removed from CSS2.1 presumably because of a lack of adoption by user agents.
This porperty was intended to replace the horizontal alignment attributes and values for table related elements: align, char and charoff.
HTML 4.01 and XHTML 1.0 through 1.1 have a table attribute to horizontally align cells on a particular character. (see bug 11103 ) e.g.:
, <td align="char" char="." charoff="2">121.12</td>
CSS2 intended this presentational work to be hadneld by the text-align property: adding an arbitrary string as a value. For example:
td, th { text-align: "."; would accomplsih the same thing for the selected cells.
WebKit does not seem to support either the HTML method nor the CSS method for aligning horizontally aligning cells.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Robert Burns
See bug show_bug.cgi?id=11103 for the HTML alignment attributes.
Robert Blaut
CSS3 Text Module http://www.w3.org/TR/css3-text/#text-align also specifies "string" value for text-align property. I think the bug should be considered as an enhancement request.
Brent Fulgham
CSS3 Text Module no longer specifies a 'string' option. We do support all other items in the spec.