Closed Bug 725977 Opened 13 years ago Closed 13 years ago

Update table cellpadding / cellspacing to spec

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Attached patch Patch v1Splinter 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 on attachment 596028 [details] [diff] [review] Patch v1 r=me
Attachment #596028 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
In what way does this affect developers? I don't think it does.
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?
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?
Docs updated: https://developer.mozilla.org/en/Mozilla_Quirks_Mode_Behavior#Tables And mentioned on Firefox 13 for developers.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: