Closed Bug 530920 Opened 16 years ago Closed 16 years ago

Positioning Ignored on CSS :after Pseudo Class

Categories

(Camino Graveyard :: Page Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 238072

People

(Reporter: jfredson, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 Build Identifier: Camino Version 2.0 (1.9.0.15 2009102617) If I specify a new element on the page using a CSS :after pseudo-selector and then attempt to position it with the following CSS, Camino ignores the positioning attributes: element { position: relative; } element:after { content: '.'; position: absolute; bottom: 0; right: -5px; display: block; width: 5px; height: 18px; text-indent: -5000px; overflow: hidden; } Every other browser I've tested (FF3.5.5, Safari4, Chrome4, IE7) displays this element at the top of, and 5px to the right of it's parent element. Camino displays it at the left and immediately below the parent element. This also where the other browsers will display it if I remove the 3 positioning lines ('position', 'top' and 'left'), so it seems that Camino is just ignoring those attributes completely. Reproducible: Always
Oops, that last sentence should have specified 'right' instead of 'left' when indicating which 3 positioning lines I was removing to test.
Check Firefox 3.0.x; I bet this is a bug that's fixed on Gecko 1.9.1+ (Firefox 3.5.x) but not on 1.9.0 (Firefox 3.0.x, Camino 2.0.x). Unless philippe knows which bug and can dupe this somewhere meaningful, it's probably safe to mark this WORKSFORME. cl
Ahh, you are correct, FF 3.0.11 has the same issue. I didn't realize that Camino 2 and FF 3.5 were on different versions of Gecko, my apologies. Is there a version of Camino available with Gecko 1.9.1+?
(In reply to comment #3) > Ahh, you are correct, FF 3.0.11 has the same issue. I didn't realize that > Camino 2 and FF 3.5 were on different versions of Gecko, my apologies. No worries, glad to know it's what we suspected :) > Is there a version of Camino available with Gecko 1.9.1+? Not yet, but you -- or someone you know -- might be able to help us with that: http://caminobrowser.org/blog/2009/#helpmake
Very cool, I'll take a peak. Thanks again.
(In reply to comment #2) > Unless philippe knows which bug and can dupe this somewhere meaningful, it's > probably safe to mark this WORKSFORME. Sure… bug 238072.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.