Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
CSS
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Apr 2017 at 19:41 UTC
Updated:
22 Jan 2018 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
mukeysh commentedmade "selector-type-no-unknown": true,
Only found 2 issues with this
themes/seven/css/base/elements.css
124:1 × Unexpected unknown type selector "nobr" selector-type-no-unknown
153:1 × Unexpected unknown type selector "quote" selector-type-no-unknown
Comment #5
joelpittetThe issues don't seem to be fixed in the patch.
Comment #6
harsha012 commentedfixed the as per #5
Comment #7
joelpittetThanks @harsha012 for getting the remainder and @Mukeysh and @alexpott for starting this.
I've applied the patch, tested with and without the changes to see they were caught. Also checked that nobody was trying to use a
<nobr>tag in core.Everything is wonderful. 👌
Comment #8
alexpottShouldn't we just be removing the rule? This is a change to what's applying to the #drupal-off-canvas styles.
Comment #9
joelpittetOh I didn't catch that, good eye both of those should be removed!
Comment #10
harsha012 commentedfixed as per comment #8
Comment #11
alexpottIf the default is true let's just remove the line here.
Comment #12
harsha012 commentedComment #13
joelpittetThanks @harsha012 and @alexpott. I tested by running the linter with the CSS changes and without them to see that they were being tested.
And looked at the patch to make sure they changes are removing the fake tag selectors
Comment #14
alexpotthttps://caniuse.com/#search=nobr - so no browser supports nobr and quote has never been an html element.
Committed 60a2dc0 and pushed to 8.5.x. Thanks!