CSS Bugs in Netscape Navigator 4.05 for Windows

Last Tested: 1998 July 15.

This list of bugs has not yet been updated to include those bugs uncovered by the new version of the CSS Test Suite, released 1998 December 17. The additions to the test suite are significant, and will include many new bug reports.

Bugs from CSS Test Suite

The list that follows is a list of bugs in the browser, that is, what is described is in error. I have also included a few partially supported features as bugs.

Styles applied to an <LI> only apply to the bullet.
Netscape failed both @import rules to import stylesheets.
Attributes of BODY have no effect inside a TABLE.
1.5, 3.2
ID selectors do not work in combination with HTML selectors such as P and LI. That is, P#two { ... } has no effect on a <P id="two">. They may not work in combination with anything else, but they do work on their own.
1.6, 3.2
UL LI LI selector fails.
medium is not defined as the default font-size.
The line-height is too big in the P.four.
The background for a block-level element does not cover the whole block. This is particularly problematic when the height of the inline elements within varies. Additionally, making a SPAN: transparent causes the backgound of the page to show through rather than the backgoround of the P.
The text gets so messed up on this page when I scroll that it becomes illegible. This is because when a paragraph has only one or none of repeat-x or repeat-y, the parts of the block that should have transparent background are given no background at all, i.e., whatever text (or other program, for window switching) that was there before stays. (Although the first time the page is loaded, that is, with reload or when first loaded, without scrolling, they come up with the default document background rather than the one inherited from BODY.)
Workaround: As is done in section 5.3.7, provide a background-color for the paragraph as well.
5.3.5, 5.3.7
background-attachment: fixed is not supported.
5.3.6, 5.3.7
background-position is not supported. I note (for the sake of the developers, if they read this) that if it becomes supported, repeat-x and repeat-y must tile in both directions.
overline is not supported. Also, underlining does not stay the same color throughout the P.
Vertical-align is not supported, at least on SPAN.
text-align: justify fails within a TABLE.
line-height should be added equally above and below the lines.
5.5.01, 5.5.03, 5.5.06, 5.5.08, 5.5.10
margin/padding-top/bottom given in percent is too big.
5.5.02, 5.5.07
The TABLE shrinks to the inside of the right-padding or right-margin of its widest element.
bottom-margin is assigned too small a value (or 0) from the margin shorthand property. Also, width: auto does not center the block.
5.5.06, 5.5.07, 5.5.08, 5.5.09, 5.5.10
Padding does not receive the background color of the element.
5.5.11, 5.5.12, 5.5.13, 5.5.14, 5.5.15, 5.5.16,
Initial values should be border-style: none and border-width: medium. Therefore, when border-style is set to solid, there should be a border around all sides, but when border width is changed no border should be created. Hovewer, this almost works for the border: shorthand style (see 5.5.22).
Text below sometimes (1 of 2 ways) does not move to adjust for the width of border-bottom.
Multiple border styles (different sides) are not supported and result in the use of the border style from the previous paragraph.
Border-width causes padding for the border: property even when border-style is none.
5.5.23, 5.5.24
Image resizing using width does not work.
5.5.25, 5.5.26
5.5.25 float
There is more wrong with this page than I care to explain. Netscape has text behing the images, puts negative margins on the other end of the page, moves paragraphs to odd places, etc.
The only parts of the display: tag that does anything are display: none, which works, and display: block, which causes a new line before but not after. inline and list-item do nothing.
URLs are interpreted relative to document instead of stylesheet.

Unsupported Features

Alternate Stylesheets
Pseudoclasses :link, :visited, and :active
2.3, 2.4
Pseudoclasses :first-line and :first-letter
!important is unsupported. This would be a more serious problem if NS supported user style sheets.
cursive and fantasy fonts are not distinguished from serif and sans-serif, respectively.
5.2.3, 5.2.4
oblique and small-caps fonts are not distinguished from roman
bolder and lighter both set font-weight: to normal.
5.4.1, 5.4.2
word-spacing and letter-spacing are not supported.
border-style: dashed and border-style: dotted
5.5.18, 5.5.19, 5.5.20, 5.5.21
border-top, border-bottom, border-right, and border-left
white-space: nowrap

Other Bugs

Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org