Closed
Bug 573322
Opened 15 years ago
Closed 15 years ago
Align td@align with HTML5
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b3
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
()
Details
(Keywords: html5)
Attachments
(1 file, 2 obsolete files)
7.27 KB,
patch
|
Details | Diff | Splinter Review |
HTML5 expects us to support left, right, justify, center and middle for align on td, th, tr, col, thead, tbody and tfoot, both in no quirks and quirks mode. Patch upcoming.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #452534 -
Flags: review?(jonas)
Comment 2•15 years ago
|
||
So no more absmiddle? Is that not supported by other UAs?
Assignee | ||
Comment 3•15 years ago
|
||
Actually, absmiddle is hidden in the CSS block above the prose, where all the other values are defined.
Attachment #452534 -
Attachment is obsolete: true
Attachment #452578 -
Flags: review?(bzbarsky)
Attachment #452534 -
Flags: review?(jonas)
Comment 4•15 years ago
|
||
I assume comment 3 is talking about the spec, not our code? Spec link, please?
Assignee | ||
Comment 5•15 years ago
|
||
Yeah. <http://www.whatwg.org/html/#alignment>, absmiddle is in the second CSS block, the other values are in the prose below.
Comment 6•15 years ago
|
||
OK. So why did the code use to have "center" twice in there, and why is it ok to no longer do that?
Assignee | ||
Comment 7•15 years ago
|
||
As can be seen at <http://software.hixie.ch/utilities/js/live-dom-viewer/saved/533>, getAttribute("align") currently returns "center" instead of "absmiddle", even though those values have different effects. I don't see the point in having the reverse mapping from text-align:center (rather than text-align:-moz-center) to "center".
Comment 8•15 years ago
|
||
Comment on attachment 452578 [details] [diff] [review]
Patch v2
r=bzbarsky. Sorry for the lag here.... Ask for approval?
Attachment #452578 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #452578 -
Flags: approval2.0?
Updated•15 years ago
|
blocking2.0: --- → betaN+
Updated•15 years ago
|
Attachment #452578 -
Flags: approval2.0?
Assignee | ||
Comment 9•15 years ago
|
||
Attachment #452578 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
You need to log in
before you can comment on or make changes to this bug.
Description
•