Closed (fixed)
Project:
Sassy
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2012 at 16:34 UTC
Updated:
7 Mar 2012 at 11:29 UTC
I’ve noticed a few missing features but I was curious if you had a list of the differences from Sass.
It would be very useful to know the limitations of this port.
Here’s a few that I ran into so far. If you don’t have a list, I’ll add it here myself as I run into them.
Comments
Comment #1
richthegeek commentedWe picked up from where the prior maintainers of PHamlP left off, and they stopped updating about a year before we started at least.
As such, there are some differences between this port and the official parser. The fact is, there will /always/ be differences to soem degree as SASS is a parser-defined language.
That said, we are trying to get it up to scratch (and we have a lot of ground to cover, catching up to a moving target).
If you find any more missing features then put them as issues on here or the github page, or chat to me on Skype/IRC directly.
This issue is as good a place as any for a list...
Comment #2
dvessel commentedI understand there will always be differences. It’s knowing what they are and listing their status that would be of great help.
Since it’s specific to the parser, I’ll communicate on the git project page but my time is short. And it looks like issue tracking was turned off. Could you enable it?
I’ll update the list on this page and the details can be sorted out on github.
If anyone finds missing features, please post them here.
Comment #3
richthegeek commentedIssues on github are now turned on... probably best to keep it here for the moment as it's currently an 100% drupal project.
Comment #4
richthegeek commentedcan you post failing code for @if statements - they have a unit test devoted to them at the moment so work at least in principle - I suspect if you are wrapping them in brackets then they have issues...
Comment #5
dvessel commentedI’ll test it again. This is the first time I’m using Sass so I most likely used it in a wrong way. I’ll post anything I find in a separate issue.
Comment #6
richthegeek commentedFor reference, this test passes without issue (although it is too simple to be a proper test, just that the bare-bones of it works.
Comment #7
richthegeek commentedGod i am le retard, forgot to post link: https://github.com/richthegeek/phamlp/blob/master/tests/if.sass
Comment #8
richthegeek commentedLatest update to PHamlP fixes issues with the "mix" function. Let me know if it works as expected.
Example: mix(#000, #fff) => #7f7f7f
Comment #9
richthegeek commentedNamed arguments were completed recently. Currently this is marked as closed.
However, please do reopen it again if there are new missing features
Comment #9.0
richthegeek commentedUpdated.