diff options
author | Asmir Mustafic <[email protected]> | 2014-06-30 13:05:18 +0200 |
---|---|---|
committer | Asmir Mustafic <[email protected]> | 2014-06-30 13:05:18 +0200 |
commit | 10e596d431786db01b67ca274a60fb0421791055 (patch) | |
tree | bd209e2161515e2d08a47ab7e1c0c8de5f703667 /test/HTML5/Serializer/OutputRulesTest.php | |
parent | d957195722da6031e52f013335fe8d3e41a9d84d (diff) |
Easier implementation. Instead looking for boolean attributes, we can
serach for non-boolean attrs.
Is a more compatible approach, with its own drawbacks.
Diffstat (limited to 'test/HTML5/Serializer/OutputRulesTest.php')
-rw-r--r-- | test/HTML5/Serializer/OutputRulesTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/HTML5/Serializer/OutputRulesTest.php b/test/HTML5/Serializer/OutputRulesTest.php index 9f1c573..62238c3 100644 --- a/test/HTML5/Serializer/OutputRulesTest.php +++ b/test/HTML5/Serializer/OutputRulesTest.php @@ -441,12 +441,13 @@ class OutputRulesTest extends \Masterminds\HTML5\Tests\TestCase public function booleanAttributes() { return array( + array('<img alt="" ismap>'), + array('<img alt="">'), array('<input type="radio" readonly>'), array('<input type="radio" checked disabled>'), array('<input type="checkbox" checked disabled>'), array('<select disabled></select>'), - array('<img alt="">'), - array('<img alt="" ismap>'), + array('<div ng-app>foo</div>'), array('<script defer></script>'), ); } |