Opera Bug #DSK-289417

List bullets duplicated when first-child is a relatively positioned block

Fixed in Opera 12.0

While bug #250140 was technically fixed, it introduced an additional bug where list markers are duplicated. If the first-child of a list item is both relatively positioned and block-level, then not only will a list marker be placed to the left of the block, but a second list marker will appear to the left of the first line of statically positioned content.

Two lists follow, each item containing a block-level h4 header as the first-child. The first list shows the default style behaviour, while the CSS style position:relative; has been applied to the h4 tags in the second list. The bullets in the second list are duplicated on the first row of statically (default) positioned inline content.

  1. Title 1

    Each list item of this ordered list contains an h4 header positioned statically
  2. Title 2

    The number bullets appear in the correct top-left position
  3. Title 3

    There should be no number 3 to the left of this line

  1. Title 1

    Each list item of this ordered list contains an h4 header positioned relatively
  2. Title 2

    The number bullets are duplicated to the left of the first row of statically positioned inline content
  3. Title 3

    There should be no number 3 to the left of this line

Main Bug List