Skip to content

Commit 05898a4

Browse files
author
Edward Z. Yang ext:(%22)
committed
Make all tests10 pass for PHP implementation.
1 parent 3a5b8f9 commit 05898a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/HTML5/TreeConstructer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2815,7 +2815,7 @@ public function emitToken($token, $mode = null) {
28152815
$token['name'] = $svg_lookup[$token['name']];
28162816
}
28172817
if ($current->namespaceURI === self::NS_SVG) {
2818-
$token = $This->adjustSVGAttributes($token);
2818+
$token = $this->adjustSVGAttributes($token);
28192819
}
28202820
$token = $this->adjustForeignAttributes($token);
28212821
$this->insertForeignElement($token, $current->namespaceURI);

tests/HTML5/TestData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static public function generateTestCases($base, $prefix, $type, $glob) {
2525
if ($type === 'tree-construction') {
2626
// skip XFOREIGN tests for now
2727
$num = (int) substr($name, 5);
28-
if ($num >= 10) continue;
28+
if ($num >= 11) continue;
2929
}
3030
$pfilename = var_export($filename, true);
3131
$code = "class $prefix$name extends $base { public \$filename = $pfilename; }";

0 commit comments

Comments
 (0)