-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
Thank you very much. |
@yisibl I don't think this PR was made to be merged as is. Maybe we should do something to fix the matching ? |
Yes, fix first then merge :) so what's your opinion on this? |
Looks like a bug that should be fixed. |
@MoOx ok, so what's the plan here? Do you guys look into it? |
@yisibl is the maintainer of this plugin, but if he is busy I can't take a look at it. |
Cool, thanks! |
I will fixed it. |
👍 |
Fixed: c19ff8f |
Cool! 👍 Will this be released soon? - no pressure, just to get an idea when :) |
@emmenko Has been released. |
👍 |
@yisibl @MoOx sorry to bother again, but I'm a bit confused now. So maybe let me do a step back and ask you something. @custom-selector :--foo h1;
@custom-selector :--foo-bar-baz h4 h5 h6;
:--foo { color: red; }
:--foo-bar-baz { color: blue; } There is a warning saying Why is that? Is it actually wrong to have those kind of selectors? The output is actually ok at the end... |
I guess it's another bug. I tried to fix it but it seems I didn't change enough code :/ |
Hmm, well the test is lying then It should be |
or what ? |
I'm just saying, what should be the correct behaviour? Is this the correct way to define selectors or is the warning incorrect? I can make a PR, but I want to know first what should be the expected result... |
The warning does not make sense in this case, especially if, as you said, the output is "as expected". |
Ok, I will make a PR |
@MoOx btw, can you tell me what's wrong here? Is it related to this "bug"? |
I have to admit that I didn't write this plugin, so I have no idea what is the fuck here :/ |
Ok. I will try to reproduce / fix it in the PR. |
awesome, thanks ! |
If I run this, I get warnings
This is because of the way the selector is matched
So if I have following selectors
those are the matching results
How is this suppose to work? Should I use camelcase selectors instead (e.g.:
foo
,fooBar
,fooBarBaz
)? Or the matching should be fixed?Thanks