File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ const parsers: {
117117 "border-inline-start-color" : parseColorDeclaration ,
118118 "border-inline-start-width" : parseBorderSideWidthDeclaration ,
119119 "border-inline-width" : parseBorderInlineWidth ,
120+ "border-inline-style" : parseBorderInlineStyle ,
120121 "border-left" : parseBorderSide ,
121122 "border-left-color" : parseColorDeclaration ,
122123 "border-left-width" : parseBorderSideWidthDeclaration ,
@@ -490,6 +491,20 @@ export function parseBorderInlineWidth(
490491 ) ;
491492}
492493
494+ export function parseBorderInlineStyle (
495+ declaration : DeclarationType < "border-inline-style" > ,
496+ builder : StylesheetBuilder ,
497+ ) {
498+ if ( declaration . value . start === declaration . value . end ) {
499+ builder . addDescriptor (
500+ "border-style" ,
501+ parseBorderStyle ( declaration . value . start , builder ) ,
502+ ) ;
503+ } else {
504+ builder . addWarning ( "property" , "border-inline-style" ) ;
505+ }
506+ }
507+
493508function parseFlexFlow (
494509 { value } : DeclarationType < "flex-flow" > ,
495510 builder : StylesheetBuilder ,
You can’t perform that action at this time.
0 commit comments