Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
A recent branch test points out that there are CSS coding standards errors in examples: https://www.drupal.org/pift-ci-job/689152
Click the '9 coding standards messages' link to see the errors:
css/examples.icons.css
line 14 Background image '../images/examples.svg' was used multiple times, first declared at line 10, col 3.
field_permission_example/css/field_permission_example.css
10 Expected (<color>) but found '1000'.
17 Values of 0 shouldn't have units specified.
18 Values of 0 shouldn't have units specified.
18 Standard property 'box-shadow' should come after vendor-prefixed property '-moz-box-shadow'.
19 Values of 0 shouldn't have units specified.
19 Standard property 'box-shadow' should come after vendor-prefixed property '-webkit-box-shadow'.
js_example/css/jsweights.css
1 Don't use IDs in selectors.
1 Element (div#js-weights) is overqualified, just use #js-weights without element name.
Proposed resolution
Fix these errors.
How:
- Identify errors to fix.
- Submit a patch with those fixes.
- The testbot result should provide a review of the files changed by the patch.
- Repeat as needed.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff-2884172-2-4.txt | 1.81 KB | yash_khandelwal |
#4 | new_updated_coding_standard-2884172-4.patch | 2.16 KB | yash_khandelwal |
#2 | updated_coding_standard-2884172-2.patch | 2 KB | yash_khandelwal |
|
Comments
Comment #2
yash_khandelwalPatch has been created. Please check.
Comment #3
Mile23Thanks, looks like a good start.
If you click on the test run you'll see there are still errors:
Comment #4
yash_khandelwalCreated the new patch and interdiff, please review now.
Comment #6
Mile23Nice, Thanks!