Skip to content

Commit eb16cdd

Browse files
committed
Add 'behavior' as known property (fixes #25)
1 parent b9597b2 commit eb16cdd

File tree

8 files changed

+21
-10
lines changed

8 files changed

+21
-10
lines changed

build/node-parserlib.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
24+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
2525
var parserlib = {};
2626
(function(){
2727

@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
931931
THE SOFTWARE.
932932
933933
*/
934-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
934+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
935935
(function(){
936936
var EventTarget = parserlib.util.EventTarget,
937937
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3499,6 +3499,7 @@ var Properties = {
34993499
"background-repeat" : { multi: "<repeat-style>" },
35003500
"background-size" : { multi: "<bg-size>", comma: true },
35013501
"baseline-shift" : "baseline | sub | super | <percentage> | <length>",
3502+
"behavior" : 1,
35023503
"binding" : 1,
35033504
"bleed" : "<length>",
35043505
"bookmark-label" : "<content> | <attr> | <string>",

build/npm/lib/node-parserlib.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
24+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
2525
var parserlib = {};
2626
(function(){
2727

@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
931931
THE SOFTWARE.
932932
933933
*/
934-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
934+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
935935
(function(){
936936
var EventTarget = parserlib.util.EventTarget,
937937
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3499,6 +3499,7 @@ var Properties = {
34993499
"background-repeat" : { multi: "<repeat-style>" },
35003500
"background-size" : { multi: "<bg-size>", comma: true },
35013501
"baseline-shift" : "baseline | sub | super | <percentage> | <length>",
3502+
"behavior" : 1,
35023503
"binding" : 1,
35033504
"bleed" : "<length>",
35043505
"bookmark-label" : "<content> | <attr> | <string>",

build/parserlib-core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
24+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
2525
var parserlib = {};
2626
(function(){
2727

build/parserlib-css.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
24+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
2525
(function(){
2626
var EventTarget = parserlib.util.EventTarget,
2727
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -2589,6 +2589,7 @@ var Properties = {
25892589
"background-repeat" : { multi: "<repeat-style>" },
25902590
"background-size" : { multi: "<bg-size>", comma: true },
25912591
"baseline-shift" : "baseline | sub | super | <percentage> | <length>",
2592+
"behavior" : 1,
25922593
"binding" : 1,
25932594
"bleed" : "<length>",
25942595
"bookmark-label" : "<content> | <attr> | <string>",

build/parserlib-tests.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,10 @@
24652465
"no-repeat round 1px" : "Expected (<repeat-style>) but found 'no-repeat round 1px'."
24662466

24672467
}
2468-
}));
2468+
}));
2469+
2470+
2471+
24692472

24702473
suite.add(new ValidationTestCase({
24712474
property: "border",

build/parserlib.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
24+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
2525
var parserlib = {};
2626
(function(){
2727

@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
931931
THE SOFTWARE.
932932
933933
*/
934-
/* Version v@VERSION@, Build time: 26-April-2012 09:26:13 */
934+
/* Version v@VERSION@, Build time: 26-April-2012 09:31:25 */
935935
(function(){
936936
var EventTarget = parserlib.util.EventTarget,
937937
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3499,6 +3499,7 @@ var Properties = {
34993499
"background-repeat" : { multi: "<repeat-style>" },
35003500
"background-size" : { multi: "<bg-size>", comma: true },
35013501
"baseline-shift" : "baseline | sub | super | <percentage> | <length>",
3502+
"behavior" : 1,
35023503
"binding" : 1,
35033504
"bleed" : "<length>",
35043505
"bookmark-label" : "<content> | <attr> | <string>",

src/css/Properties.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ var Properties = {
8686
"background-repeat" : { multi: "<repeat-style>" },
8787
"background-size" : { multi: "<bg-size>", comma: true },
8888
"baseline-shift" : "baseline | sub | super | <percentage> | <length>",
89+
"behavior" : 1,
8990
"binding" : 1,
9091
"bleed" : "<length>",
9192
"bookmark-label" : "<content> | <attr> | <string>",

tests/css/Validation.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@
216216
"no-repeat round 1px" : "Expected (<repeat-style>) but found 'no-repeat round 1px'."
217217

218218
}
219-
}));
219+
}));
220+
221+
222+
220223

221224
suite.add(new ValidationTestCase({
222225
property: "border",

0 commit comments

Comments
 (0)