'Self-closing closing div'
],
// Make sure special nested HTML5 semantics are not broken
- // http://www.whatwg.org/html/text-level-semantics.html#the-kbd-element
+ // https://html.spec.whatwg.org/multipage/semantics.html#the-kbd-element
[
'<kbd><kbd>Shift</kbd>+<kbd>F3</kbd></kbd>',
'<kbd><kbd>Shift</kbd>+<kbd>F3</kbd></kbd>',
'Nested <kbd>.'
],
- // http://www.whatwg.org/html/text-level-semantics.html#the-sub-and-sup-elements
+ // https://html.spec.whatwg.org/multipage/semantics.html#the-sub-and-sup-elements
[
'<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>',
'<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>',
'Nested <var>.'
],
- // http://www.whatwg.org/html/text-level-semantics.html#the-dfn-element
+ // https://html.spec.whatwg.org/multipage/semantics.html#the-dfn-element
[
'<dfn><abbr title="Garage Door Opener">GDO</abbr></dfn>',
'<dfn><abbr title="Garage Door Opener">GDO</abbr></dfn>',
}
public static function provideDeprecatedAttributes() {
- /** array( <attribute>, <element>, [message] ) */
+ /** [ <attribute>, <element>, [message] ] */
return [
[ 'clear="left"', 'br' ],
[ 'clear="all"', 'br' ],
}
public static function provideCssCommentsFixtures() {
- /** array( <expected>, <css>, [message] ) */
+ /** [ <expected>, <css>, [message] ] */
return [
// Valid comments spanning entire input
[ '/**/', '/**/' ],
'/* insecure input */',
'background-image: -moz-image-set("asdf.png" 1x, "asdf.png" 2x);'
],
+ [ '/* insecure input */', 'foo: attr( title, url );' ],
+ [ '/* insecure input */', 'foo: attr( title url );' ],
];
}
}
public static function provideEscapeIdReferenceList() {
- /** array( <reference list>, <individual id 1>, <individual id 2> ) */
+ /** [ <reference list>, <individual id 1>, <individual id 2> ] */
return [
[ 'foo bar', 'foo', 'bar' ],
[ '#1 #2', '#1', '#2' ],