Skip to content

Commit 1bfbaeb

Browse files
committed
Add -webkit-text-decoration-skip
1 parent 286624d commit 1bfbaeb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/css/Properties.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ var Properties = module.exports = {
436436
"text-decoration-line" : "<text-decoration-line>",
437437
"text-decoration-style" : "<text-decoration-style>",
438438
"text-decoration-skip" : "none | [ objects || spaces || ink || edges || box-decoration ]",
439+
"-webkit-text-decoration-skip" : "none | skip",
439440
"text-emphasis" : 1,
440441
"text-height" : 1,
441442
"text-indent" : "<length> | <percentage>",

tests/css/Validation.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,20 @@ var YUITest = require("yuitest"),
15101510
}
15111511
}));
15121512

1513+
suite.add(new ValidationTestCase({
1514+
property: "-webkit-text-decoration-skip",
1515+
1516+
valid: [
1517+
"none",
1518+
"skip"
1519+
],
1520+
1521+
invalid: {
1522+
"skip foo" : "Expected end of value but found 'foo'.",
1523+
"foo" : "Expected (none | skip) but found 'foo'."
1524+
}
1525+
}));
1526+
15131527
suite.add(new ValidationTestCase({
15141528
property: "text-rendering",
15151529

0 commit comments

Comments
 (0)