Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29389

improve choice of styles facility for HTML page

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 11.0
    • Component/s: Content
    • Labels:
      None
    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      Author a page in resources, view in browser, look at source & check that there is a <!DOCTYPE> line before <html> in source view

      Then check that Edit Details > "Use local styles" works correctly:

      1/ 'auto' should give <!DOCTYPE> line before <html>

      2/ 'always (quirks) should add<html><head> ....</head>to start of the file (& </html> to end)

      3/ always (standards) should add <!DOCTYPE ......><html><head> ....</head>to start of the file (& </html> to end)

      4/ 'never' should not add <!DOCTYPE ......><html><head> ....</head>to start of the file (nor </html> to end)

      Show
      Author a page in resources, view in browser, look at source & check that there is a <!DOCTYPE> line before <html> in source view Then check that Edit Details > "Use local styles" works correctly: 1/ 'auto' should give <!DOCTYPE> line before <html> 2/ 'always (quirks) should add<html><head> ....</head>to start of the file (& </html> to end) 3/ always (standards) should add <!DOCTYPE ......><html><head> ....</head>to start of the file (& </html> to end) 4/ 'never' should not add <!DOCTYPE ......><html><head> ....</head>to start of the file (nor </html> to end)

      Description

      1/ Currently the label for the choice of styles mentions "Sakai" since most institutions dont call their system "Sakai" this makes no sense. Change this to "Use local styles".

      2/ Add "Always (standards)" to the list of available styles

      3/ Change "Always" to "Always (quirks)"

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  adamm Adam Marshall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code