Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Default CSS

59 views
Skip to first unread message

David E. Ross

unread,
Aug 30, 2009, 3:38:35 PM8/30/09
to
Is there someplace I can see the CSS defaults that Gecko applies when my
style sheets don't specify some properties for an element or don't
specify any properties at all for an element? Please don't suggest that
I examine code. What I would really like to see is a default style sheet.

--
David E. Ross
<http://www.rossde.com/>

Go to Mozdev at <http://www.mozdev.org/> for quick access to
extensions for Firefox, Thunderbird, SeaMonkey, and other
Mozilla-related applications. You can access Mozdev much
more quickly than you can Mozilla Add-Ons.

L. David Baron

unread,
Aug 30, 2009, 4:09:59 PM8/30/09
to David E. Ross, dev-te...@lists.mozilla.org
On Sunday 2009-08-30 12:38 -0700, David E. Ross wrote:
> Is there someplace I can see the CSS defaults that Gecko applies when my
> style sheets don't specify some properties for an element or don't
> specify any properties at all for an element? Please don't suggest that
> I examine code. What I would really like to see is a default style sheet.

http://mxr.mozilla.org/mozilla-central/source/layout/style/ua.css
http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css
http://mxr.mozilla.org/mozilla-central/source/layout/style/forms.css
http://mxr.mozilla.org/mozilla-central/source/layout/style/quirk.css (quirks mode only)
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/xul.css

-David

--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/

us...@domain.invalid

unread,
Oct 14, 2009, 8:13:08 PM10/14/09
to
L. David Baron wrote:
> On Sunday 2009-08-30 12:38 -0700, David E. Ross wrote:
>> Is there someplace I can see the CSS defaults that Gecko applies when my
>> style sheets don't specify some properties for an element or don't
>> specify any properties at all for an element? Please don't suggest that
>> I examine code. What I would really like to see is a default style sheet.
>
> http://mxr.mozilla.org/mozilla-central/source/layout/style/ua.css
> http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css
> http://mxr.mozilla.org/mozilla-central/source/layout/style/forms.css
> http://mxr.mozilla.org/mozilla-central/source/layout/style/quirk.css (quirks mode only)
> http://mxr.mozilla.org/mozilla-central/source/toolkit/content/xul.css
>
> -David
>
These style sheets are also in your Firefox directory!!! Plus a few
others ...

-Rick

0 new messages