IE 5/Mac Text Indent Bug

This paragraph should have text indenting on its first line of 5%. In this case, the percentage is a percentage of the width of the containing boxes. To test this, we need a bunch more text so that there are at least a couple of lines in the paragraph. What should we say? Gee, I don’t know. Maybe this will be enough. It is certainly worth trying.

The spec says that this paragraph should also have text indenting on its first line of 5%. In IE5.1x for the Mac, it does not have text indenting until you hover over that link at the beginning of the previous sentence. To test this, we need a bunch more text so that there are at least a couple of lines in the paragraph. What should we say? Gee, I don’t know. Maybe this will be enough. It is certainly worth trying. The hover styling on the link does not affect whether this bug happens or not.

The spec says that this paragraph should also have text indenting on its first line, but this paragraph has a class set so that its indenting is 5 ems, not 5%. As you can see, the link at the beginning of this paragraph does not destroy the indenting.

The spec also allows for a bunch of other units besides ems and percentages. This paragraph has its text indent specified in ex units. An ex unit is the height of a lower-case x in the font being used. Most browsers just fudge it by using a length one-half the total height of the text. Mac IE/5 makes an effort to get it right.

The spec says that this paragraph should also have text indenting on its first line, but this paragraph has a class set so that its indenting is 50 pixels, not 5%. As you can see, the link at the beginning of this paragraph does not destroy the indenting.

The spec says that this paragraph should also have text indenting on its first line, but this paragraph has a class set so that its indenting is 50 points, not 5%. As you can see, the link at the beginning of this paragraph does not destroy the indenting.

Thanks to Jeffrey Zeldman for pointing out this bug, and to Phil Parodayco for noting that it does not apply to version 5.0.

21 May 2002
CodeBitch (codebitch@macedition.com)
Back to MacEdition Guide to CSS bugs in IE 5/Mac