Closed Bug 36147 Opened 26 years ago Closed 22 years ago

Some DOM1 align attributes for INPUT are not being set correctly

Categories

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

defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: jcarpenter0524, Assigned: vidur)

Details

(Keywords: dom1, Whiteboard: [nsbeta2-])

Attachments

(1 file)

Overview Description: The align attribute has the following definition: align = bottom|middle|top|left|right Setting align=bottom sets .align to "baseline" Setting align=middle sets .align to "center" Leaving align unset should result in .align set to "bottom", however it is currently not set to anything. Setting align=center sets .align to "center" even though "center" should not be an option. I'm not sure what it should be set to, maybe "bottom" as that is the default. Steps to Reproduce: - see attached testcase Actual Results: align=bottom sets .align to "baseline" align=middle sets .align to "center" Leaving align unset doesn't set .align to anything Expected Results: align=bottom sets .align is set to "bottom" align=middle sets .align is set to "middle" Leaving align unset .align is set to "bottom" (The spec says the default is "bottom" so I am assuming that it should be set to this initially.) Build Date & Platform Bug Found: 2000-04-17-06-M15 Win98 Additional Builds and Platforms Tested On: 2000-04-17-06-M15 Mac 2000-04-17-06-M15 WinNT (Linux build not working now, will check later)
Attached file attaching testcase
changing qa contact
QA Contact: gerardok → janc
nominating for nsbeta2
Keywords: nsbeta2
[nsbeta2+]
Whiteboard: [nsbeta2+]
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Why is this beta2, this is IMO nowhere close to a beta2 blocker?
Whiteboard: [nsbeta2+] → [nsbeta2+] (why beta2?)
This was nominated for nsbeta2 because "align" is a high profile attribute that doesn't work per the spec for several elements.
Handing this one over to Vidur.
Assignee: jst → vidur
Status: ASSIGNED → NEW
The issue is not that they aren't being set correctly (they are handled correctly by layout), but that we are losing some information during the reverse mapping from the stored values to strings. We are not breaking compatibility with 4.x and existing scripts since this attribute wasn't part of DOM Level 0. I really believe that this is not nsbeta2 crucial and can even be Futured. I'm going to remove nsbeta2+ from the status whiteboard so that it can be reconsidered. I'd recommend making it a nsbeta2-.
Whiteboard: [nsbeta2+] (why beta2?)
Putting on [nsbeta2-] radar. Not critical to beta2.
Whiteboard: [nsbeta2-]
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M17 → Future
Keywords: dom1
QA contact Update
QA Contact: janc → desale
Normalizing obsolete or non-standard attribute values to their current standard equivalent as we are doing seems like a valid thing to do. Marking this bug INVALID.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
still see the same problem ... Setting align=bottom sets .align to "baseline"
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
sivakiran, could you explain why you reopened this? Vidur said "Normalizing obsolete or non-standard attribute values to their current standard equivalent as we are doing seems like a valid thing to do." This means that bottom becoming baseline is "expected".
Re-marking invalid.
Status: REOPENED → RESOLVED
Closed: 25 years ago22 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: