Update outdated CSS guidelines
Categories
(Developer Infrastructure :: Source Documentation, task)
Tracking
(Not tracked)
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(2 external files, 3 obsolete files)
Several sections of docs/code-quality/coding-style/css_guidelines.md no longer match the tree:
- Both media query sections use
-moz-mac-yosemite-theme, which Gecko no longer supports. - "Writing cross-platform CSS" lists Windows 7/8, Aero basic and Windows classic.
- "Layout" is about XUL flexbox, which is gone.
- "Content CSS vs. Theme CSS" describes a split between functional and visual styles that the tree no longer follows. Most stylesheets under
content/are theme stylesheets kept next to their component, sometimes so that a team can own them, since#desktop-theme-reviewers-rotationis only blocking underthemes/. - "Adding new variables" suggests preprocessor variables, which no CSS in
browser/ortoolkit/uses; "Use the variable according to its naming" uses a variable that no longer exists; "File structure" mentions SeaMonkey. - "Formatting" describes what Prettier already does, and one rule contradicts Prettier. Other rules are enforced by stylelint (
length-zero-no-unit) or thelicenselinter without saying so, while the advice on logical properties and!importantis only linted in newtab and asrouter.
Update or remove these sections, and point to the linters and the formatter where they enforce a rule.
| Assignee | ||
Comment 1•17 days ago
|
||
Updated•17 days ago
|
| Assignee | ||
Comment 2•17 days ago
|
||
| Assignee | ||
Updated•17 days ago
|
Updated•17 days ago
|
| Assignee | ||
Updated•16 days ago
|
Comment 4•16 days ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•15 days ago
|
||
| Assignee | ||
Comment 6•13 days ago
|
||
Alternative to D344685: an experiment to see in production whether Review Helper opens the subject skills that desktop-theme routes to. Review Helper reads files by repository path and has no notion of a skill name.
Updated•13 days ago
|
Comment 7•13 days ago
|
||
Comment on attachment 9688272 [details]
Bug 2095051 - Load only the desktop-theme routing skill when reviewing theme and design-token files, and give the paths of the skills it routes to. r?#ai4dev-reviewers DONTBUILD
Revision D345147 was moved to bug 2090683. Setting attachment 9688272 [details] to obsolete.
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
Comment 8•11 days ago
|
||
Comment on attachment 9687368 [details]
WIP: Bug 2095051 - Load the CSS guidelines and the system color pairs reference when reviewing theme and design-token files. r?#ai4dev-reviewers DONTBUILD
Revision D344685 was moved to bug 2090683. Setting attachment 9687368 [details] to obsolete.
| Assignee | ||
Comment 9•11 days ago
|
||
Comment 10•11 days ago
|
||
Comment 11•10 days ago
|
||
| bugherder | ||
Comment 12•10 days ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Description
•