Details

    • Testing Instructions:
      Hide

      1/ try moodle UI parts that use complex JS or CSS in all supported browsers

      Please report problems as separate issues, if there are too many we can flip the default in theme_config->doctype = 'xhtml' to get the previous behaviour.

      Show
      1/ try moodle UI parts that use complex JS or CSS in all supported browsers Please report problems as separate issues, if there are too many we can flip the default in theme_config->doctype = 'xhtml' to get the previous behaviour.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w30_MDL-34299_m24_html5

      Description

      I've added an HTML5 doctype to my theme.

      $OUTPUT->doctype produces some complicated XHTML doctype which I don't need, I just put "<!DOCTYPE html>" on the first line of the theme layout. However, if I don't call $OUTPUT-doctype at all it fails with an error, so I'm currently calling it and throwing the output away to avoid triggering this.

      A small fix would be to allow you to not use this function without it failing. A bigger fix would be to shift Moodle to use the HTML5 doctype by default. I believe the two big use cases for XHMTL (MathML and SVG) are now better supported in HTML5 and the Mobile Moodle project has just announced it is using HTML5 so this seems a good time to just switch everyone.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12