Closed Bug 383158 Opened 17 years ago Closed 14 years ago

:before and :after positioniong doesn't obey CSS2.1 rules

Categories

(Core :: Layout, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 238072

People

(Reporter: netrolller.3d, Unassigned)

References

()

Details

The pseudoelements :before and :after are supported by Mozilla, but they aren't positioned correctly. This is because these pseudoelements were implemented before CSS2.1 was created, and an error in the original CSS2 spec that was corrected in CSS2.1 wasn't corrected in Mozilla. This makes the :before-:after border mentioned in the URL messed up, and requires cluttering of the page code to fix.

Steps to reproduce:
Go to URL.

Actual results:
A big mess if display:block and a few other things aren't set.

Expected results:
A nice border.
Flags: blocking1.9?
Do you mean that they don't obey 'position', 'float', and some values of 'display'?  If so, this is a duplicate.
If that's the cause of the errors on that page, then yes, although I couldn't find any dupes.
Flags: blocking1.9? → blocking1.9-
I think this one also affects Acid3
No longer happening in Firefox 3.5+.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.