This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258414 - Sass bugs in ojet
Summary: Sass bugs in ojet
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-17 09:52 UTC by Milutin Kristofic
Modified: 2016-03-29 01:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2016-03-17 09:52:24 UTC
1,
$twoToTheN: (0: 1, 1: 2, 2: 4, 3: 8, 4: 16, 5: 32); 

2,@function oj-prepend-slash($char)
{
  @return #{"\"\\"}#{$char + "\""};
}

3,  darken($messageInlineBgColorError, $messageInlineBorderColorLightnessAdjustment) !default;

4,
@function oj-svg-url($svg) {
  //@debug "oj-svg-url before encode: #{$svg}";
  @return url("data:image/svg+xml;base64," + oj-encodebase64($svg));
}
Comment 1 Milutin Kristofic 2016-03-17 09:56:49 UTC
1, http://hg.netbeans.org/web-main/rev/81064713038c
Comment 2 Milutin Kristofic 2016-03-17 12:19:45 UTC
2, http://hg.netbeans.org/web-main/rev/dc0c992311b1
Comment 3 Milutin Kristofic 2016-03-17 13:22:01 UTC
3, this is ojet bug, parsing the files with sass compiler is throwing error as well :
Invalid CSS after "...essAdjustment) ": expected "{", was "!default;"

the code in ojet is :
// $messageInlineBorderColorError:
  darken($messageInlineBgColorError, $messageInlineBorderColorLightnessAdjustment) !default;


it should be
$messageInlineBorderColorError:
  darken($messageInlineBgColorError, $messageInlineBorderColorLightnessAdjustment) !default;
Comment 4 Milutin Kristofic 2016-03-17 13:23:17 UTC
4, This is our URL bug in parser. It is very difficult to fix, maybe after feature freeze I will have time to try to fix it. https://netbeans.org/bugzilla/show_bug.cgi?id=238988
Comment 5 Quality Engineering 2016-03-18 02:47:37 UTC
Integrated into 'main-silver', will be available in build *201603180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/81064713038c
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #258414 - Sass bugs in ojet - sass map
Comment 6 Milutin Kristofic 2016-03-28 23:56:51 UTC
transplanted to release81

http://hg.netbeans.org/releases/rev/622d41511493
Comment 7 Milutin Kristofic 2016-03-28 23:57:38 UTC
http://hg.netbeans.org/web-main/rev/1a3408207ff2 ignoring by default
Comment 8 Quality Engineering 2016-03-29 01:45:59 UTC
Integrated into 'main-silver', will be available in build *201603290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1a3408207ff2
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #258414 - Sass bugs in ojet - ignoring by default