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

Default CSS?

39 views
Skip to first unread message

David E. Ross

unread,
Jun 23, 2017, 4:04:26 PM6/23/17
to
I have links to two Mozilla Web pages that provided information about
the default values of CSS properties as implemented in Gecko. The
linked Web pages showed what values would be used in a Web page rendered
by a Mozilla-based browser if that Web page had no CSS. I had not
visited those links in quite a long time, and they are now 404.

Does Mozilla still have a Web page that shows the default values of CSS
properties?

L. David Baron

unread,
Jun 23, 2017, 6:12:48 PM6/23/17
to dev-pl...@lists.mozilla.org
The user-agent style sheets, if that's what you're talking about,
are primarily in the .css files in
https://searchfox.org/mozilla-central/source/layout/style/res , in
particular ua.css, html.css, forms.css, and (for quirks mode)
quirk.css. (There are also a few bits that are generated in code
based on user preferences.)

Or do you just want a table of the initial values of the properties?
One could certainly be extracted from
https://searchfox.org/mozilla-central/source/layout/style/test/property_database.js

-David

--
𝄞 L. David Baron http://dbaron.org/ 𝄂
𝄢 Mozilla https://www.mozilla.org/ 𝄂
Before I built a wall I'd ask to know
What I was walling in or walling out,
And to whom I was like to give offense.
- Robert Frost, Mending Wall (1914)
signature.asc

David E. Ross

unread,
Jun 23, 2017, 6:49:41 PM6/23/17
to
On 6/23/2017 3:12 PM, L. David Baron wrote:
> On Friday 2017-06-23 13:04 -0700, David E. Ross wrote:
>> I have links to two Mozilla Web pages that provided information about
>> the default values of CSS properties as implemented in Gecko. The
>> linked Web pages showed what values would be used in a Web page rendered
>> by a Mozilla-based browser if that Web page had no CSS. I had not
>> visited those links in quite a long time, and they are now 404.
>>
>> Does Mozilla still have a Web page that shows the default values of CSS
>> properties?
>
> The user-agent style sheets, if that's what you're talking about,
> are primarily in the .css files in
> https://searchfox.org/mozilla-central/source/layout/style/res , in
> particular ua.css, html.css, forms.css, and (for quirks mode)
> quirk.css. (There are also a few bits that are generated in code
> based on user preferences.)
>
> Or do you just want a table of the initial values of the properties?
> One could certainly be extracted from
> https://searchfox.org/mozilla-central/source/layout/style/test/property_database.js
>
> -David
>

Thank you. It was the ua.css and html.css files I sought.

--
David Ross

<http://www.rossde.com/>
President Trump now denies there are any tapes that
recorded his conversations with ex-FBI Director Comey.
Between when Trump hinted there might be such tapes
and his denial, there was sufficient time to destroy
any tapes.
0 new messages