MozillaZine

A million little questions

Discuss application theming and theme development.
mcdavis

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

Post Posted September 9th, 2010, 10:45 pm

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

mcdavis

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

Post Posted September 12th, 2010, 12:08 pm

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

mcdavis

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

Post Posted September 12th, 2010, 12:46 pm

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

mcdavis

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

Post Posted September 17th, 2010, 1:20 am

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

mcdavis

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

Post Posted September 20th, 2010, 11:55 am

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

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted September 22nd, 2010, 12:15 pm

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/

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted September 24th, 2010, 12:03 pm

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

mcdavis

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

Post Posted September 28th, 2010, 1:37 pm

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

mcdavis

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

Post Posted September 28th, 2010, 1:38 pm

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

mcdavis

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

Post Posted October 6th, 2010, 8:58 pm

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

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted October 6th, 2010, 9:12 pm

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/

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted October 6th, 2010, 9:44 pm

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

mcdavis

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

Post Posted October 6th, 2010, 10:36 pm

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

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted October 7th, 2010, 1:00 am

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/

mcdavis

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

Post Posted December 3rd, 2010, 2:48 pm

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

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 1 guest