diff options
| author | Simen Heggestøyl | 2017-06-03 13:29:06 +0200 |
|---|---|---|
| committer | Simen Heggestøyl | 2017-06-03 15:09:01 +0200 |
| commit | d2d6e4452c8f2cf571f2d866b248131b3ef31c3a (patch) | |
| tree | 7eb2a9bc8f0cad0c55ff2bd173e4b63df9e110cd /test/manual/indent/css-mode.css | |
| parent | e3b7eeade4753af984a280775c593ef44ae3edb4 (diff) | |
| download | emacs-d2d6e4452c8f2cf571f2d866b248131b3ef31c3a.tar.gz emacs-d2d6e4452c8f2cf571f2d866b248131b3ef31c3a.zip | |
Support a new CSS indentation style
* lisp/textmodes/css-mode.el (css-smie-rules): Indent after property
immediately followed by a newline.
* test/manual/indent/css-mode.css: Add test for the change above.
* test/manual/indent/scss-mode.scss: Ditto.
Diffstat (limited to 'test/manual/indent/css-mode.css')
| -rw-r--r-- | test/manual/indent/css-mode.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/manual/indent/css-mode.css b/test/manual/indent/css-mode.css index 0845c02c299..79b082188f5 100644 --- a/test/manual/indent/css-mode.css +++ b/test/manual/indent/css-mode.css | |||
| @@ -65,8 +65,15 @@ div::before { | |||
| 65 | 5.0, 6.0 | 65 | 5.0, 6.0 |
| 66 | ); | 66 | ); |
| 67 | } | 67 | } |
| 68 | |||
| 68 | @font-face { | 69 | @font-face { |
| 69 | src: url("Sans-Regular.eot") format("eot"), | 70 | src: url("Sans-Regular.eot") format("eot"), |
| 70 | url("Sans-Regular.woff") format("woff"), | 71 | url("Sans-Regular.woff") format("woff"), |
| 71 | url("Sans-Regular.ttf") format("truetype"); | 72 | url("Sans-Regular.ttf") format("truetype"); |
| 72 | } | 73 | } |
| 74 | |||
| 75 | @font-face { | ||
| 76 | src: | ||
| 77 | url("Sans-Regular.eot") format("eot"), | ||
| 78 | url("Sans-Regular.woff") format("woff"); | ||
| 79 | } | ||