File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1283,8 +1283,12 @@ <h3 id=the-css-interface><span class=secno>7.6. </span> The <a
12831283 arguments < var > property</ var > and < var > value</ var > , it must return
12841284 < code > true</ code > if < var > property</ var > is a literal match for the name
12851285 of a CSS property that the UA supports, and < var > value</ var > would be
1286- successfully parsed as a supported value for that property. Otherwise, it
1287- must return < code > false</ code > .
1286+ successfully parsed as a supported value for that property. (Literal
1287+ match means that no CSS escape processing is performed, and leading and
1288+ trailing whitespace are not stripped, so any leading whitespace, trailing
1289+ whitespace, or CSS escapes equivalent to the name of a property would
1290+ cause the method to return < code > false</ code > .) Otherwise, it must return
1291+ < code > false</ code > .
12881292 < p > When invoked with a single < var > conditionText</ var > argument, it must
12891293 return < code > true</ code > if < var > conditionText</ var > , when parsed and
12901294 evaluated as a < a
Original file line number Diff line number Diff line change @@ -1038,6 +1038,11 @@ <h3 id='the-css-interface'>
10381038 When the < code title =''> supports()</ code > method is invoked with two arguments < var > property</ var > and < var > value</ var > ,
10391039 it must return < code > true</ code > if < var > property</ var > is a literal match for the name of a CSS property that the UA supports,
10401040 and < var > value</ var > would be successfully parsed as a supported value for that property.
1041+ (Literal match means that no CSS escape processing is performed,
1042+ and leading and trailing whitespace are not stripped,
1043+ so any leading whitespace, trailing whitespace,
1044+ or CSS escapes equivalent to the name of a property
1045+ would cause the method to return < code > false</ code > .)
10411046 Otherwise, it must return < code > false</ code > .
10421047
10431048 < p >
You can’t perform that action at this time.
0 commit comments