PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/src/html/tags/h/Hgroup.php

http://github.com/facebook/xhp
PHP | 16 lines | 6 code | 1 blank | 9 comment | 0 complexity | d84a6bcc99475fec0fa0e7133e3f4462 MD5 | raw file
Possible License(s): MIT, MPL-2.0-no-copyleft-exception
  1. <?hh // strict
  2. /*
  3. * Copyright (c) 2015, Facebook, Inc.
  4. * All rights reserved.
  5. *
  6. * This source code is licensed under the BSD-style license found in the
  7. * LICENSE file in the root directory of this source tree. An additional grant
  8. * of patent rights can be found in the PATENTS file in the same directory.
  9. *
  10. */
  11. class :hgroup extends :xhp:html-element {
  12. category %flow, %heading;
  13. children (:h1 | :h2 | :h3 | :h4 | :h5 | :h6)+;
  14. protected string $tagName = 'hgroup';
  15. }