File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,7 @@ var Properties = module.exports = {
437437 "text-decoration-style" : "<text-decoration-style>" ,
438438 "text-decoration-skip" : "none | [ objects || spaces || ink || edges || box-decoration ]" ,
439439 "-webkit-text-decoration-skip" : "none | [ objects || spaces || ink || edges || box-decoration ]" ,
440+ "text-underline-position" : "auto | [ under || [ left | right ] ]" ,
440441 "text-emphasis" : 1 ,
441442 "text-height" : 1 ,
442443 "text-indent" : "<length> | <percentage>" ,
Original file line number Diff line number Diff line change @@ -1518,14 +1518,32 @@ var YUITest = require("yuitest"),
15181518 "edges" ,
15191519 "box-decoration" ,
15201520 "objects spaces ink"
1521- ] ,
1521+ ] ,
15221522
15231523 invalid : {
15241524 "none objects" : "Expected end of value but found 'objects'." ,
15251525 "foo" : "Expected (none | [ objects || spaces || ink || edges || box-decoration ]) but found 'foo'."
15261526 }
15271527 } ) ) ;
15281528
1529+ suite . add ( new ValidationTestCase ( {
1530+ property : "text-underline-position" ,
1531+
1532+ valid : [
1533+ "auto" ,
1534+ "under" ,
1535+ "left" ,
1536+ "right" ,
1537+ "under left"
1538+ ] ,
1539+
1540+ invalid : {
1541+ "auto under" : "Expected end of value but found 'under'." ,
1542+ "left right" : "Expected end of value but found 'right'." ,
1543+ "foo" : "Expected (auto | [ under || [ left | right ] ]) but found 'foo'."
1544+ }
1545+ } ) ) ;
1546+
15291547 suite . add ( new ValidationTestCase ( {
15301548 property : "text-rendering" ,
15311549
You can’t perform that action at this time.
0 commit comments