Closed
Bug 4324
Opened 26 years ago
Closed 26 years ago
{list} Reading <OL type=A> reports "upper-alpha", not "A"
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: jcarpenter0524, Assigned: buster)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Build 3/25/99
- Use the HTML below (modified to fit this text area)
- Notice that the type for circle is "circle" but that the type for upper-alpha
is "A". I believe it should be "upper-alpha" as it is when used with
<OL type=A>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>test</TITLE>
<SCRIPT TYPE="text/javascript" SRC="../testlib.js"></SCRIPT>
</HEAD>
<BODY>
<OL>
<LI type=A>first list item
</OL>
<UL>
<LI type=circle>first list item
</UL>
<SCRIPT TYPE="text/javascript">
var oList=document.firstChild.childNodes.item(1);
var oList1=oList.childNodes.item(1).childNodes.item(1);
document.writeln(oList1.type);
var oList2=document.firstChild.childNodes.item(1);
var oList3=oList2.childNodes.item(3).childNodes.item(1);
document.writeln(oList3.type);
</SCRIPT>
</BODY>
</HTML>
Reporter | ||
Updated•26 years ago
|
QA Contact: 4015 → 3847
Reporter | ||
Comment 1•26 years ago
|
||
oops. use this ammended HTML code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>test</TITLE>
</HEAD>
<BODY>
<OL>
<LI type=A>first list item
</OL>
<UL>
<LI type=circle>first list item
</UL>
<SCRIPT TYPE="text/javascript">
var oList=document.firstChild.childNodes.item(1);
var oList1=oList.childNodes.item(1).childNodes.item(1);
document.writeln(oList1.type);
var oList2=document.firstChild.childNodes.item(1);
var oList3=oList2.childNodes.item(3).childNodes.item(1);
document.writeln(oList3.type);
</SCRIPT>
</BODY>
</HTML>
Updated•26 years ago
|
Assignee: beppe → kipp
Reporter | ||
Comment 2•26 years ago
|
||
this goes for upper-alpha, lower-alpha, upper-roman, lower-roman, & arabic
numbers which should be "decimal"
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Since the content attribute has "A" thats what the DOM should return (after
discussing the issue with vidur). If you disagree, take it up with him.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Updated•26 years ago
|
Resolution: INVALID → ---
Reporter | ||
Comment 4•26 years ago
|
||
Since this:
<OL type=A>
<LI>first list item
<LI>second list item
<LI>third list item
<LI>fourth list item
</OL>
returns "upper-alpha", I assume that this:
<OL>
<LI type=A>first list item
</OL>
should too for consistencies sake.
Reporter | ||
Comment 5•26 years ago
|
||
reassigning to vidur for comment.
Reporter | ||
Updated•26 years ago
|
Assignee: kipp → vidur
Status: REOPENED → NEW
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M6 → M8
Comment 6•26 years ago
|
||
Yeah, we should have consistency. I think preserving the original attribute
value is the right thing to do.
Reporter | ||
Updated•26 years ago
|
Assignee: vidur → kipp
Status: ASSIGNED → NEW
Reporter | ||
Comment 7•26 years ago
|
||
assigning back to kipp.
Updated•26 years ago
|
Summary: Reading <LI type=A> reports "A" as the type instead of "upper-alpha" → Reading <OL type=A> reports "upper-alpha" as the type instead of "A"
Target Milestone: M8 → M15
Comment 8•26 years ago
|
||
[Kipp is on sabbatical. Marking M15. Fixing summary.]
Updated•26 years ago
|
Summary: Reading <OL type=A> reports "upper-alpha" as the type instead of "A" → {list} Reading <OL type=A> reports "upper-alpha", not "A"
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 10•26 years ago
|
||
Fixed. We need preserve the original attribute type and can therefore map it
back to text properly for javascript or for writing out the content.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 11•26 years ago
|
||
Verified!
Build 1999-07-01-08-M8
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•