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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: jcarpenter0524, Assigned: vidur)
Details
(Keywords: dom1, Whiteboard: [nsbeta2-])
Attachments
(1 file)
|
1.13 KB,
text/html
|
Details |
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)
| Reporter | ||
Comment 1•26 years ago
|
||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Comment 5•26 years ago
|
||
Why is this beta2, this is IMO nowhere close to a beta2 blocker?
Updated•26 years ago
|
Whiteboard: [nsbeta2+] → [nsbeta2+] (why beta2?)
| Reporter | ||
Comment 6•26 years ago
|
||
This was nominated for nsbeta2 because "align" is a high profile attribute that
doesn't work per the spec for several elements.
| Assignee | ||
Comment 8•26 years ago
|
||
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?)
Comment 10•26 years ago
|
||
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
| Assignee | ||
Comment 12•25 years ago
|
||
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
Comment 14•25 years ago
|
||
still see the same problem ...
Setting align=bottom sets .align to "baseline"
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•24 years ago
|
||
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".
Comment 16•22 years ago
|
||
Re-marking invalid.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 22 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•