Skip to content

Commit d346661

Browse files
authored
Merge branch 'master' into feature/border-image-repeat-space
2 parents bb9bb40 + f3e2dc6 commit d346661

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/css/Properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ var Properties = module.exports = {
378378
"pitch-range" : 1,
379379
"play-during" : 1,
380380
"pointer-events" : "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all",
381-
"position" : "static | relative | absolute | fixed | sticky",
381+
"position" : "static | relative | absolute | fixed | sticky | -webkit-sticky",
382382
"presentation-level" : 1,
383383
"punctuation-trim" : 1,
384384

tests/css/Validation.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,6 +1583,23 @@ var YUITest = require("yuitest"),
15831583
}
15841584
}));
15851585

1586+
suite.add(new ValidationTestCase({
1587+
property: "position",
1588+
1589+
valid: [
1590+
"static",
1591+
"relative",
1592+
"absolute",
1593+
"fixed",
1594+
"sticky",
1595+
"-webkit-sticky"
1596+
],
1597+
1598+
invalid: {
1599+
"foo" : "Expected (static | relative | absolute | fixed | sticky | -webkit-sticky) but found 'foo'."
1600+
}
1601+
}));
1602+
15861603
suite.add(new ValidationTestCase({
15871604
property: "stroke-dasharray",
15881605

0 commit comments

Comments
 (0)