Update global-shared.css so it passes use-design-tokens
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Tracking
(firefox150 fixed)
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: dwhisman, Assigned: dwhisman)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp][acorntractors])
Attachments
(1 file)
Update toolkit/themes/shared/global-shared.css with design tokens so it passes our use-design-tokens stylelint rule.
To see existing violations, run:
./mach lint -l stylelint --skip-rollouts toolkit/themes/shared/global-shared.css
Updated•6 months ago
|
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
While the focus of this work is to resolve stylelint issues, there are places where more semantic tokens are used rather than replicating the existing styles, and the spacing values are updated to use space tokens, which are based on rem, so there may be cases where pixels would be preferable.
Comment 4•6 months ago
|
||
Backed out for causing mochitests failures at positioning.html
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | layout/base/tests/chrome/test_dialog_with_positioning.html | check fixed-pos element t bottom positioned correctly - got 38, expected 37.66667175292969
| Assignee | ||
Comment 5•6 months ago
|
||
The spacing changes affected the math of the failing test, so I adjusted it to be slightly more permissive.
Comment 8•6 months ago
|
||
Backed out for causing failures at test_mousescroll.xhtml.
Backout link: https://hg.mozilla.org/integration/autoland/rev/06dfe033d694
| Assignee | ||
Comment 9•5 months ago
|
||
Another test failed due to minor changes in spacing, refactored the test to more reliably check the condition it's looking for.
Comment 10•5 months ago
|
||
Comment 11•5 months ago
|
||
| bugherder | ||
Description
•