chumducky (chumducky) wrote in mozilla,

Mozilla bug? Fedora bug? Or PEBKAC?

The following was observed under Firefox 3.5.8, Fedora Core Linux. While coding a form, I created the following attached CSS rule:

<style type="text/css">
p.explain textarea,input,select { margin-left:6em; }
</style>

applied against the following (name= is obfuscated):

<p class="explain">(text here)<br/>
<input type="text" value="" name="sb" /></p>
<p class="explain">(text here)<br/>
<select name="mya">
<option value="1">Fake</option>
</select>
</p>
<p class="explain">(text here)<br/>
<textarea style="width: 50%;" name="orca"></textarea>
</p>

The result should have been textarea, input, and select elements indented by 6em.

Instead only input and select were indented. When I changed the rule to:

p.explain  input,select,textarea

only select and textarea were indented.

It seems that no matter the tag order, the first comma 'd term is not indented.

Questions:
Am I just blind? Missing a CSS rule? Not seeing an obvious PEBKAC?

OR
Is this a Mozilla.org grade bug (I suck at searching Bugzilla), which should be filed with them,  or something I should report to the Fedora project and let them push it upstream? Or pull a fix downstream for that matter?
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 5 comments

muerte

March 9 2010, 18:57:55 UTC 4 years ago

I have Firefox 3.6 and it works just like you want it to:

http://jsbin.com/afomo3

muerte

March 9 2010, 18:59:43 UTC 4 years ago

I just tested on 3.5.8 also, and it's correct.

chumducky

March 10 2010, 00:23:36 UTC 4 years ago

3.5.8 running under Fedora Core?

muerte

March 10 2010, 00:24:22 UTC 4 years ago

I tested 3.6 under Fedora 12, and 3.5.8 on XP.

chumducky

March 10 2010, 01:18:43 UTC 4 years ago

Well, likely its a bug in F11 then, since I cannot upgrade quickly (damned bandwidth caps). I should see whether I can still file a report... thanks.