Closed
Bug 725977
Opened 13 years ago
Closed 13 years ago
Update table cellpadding / cellspacing to spec
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
5.27 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Currently, we call ParseSpecialIntValue ("rules for parsing dimension values" in the spec), and then pull out the percentage's value, and multiply it by 100 (for cellspacing only in quirks mode) to get the result we would already have got if we parsed the value as a simple integer.
It seems to make much more sense to just parse the value as the spec requires and remove all this hackery.
Attachment #596028 -
Flags: review?(bzbarsky)
![]() |
||
Comment 1•13 years ago
|
||
Comment on attachment 596028 [details] [diff] [review]
Patch v1
r=me
Attachment #596028 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Comment 3•13 years ago
|
||
In what way does this affect developers? I don't think it does.
Assignee | ||
Comment 4•13 years ago
|
||
This made us interpret cellspacing=10% as 10 pixels outside quirks mode (was ignored previously). There may be something on the quirks mode page to update?
Comment 5•13 years ago
|
||
OK, based on what I'm reading here and in bug 106336, it sounds like it behaves the same in both quirks and non-quirks now then?
Comment 6•13 years ago
|
||
Docs updated:
https://developer.mozilla.org/en/Mozilla_Quirks_Mode_Behavior#Tables
And mentioned on Firefox 13 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•