Closed
Bug 559834
Opened 15 years ago
Closed 15 years ago
Remove support for table@align=abscenter/absmiddle/middle
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b1
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(2 files, 2 obsolete files)
233 bytes,
text/html
|
Details | |
2.89 KB,
patch
|
Details | Diff | Splinter Review |
No other browser supports those values, and we only support them in quirks mode, so this should be fine to remove.
Attachment #439534 -
Flags: review?(Olli.Pettay)
Comment 1•15 years ago
|
||
I've used some of those values, so
I'm not 100% sure whether we should remove them.
Jonas, Boris, David, any comments?
Assignee | ||
Comment 2•15 years ago
|
||
I'm wondering, did you use them on table, or on tr/td/th?
![]() |
||
Comment 3•15 years ago
|
||
The current HTML5 draft seems to say that these attributes should in fact do something. See http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#alignment this part of the stylesheet:
table[align=center], table[align=abscenter],
table[align=absmiddle], table[align=middle] { /* case-insensitive */
margin-left: auto; margin-right: auto;
}
Are you sure no other browser supports these values? If so, how did they end up in HTML5?
Updated•15 years ago
|
Attachment #439534 -
Flags: review?(Olli.Pettay)
Comment 4•15 years ago
|
||
Comment on attachment 439534 [details] [diff] [review]
Patch v1
Based on http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#alignment clearing the review request.
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #3)
> The current HTML5 draft seems to say that these attributes should in fact do
> something. See
> http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#alignment
> this part of the stylesheet:
>
> table[align=center], table[align=abscenter],
> table[align=absmiddle], table[align=middle] { /* case-insensitive */
> margin-left: auto; margin-right: auto;
> }
>
> Are you sure no other browser supports these values?
Based on this testcase, Chrome, Opera and IE8 don't support them.
> If so, how did they end up in HTML5?
Not sure. I filed a bug to have them removed from HTML5, but Hixie didn't want to drop them before we did, and that's why I filed this bug.
<http://www.w3.org/Bugs/Public/show_bug.cgi?id=9442>
Assignee | ||
Comment 6•15 years ago
|
||
Patch didn't apply anymore...
Attachment #439534 -
Attachment is obsolete: true
Attachment #442147 -
Flags: review?(bzbarsky)
If we're the only ones that support them, then I say lets just nuke them. Should be easy to get the spec changed if the only browser that supports them has removed support on trunk. Hixie has in the past wanted browsers to take the first step and has then let the spec follow.
Yes, I'm definitely for removing these if no other browser supports them.
For what it's worth. I'm not sure it's worth having tests for *not* supporting a feature.
Comment 10•15 years ago
|
||
Comment on attachment 442147 [details] [diff] [review]
Patch v2 (merged to tip)
Stealing review from bz. And yeah, I'd say leave the tests out (in this rare case!).
Attachment #442147 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 11•15 years ago
|
||
Sure. Thanks for the review.
Attachment #442147 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 12•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•15 years ago
|
Target Milestone: mozilla1.9.3a5 → mozilla1.9.3a6
Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite-
Comment 13•13 years ago
|
||
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#tables
This is not yet removed from the spec
Assignee | ||
Comment 14•13 years ago
|
||
Thanks for the reminder, I've reopened the spec bug.
Assignee | ||
Comment 15•13 years ago
|
||
And it has been fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•