Closed Bug 23765 Opened 25 years ago Closed 25 years ago

In the Browser, first file in a directory is not properly ordered

Categories

(Core :: DOM: HTML Parser, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: chrispetersen, Assigned: harishd)

References

()

Details

Attachments

(1 file)

Build: apprunner
Version 2000011208
Platforms: All
Expected Results: The first file or folder in a directory should be displayed
below the parent directory.
What I got: The file or folder are displayed on the same line as the parent
directory.

Steps to reproduce:

1) Type a url in the browser that shows the contents of a directory.
2) Notice the first file in directory is displayed next to parent instead of
below it.
Attached image Screen shot of problem
Assignee: troy → rickg
Component: Layout → Parser
I see the problem, but it isn't a layout problem. There is no '\n' in the
content model after "Parent Directory"

Here's a dump of the content model that shows the content model doesn't
have a '\n'. Looking at view source it looks like there is a newline in
the file.

Changing component to parser.

html@020658EC refcount=3<
  head@01FB8CAC refcount=2<
    title@0201FA7C refcount=2<
      Text@0201FA00 refcount=2<Index of /projects/marvin/simple/>
    >
  >
  Text@0201F8F0 refcount=3<\n\n  \n  \n                                        >

  body@0201BCEC refcount=3<
    h1@0202829C refcount=3<
      Text@02028220 refcount=3<Index of /projects/marvin/simple/>
    >
    pre@0202A7CC refcount=3<
      img@0202A6F0 src=/mc-icons/blank.gif alt=      refcount=3<>
      Text@0203CA40 refcount=3<Name                   Last modified     Size  De
scription\n>
      hr@0203B96C refcount=3<>
      a@0203B8EC href=/projects/marvin/ name=/projects/marvin/ refcount=3<
        img@0204AC80 src=/mc-icons/back.gif alt=[DIR] border=0 refcount=3<>
        Text@0204A7E0 refcount=3<Parent Directory>
      >
      a@0204A6EC href=images/ name=images/ refcount=3<
        img@0204A3C0 src=/mc-icons/menu.gif alt=[DIR] border=0 refcount=3<>
        Text@02048FB0 refcount=3<images/>
      >
      Text@02048F00 refcount=3<05-Jan-00 16:05     1K  \n>
      a@02048E8C href=label_img.html name=label_img.html refcount=3<
        img@02048B20 src=/mc-icons/text.gif alt=[TXT] border=0 refcount=3<>
        Text@02048760 refcount=3<label_img.html>
      >
      Text@02048670 refcount=3<05-Jan-00 16:12     1K  \n>
      a@020485FC href=label_object.html name=label_object.html refcount=3<
        img@02048290 src=/mc-icons/text.gif alt=[TXT] border=0 refcount=3<>
        Text@0204BEB0 refcount=3<label_object.html>
      >
      Text@0204BD50 refcount=3<05-Jan-00 16:12     1K  \n>
      a@0204BCDC href=select_optgroup_nosize.html name=select_optgroup_nosize.ht
ml refcount=3<
        img@0204B970 src=/mc-icons/text.gif alt=[TXT] border=0 refcount=3<>
        Text@0204B5B0 refcount=3<select_optgroup_nosiz+>
      >
      Text@0204B4B0 refcount=3<10-Jan-00 10:37     1K  \n>
    >
  >
>
Assignee: rickg → harishd
Target Milestone: M14
One for you.
Priority: P3 → P2
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
FIXED. Newline was not getting into the misplaced deque.
Fixed in the Jan 18th build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: