You are here

public function OutputRulesTest::booleanAttributes in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::booleanAttributes()

File

vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php, line 455

Class

OutputRulesTest

Namespace

Masterminds\HTML5\Tests\Serializer

Code

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(
      '<input type="radio" value="" checked disabled>',
    ),
    array(
      '<div data-value=""></div>',
    ),
    array(
      '<select disabled></select>',
    ),
    array(
      '<div ng-app></div>',
    ),
    array(
      '<script defer></script>',
    ),
  );
}