Open Bug 1893763 Opened 7 months ago Updated 4 months ago

readerview.css fails stylelint: Unexpected empty block

Categories

(Fenix :: WebExtensions, defect, P3)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: gbrown, Unassigned)

References

Details

(Whiteboard: [group1][fxdroid])

Steps to reproduce

  1. Remove the exclusion in .stylelintignore for mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
  2. Run mach lint --linter=stylelint -- mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css

Expected behavior

No lint errors.

Actual behavior

$ ./mach lint --linter=stylelint -- mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
/home/gbrown/src/mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
  306:36  error  Unexpected empty block  block-no-empty (stylelint)

✖ 1 problem (1 error, 0 warnings, 0 fixed)

Any additional information?

Discussed in https://phabricator.services.mozilla.com/D207207. It looks like this code has "always" been this way: https://github.com/mozilla-mobile/android-components/commit/7a38090a09cc2d9d043760ed7de9ca79e00fc86f

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)

The Bugbug bot thinks this bug should belong to the 'Fenix::WebExtensions' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → WebExtensions
Severity: -- → S4
Priority: -- → P3
Flags: needinfo?(jboek)
Whiteboard: [group1][fxdroid]
You need to log in before you can comment on or make changes to this bug.