Closed Bug 1332832 Opened 8 years ago Closed 4 years ago

[intl.css] removal of the font settings from window rule

Categories

(Core :: Internationalization: Localization, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: tomer, Assigned: tomer)

References

()

Details

Attachments

(2 files)

Attached image Screenshot (deleted) —
Most locales contains window rule with default font deceleration in the intl.css. This rule is obsolete and seems to be replaced with another rule under global.css. I'd suggest considering removing the rule from all intl.css files. 

As an added-value, since this is the only rule in intl.css for most locales, removing this rule from all locales will make the file empty for all affected locales.

default en-us intl.css file:
>   window { 
>     font: 3mm tahoma,arial,helvetica,sans-serif;
>   }
source: https://dxr.mozilla.org/mozilla-central/rev/3cedab21a7e65e6a1c4c2294ecfb5502575a46e3/toolkit/locales/en-US/chrome/global/intl.css

global.css file:
>    window, page, dialog, wizard, prefwindow {
>      -moz-appearance: window;
>      background-color: -moz-Dialog;
>      color: -moz-DialogText;
>      font: message-box;
>    }
source: https://dxr.mozilla.org/mozilla-central/rev/3cedab21a7e65e6a1c4c2294ecfb5502575a46e3/toolkit/themes/linux/global/global.css#46-55
Triggered a try build, I want to see tests pass first.
Tomer, can you rebase your patch on top of a mozilla-central changeset so that try runs all builds successfully? The current one has only limited platform coverage due to another bug unrelated to this one.

It'd also help to see if there are other bugs in your queue this bug depends on.
Assignee: nobody → tomer.moz.bugs
Flags: needinfo?(tomer.moz.bugs)
Not happy with the results on https://treeherder.mozilla.org/#/jobs?repo=try&revision=9d982c70bc1e98911c744a8fd913d4f00bfd7f1a&group_state=expanded&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=running&filter-resultStatus=pending&filter-resultStatus=runnable&selectedJob=71977367.

Can you push to try once more with "try: -b o -p all -u all -t none" ? I don't think we need rebasing again, though, the base revision doesn't have the test failures we see on try.

My suspicion is that the test package isn't complete, and that breaks some of the tests.

Also, update the push to reviewboard with the rebased version?
(In reply to Axel Hecht [:Pike] from comment #5)
> Can you push to try once more with "try: -b o -p all -u all -t none" ? I
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b50e9c522bf395b46b801776cd3b9e38b1087499
Flags: needinfo?(tomer.moz.bugs)
Comment on attachment 8829099 [details]
Bug 1332832 - [intl.css] removal of the font settings from window rule

https://reviewboard.mozilla.org/r/106290/#review109630

try looks green (enough), r=me.
Attachment #8829099 - Flags: review?(l10n) → review+
(In reply to Axel Hecht [:Pike] from comment #8)
> Bug 1332832 - [intl.css] removal of the font settings from window rule
> try looks green (enough), r=me.

Do you think we should expand this to more locales? I've not noticed any side effects.
Yes, I think that's a good idea. Thanks for driving this.
Priority: -- → P5
Tomer, what are the next steps here? Do we need to still land the patch?
(In reply to Axel Hecht [:Pike] from comment #11)
> Tomer, what are the next steps here? Do we need to still land the patch?

I've executed a test build against this patch. I got few errors and unsure if it is okay. How do you suggest to proceed? 

https://treeherder.mozilla.org/#/jobs?repo=try&revision=46b3947097733b8654667b0cbea8dd462759981d&selectedJob=113052478
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: