Lines Matching full:context
7 #context {display:none}
12 binary operator context, and as a NameTest otherwise.
19 <div id="context">
24 var context = document.getElementById('context');
29 test(document, context, "div", [div], null); // div with no preceding token
30 test(document, context, " div", [div], null);
32 test(document, context, "(div) div (div)", 2/2, null); // div after ( and )
33 test(document, context, "self::node()[div] div 1", 2/1, null); // div after [ and ]
34 test(document, context, ". div .", 2/2, null); // div after .
36 test(document, context, "string(div/@div)", "x", null); // div after @
37 test(document, context, "substring-before('1992', div)", "199", null); // div after ,
39 test(document, context, "* div 4", 2/4, null); // div after NameTest *
40 test(document, context, "'3' div 4", 3/4, null); // div after Literal
41 test(document, context, "\"3\" div 4", 3/4, null); // div after Literal
42 test(document, context, "12 div 4", 12/4, null); // div after Number
45 test(document, context, "true() and div", true, null); // div after OperatorName and
46 test(document, context, "false() or div", true, null); // div after OperatorName or
47 test(document, context, "div mod div", 0, null); // div after OperatorName mod
48 test(document, context, "div div div", 1, null); // div after OperatorName div
49 test(document, context, "3 * div", 6, null); // div after MultiplyOperator
50 test(document, context, "div/div", [], null); // div after /
51 test(document, context, "div//div", [], null); // div after //
52 test(document, context, "zz|div", [div], null); // div after |
53 test(document, context, "div+div", 4, null); // div after +
54 test(document, context, "- - div", 2, null); // div after unary -
55 test(document, context, "5 -div", 3, null); // div after binary -
56 test(document, context, "div=div", true, null); // div after =
57 test(document, context, "div!=div", false, null); // div after =
58 test(document, context, "div<div", false, null); // div after <
59 test(document, context, "div<=div", true, null); // div after <=
60 test(document, context, "div>div", false, null); // div after >
61 test(document, context, "div>=div", true, null); // div after >=
66 test(document, context, "*", [div], null); // * with no preceding token
67 test(document, context, " *", [div], null);
69 test(document, context, "(*) * (*)", 2*2, null); // * after ( and )
70 test(document, context, "self::node()[*] * 1", 2*1, null); // * after [ and ]
71 test(document, context, ". * .", 2*2, null); // * after .
74 test(document, context, "substring-before('1992', *)", "199", null); // * after ,
76 test(document, context, "* * 4", 2*4, null); // * after NameTest *
77 test(document, context, "'3' * 4", 3*4, null); // * after Literal
78 test(document, context, "\"3\" * 4", 3*4, null); // * after Literal
79 test(document, context, "12 * 4", 12*4, null); // * after Number
82 test(document, context, "true() and *", true, null); // * after OperatorName and
83 test(document, context, "false() or *", true, null); // * after OperatorName or
84 test(document, context, "* mod *", 0, null); // * after OperatorName mod
85 test(document, context, "* div *", 1, null); // * after OperatorName div
86 test(document, context, "3 * *", 6, null); // * after MultiplyOperator
87 test(document, context, "*/*", [], null); // * after /
88 test(document, context, "*//*", [], null); // * after //
89 test(document, context, "zz|*", [div], null); // * after |
90 test(document, context, "*+*", 4, null); // * after +
91 test(document, context, "- - *", 2, null); // * after unary -
92 test(document, context, "5 -*", 3, null); // * after binary -
93 test(document, context, "*=*", true, null); // * after =
94 test(document, context, "*!=*", false, null); // * after =
95 test(document, context, "*<*", false, null); // * after <
96 test(document, context, "*<=*", true, null); // * after <=
97 test(document, context, "*>*", false, null); // * after >
98 test(document, context, "*>=*", true, null); // * after >=