File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ syn match cssPositioningProp contained " \< float-\( reference\| defer\| offset\)\> "
2
+ syn match cssPositioningAttr contained " \< inline-\( start\| end\)\> "
3
+ syn match cssPositioningAttr contained " \< snap-\( block\| inline\)\> "
4
+ syn region cssURL contained matchgroup =cssFunctionName start =" \< snap-\( block\| inline\)\s *(" end =" )" oneline keepend
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ syn include @htmlCss syntax/css/css-lists-3.vim
35
35
syn include @htmlCss syntax/css/css-masking-1.vim
36
36
syn include @htmlCss syntax/css/css-overflow-3.vim
37
37
syn include @htmlCss syntax/css/css-pseudo-4.vim
38
+ syn include @htmlCss syntax/css/css-page-floats-3.vim
38
39
syn include @htmlCss syntax/css/css-ruby-1.vim
39
40
syn include @htmlCss syntax/css/css-scoping-1.vim
40
41
syn include @htmlCss syntax/css/css-shapes-1.vim
Original file line number Diff line number Diff line change 363
363
display : verso;
364
364
}
365
365
366
+ .page-floats-3 {
367
+ float-reference : inline-start;
368
+ float-defer : inline-end;
369
+ float-offset : snap-block;
370
+ display : snap-inline;
371
+ display : snap-block (2em , near);
372
+ display : snap-inline (2em , near);
373
+ }
374
+
366
375
.positioning {
367
376
offset-before : sticky;
368
377
offset-end : auto;
Original file line number Diff line number Diff line change 399
399
}
400
400
</ style >
401
401
< style >
402
+ .page-floats-3 {
403
+ float-reference : inline-start;
404
+ float-defer : inline-end;
405
+ float-offset : snap-block;
406
+ display : snap-inline;
407
+ display : snap-block (2em , near);
408
+ display : snap-inline (2em , near);
409
+ }
410
+ </ style >
411
+ < style >
402
412
.positioning {
403
413
offset-before : sticky;
404
414
offset-end : auto;
You can’t perform that action at this time.
0 commit comments