I noticed the -moz-* styles appear on rules which uses shorthand
properties with "incomplete" values.
For instance, this is a shorthand property with a complete value:
background: white url('something.png") no-repeat 0 0; (shorthand of
background-image, background-color, etc)
Firefox don't add -moz-* style to it or anything.
However, if the value is incomplete (but still valid regarding CSS spec):
background: url('something.png");
Firefox will add default sub-values and other -moz-* values.
Same thing for font: or border: and other shorthands.
Nicolas
Luke Maurer wrote:
> Could you zip up a test case and post it somewhere (maybe a bug
> report)? I've seen this phenomenon, too. Seems Gecko needs to add
> styles for its own purposes for some reason (sorta like if you load an
> HTML fragment, the DOM winds up with html, head, and body tags even
> though they're not there). I think some concrete data would clarify
> what's going on.
>
> (And you're right, those funny -moz styles get attributed to user
> stylesheets in which they don't actually appear.)
>
> - Luke
>
> On Jul 20, 12:35 am, Murray <[email protected]> wrote:
>
>> That's a dead end.
>>
>> I might just go back to Firefox 3 + Firebug 1.3.3 where this problem
>> doesn't occur.
>>
>> Thanks,
>> Murray.
>>
>> On Jul 20, 1:35 pm, johnjbarton <[email protected]> wrote:
>>
>>
>>> The User Agent CSS is on User Agent style sheets. So if Firefox is
>>> indeed adding, that's something Firebug just shows you.
>>> There is another kind of CSS, user style sheets , not user-agent.
>>> Maybe you can look into that.
>>> jjb
>>>
>>> On Jul 19, 9:41 pm, Murray <[email protected]> wrote:
>>>
>>>> The name of the file is slp.css, which is the stylesheet I'm working
>>>> with. The -moz styles do not exist in that stylesheet. I believe that
>>>> firefox is adding these styles on it's on and therefore it is User
>>>> Agent CSS.
>>>>
>>>> The stylesheet says:
>>>> .innerpage #content {
>>>> background: transparent none;
>>>>
>>>> }
>>>>
>>>> Murray.
>>>>
>>>> On Jul 20, 4:25 pm, johnjbarton <[email protected]> wrote:
>>>>
>>>>> On Jul 19, 9:13 pm, Murray <[email protected]> wrote:
>>>>>
>>>>>> My "Show User Agent CSS" option isn't checked.
>>>>>>
>>>>>> I guess John answered my question about why they're there... It's just
>>>>>> that they don't really add anything to my firebug experience. These
>>>>>> didn't show up back in 1.3.3
>>>>>>
>>>>> Nothing about this was changed in 1.4 as far as I know.
>>>>>
>>>>>> -moz-background-clip:border;
>>>>>> -moz-background-inline-policy:continuous;
>>>>>> -moz-background-origin:padding;
>>>>>> background:transparent none repeat scroll 0 0;
>>>>>>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---