in reply to Re: CSS parsing
in thread CSS parsing

WAG: Could that be for lack of the (NON_required) semicolon in the block? Aemi is not spec'ed for a single element block (nor for the last of multiple items in a block, IIRC) but (mere anecdotal assertion) I've found it wise to include to keep some browsers happy.

Replies are listed 'Best First'.
Re^3: CSS parsing
by ambrus (Abbot) on Jun 15, 2005 at 19:15 UTC

    No, I doubt that. It has nothing to do with the semicolon, I think the semicolon would even make matters worse.

    As far as I understand the code, the parsing works line by line. Each line is expected to be either a condition and an opening brace, or two strings separated by a colon, or a closing brace. If a line is more complicated than this, this simple code can't break it apart.