You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
I saw this change when upgrading from a somewhat older version of node-sass to the most recent version from npm.
Zurb foundation (latest version) includes a function to create [data-<attribtue>] selectors. These were compiling fine in the old version of node-sass, but aren't anymore.
Expected result (based on old version on my box/Zurb compiled css source from the distro):
form [data-abide] span.error, form [data-abide] small.error {
display: none; }
Actual result:
form "[data-abide]" span.error, form "[data-abide]" small.error {
display: none; }
These quoted selectors break in Chrome (and might not work anywhere).
Let me know if this is a bug. If it is by design then I'll tell Zurb to change their function to use unquote, or whatever other method you advise to fix this on their end. If it is an upstream bug, let me know that too and I'll go post in libsass or SassC :)
The text was updated successfully, but these errors were encountered:
Thanks for the repotr @kavika13. I can confirm this is a regression in LibSass. I've created an issue with them, please subscribe to it there for updates.
Ruby Sass explicitly unquotes the results of interpolations in
selectors. This patch is very thorough but it address all the
use cases I think of and it fixes the regression causing people
issues.
Fixessass#1217
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I saw this change when upgrading from a somewhat older version of node-sass to the most recent version from npm.
Zurb foundation (latest version) includes a function to create
[data-<attribtue>]
selectors. These were compiling fine in the old version of node-sass, but aren't anymore.Here's a somewhat minimal repro:
Expected result (based on old version on my box/Zurb compiled css source from the distro):
Actual result:
These quoted selectors break in Chrome (and might not work anywhere).
Let me know if this is a bug. If it is by design then I'll tell Zurb to change their function to use
unquote
, or whatever other method you advise to fix this on their end. If it is an upstream bug, let me know that too and I'll go post in libsass or SassC :)The text was updated successfully, but these errors were encountered: