A million little questions

Discuss application theming and theme development.
Post Reply
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

A million little questions

Post by mcdavis »

Does anyone recognize .tab-close-button-placeholder? I have a rule for it but don't remember why. I would have guessed it was a leftover from Fx2, but none of the MXR searches I tried show anything significant.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Worth noting, per Dao in bug 589139 - Keyboard short-cuts missing from Firefox button menu items

> :-moz-any at the end of a selector isn't optimized and
> going to be extra inefficient.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

When used in the context of TabCandy code, what does iQ stand for? (e.g. iq.js)
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

I'm testing crashed plug-in UI after box-shadow and text-shadow changes. On the link in "Reload the page to try again", I see a rule from source about:PreferenceStyleSheet. Any idea what that's about? I don't recognize that about: name.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

What is "IME" about? It seems related to handling multiple languages/locales. Does it show up in the Firefox UI? Do theme authors need to know about this?
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

mcdavis wrote:Does anyone recognize .tab-close-button-placeholder? I have a rule for it but don't remember why. I would have guessed it was a leftover from Fx2, but none of the MXR searches I tried show anything significant.


Never seen it. Maybe it was a blank space that appeared when the close button is placed at the end in a pre-3.0 version?

mcdavis wrote:> :-moz-any at the end of a selector isn't optimized and
> going to be extra inefficient.


That's an interesting little selector. I guess it's inefficient because it scans the whole DOM searching for those pieces?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: A million little questions

Post by Philip Chee »

mcdavis wrote:What is "IME" about? It seems related to handling multiple languages/locales. Does it show up in the Firefox UI? Do theme authors need to know about this?

Input Method Editor

Allows you to easily enter e.g. Kanji/Hanzi/Hanya and other funny scripts into an application e.g a word processor or a web browser using a U.S. English keyboard.

Phil
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Hey Patrick:

About what you said that I now can't find.

What you said is exactly what I've been thinking. It's about being helpful. I agree 100%. Well said.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Philip Chee wrote:
mcdavis wrote:What is "IME" about? It seems related to handling multiple languages/locales. Does it show up in the Firefox UI? Do theme authors need to know about this?

Input Method Editor

Allows you to easily enter e.g. Kanji/Hanzi/Hanya and other funny scripts into an application e.g a word processor or a web browser using a U.S. English keyboard.

Phil


Thanks, Phil!

So it looks like this is something handled by the OS and not by Firefox, so no theme impact.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Does anybody know what -moz-use-system-font is about? Not documented on MDC that I could find.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

Where did you find it?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: A million little questions

Post by Philip Chee »

mcdavis wrote:Does anybody know what -moz-use-system-font is about? Not documented on MDC that I could find.

Bug 377947 - redesign handling of system fonts in style system
Phil
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

patrickjdempsey wrote:Where did you find it?


I'm looking at some Linux-specific bugs with NNL and one of them is a problem with the font used for several about: pages (e.g. about:neterror). The font being used doesn't seem to be what I said to use.

My global/netError.css specifies

body {
font-family: arial, message-box;
}

which is fine on Windows but not on Ubuntu 9.04. With Ubuntu, it seems to result in some variable-spaced serif.

Arial doesn't exist on this Ubuntu (can be installed with a separate package, but isn't there in the stock Ubuntu install), but I was expecting it to roll over to use message-box and pick up the system font that way. However, the system font is a sans-serif, but I'm seeing serif, so that's not happening either.

Looking at computed style in DOMi, with NNL it shows the expected font-family:arial,message-box. Looking at the same about:neterror with the default theme, it shows computed style font-family: -moz-use-system-font. (To answer your question, that's where I saw it.) I don't yet see how to tell which actual font that corresponds to.

Gnomestripe CSS doesn't directly apply -moz-use-system-font. Bug 377947 makes it seem like you can but aren't expected to. Gnomestripe CSS does use message-box.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

Maybe it would be a good idea to use font-family:sans-serif as a backup instead of message-box? I'm pretty sure message-box and menu are the only two fonts I ran into in the default theme for Windows.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

mcdavis wrote:
patrickjdempsey wrote:Where did you find it?


I'm looking at some Linux-specific bugs with NNL and one of them is a problem with the font used for several about: pages (e.g. about:neterror). The font being used doesn't seem to be what I said to use.


Fixed for free by upgrading to Ubuntu 10.04. Always my favorite kind of fix. :D --> WORKSFORME
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
Post Reply