1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Update SCSS test file syntax.

According to
https://sass-lang.com/documentation/breaking-changes/slash-div, the
slash operator should be replaced by 'math.div'.

Fixed using the migration tool mentioned at
https://sass-lang.com/documentation/breaking-changes/slash-div#automatic-migration.

* test/manual/indent/scss-mode.scss: Remove slash operator.
This commit is contained in:
Philipp Stephani 2021-06-18 08:24:03 +02:00
parent 7033470adb
commit bc44763b83

View File

@ -1,5 +1,7 @@
// Comment!
@use "sass:math";
nav {
ul {
margin: 0; /* More comment */
@ -44,8 +46,8 @@ article[role="main"] {
$var_with_underscores: #fff;
$_var-starting-with-underscore: none;
float: left !important;
width: 600px / 888px * 100%;
height: 100px / 888px * 100%;
width: math.div(600px, 888px) * 100%;
height: math.div(100px, 888px) * 100%;
color: $var_with_underscores;
display: $_var-starting-with-underscore;
}