Closed Bug 1771811 Opened 2 years ago Closed 2 years ago

[102 only] grid-template-rows: masonry; comm/mail/test/static/browser_parsable_css.js | Got error message for chrome://messenger/skin/aboutAddressBook.css: Error in parsing value for ‘grid-template-rows’. Declaration dropped. -

Categories

(Thunderbird :: Address Book, defect, P5)

Thunderbird 102

Tracking

(thunderbird_esr91 unaffected, thunderbird102 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird102 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rjl)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Filed by: thunderbird [at] calypsoblue.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=379673029&repo=comm-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/I4ElNSS4RgSpzisZ3M2C0g/runs/0/artifacts/public/logs/live_backing.log


`grid-template-rows` does not support `masonry` except on Nightly. Also seen in `vcard-edit.css`.

This is blocking 102.0b1.

Version: unspecified → Thunderbird 102

The new Addressbook UI uses masonry layout in the grid. It needs to
be activated by pref in order to be available.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Target Milestone: --- → 103 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/32d16ea55d46
Enable "masonry" grid layout. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9278855 [details]
Bug 1771811 - Enable "masonry" grid layout. r=#thunderbird-reviewers

[Triage Comment]
Approved for 102.0beta1

Attachment #9278855 - Flags: approval-comm-beta+

Manipulating the featuregate preference directly like this causes a perma-fail with the featuregate tests.

https://treeherder.mozilla.org/logviewer?job_id=379773623&repo=comm-beta&lineNumber=4464

WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/featuregates/test/unit/test_FeatureGate.js | testAllDefaultsMatchSettings - [testAllDefaultsMatchSettings : 439] Feature layout.css.grid-template-masonry-value.enabled should match runtime value. - false == true

We can try to target the feature so that it's always enabled for Thunderbird. A targetting fact needs to be added here and then the feature config updated here.

For the targeting fact: ["thunderbird", AppConstants.MOZ_APP_NAME === "thunderbird"] should work, then default-value for css-masonry would become {default = false, nightly = true, thunderbird = true}.

We'd have to move on this pretty quickly to get the change in while 102 is in beta. Are there any alternatives?

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

If possible we should definitely pursue this.
I'm not sure I'm missing something but I don't see any potential issue in enabling a masonry layout for our content.
Especially the new address book UI, which is modular and extremely prone to drastic data alteration (not every contact will have/need the same layout), will benefit greatly from this and another UI approach wouldn't work as well.

Jared -- I'm not sure if you're the right person to ask for input. Given that we want css-masonry enabled for Thunderbird 102, is the approach described in comment 6 going to work out?

Flags: needinfo?(jaws)
Blocks: tb102found
Summary: Intermittent comm/mail/test/static/browser_parsable_css.js | Got error message for chrome://messenger/skin/aboutAddressBook.css: Error in parsing value for ‘grid-template-rows’. Declaration dropped. - → [102 only] grid-template-rows: masonry; comm/mail/test/static/browser_parsable_css.js | Got error message for chrome://messenger/skin/aboutAddressBook.css: Error in parsing value for ‘grid-template-rows’. Declaration dropped. -

If bug 1772945 changes are accepted and uplifted, this will go away.

Depends on: 1772945
Flags: needinfo?(jaws)

bug 1772945 landed

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: