@@ -345,5 +345,45 @@ public virtual void WordWrapTest() {
345
345
NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
346
346
. WORD_BREAK , "norm" ) ) ) ;
347
347
}
348
+
349
+ [ NUnit . Framework . Test ]
350
+ public virtual void JustifyContentTest ( ) {
351
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
352
+ . JUSTIFY_CONTENT , "inherit" ) ) ) ;
353
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
354
+ . JUSTIFY_CONTENT , "right" ) ) ) ;
355
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
356
+ . JUSTIFY_CONTENT , "normal" ) ) ) ;
357
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
358
+ . JUSTIFY_CONTENT , "space-between" ) ) ) ;
359
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
360
+ . JUSTIFY_CONTENT , "self-end" ) ) ) ;
361
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
362
+ . JUSTIFY_CONTENT , "unsafe self-end" ) ) ) ;
363
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
364
+ . JUSTIFY_CONTENT , "stretch" ) ) ) ;
365
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
366
+ . JUSTIFY_CONTENT , "space-evenly" ) ) ) ;
367
+ NUnit . Framework . Assert . IsTrue ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
368
+ . JUSTIFY_CONTENT , "flex-start" ) ) ) ;
369
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
370
+ . JUSTIFY_CONTENT , "baseline" ) ) ) ;
371
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
372
+ . JUSTIFY_CONTENT , "safe right" ) ) ) ;
373
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
374
+ . JUSTIFY_CONTENT , "unsafe normal" ) ) ) ;
375
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
376
+ . JUSTIFY_CONTENT , "unsafe space-between" ) ) ) ;
377
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
378
+ . JUSTIFY_CONTENT , "self-center" ) ) ) ;
379
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
380
+ . JUSTIFY_CONTENT , "self-end unsafe" ) ) ) ;
381
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
382
+ . JUSTIFY_CONTENT , "safe stretch" ) ) ) ;
383
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
384
+ . JUSTIFY_CONTENT , "space_evenly" ) ) ) ;
385
+ NUnit . Framework . Assert . IsFalse ( CssDeclarationValidationMaster . CheckDeclaration ( new CssDeclaration ( CommonCssConstants
386
+ . JUSTIFY_CONTENT , "flex-start left" ) ) ) ;
387
+ }
348
388
}
349
389
}
0 commit comments