{"id":3336,"date":"2014-03-20T15:16:53","date_gmt":"2014-03-20T15:16:53","guid":{"rendered":"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/?p=3336"},"modified":"2014-03-28T14:09:26","modified_gmt":"2014-03-28T14:09:26","slug":"proposal-deliver-all-user-created-web-pages-in-standards-mode","status":"publish","type":"post","link":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2014\/03\/proposal-deliver-all-user-created-web-pages-in-standards-mode\/","title":{"rendered":"Proposal: deliver all user created web pages in &#8216;standards mode&#8217;"},"content":{"rendered":"<p>In our Easter upgrade, we propose to change the <em>default<\/em> behaviour of WebLearn and deliver all HTML pages which have been authored within WebLearn and are stored in Resources in &#8216;standards mode&#8217; rather than &#8216;quirks mode&#8217; as they currently are. (By currently using &#8216;quirks mode&#8217;, we are effectively serving non-standards compliant web pages which . See <a href=\"http:\/\/en.wikipedia.org\/wiki\/Quirks_mode\">http:\/\/en.wikipedia.org\/wiki\/Quirks_mode<\/a> for more explanation).<\/p>\n<p>Key comments:<\/p>\n<ul>\n<li>quirks mode is used for triggering non-standard behaviour in browsers, it came into being so that web pages written before browsers started following W3C and IETF standards (pre-2000) would continue to work as intended<\/li>\n<li>exploiting non-standard behaviour is not recommended and is highly likely to result in a page that renders differently in different browser<\/li>\n<li>always serving pages in &#8216;quirks mode&#8217; means that some standards compliant pages may not display as intended<\/li>\n<li>it is highly unlikely that quirks will have been exploited unless a \u2018hand crafted\u2019 CSS has been used, in other words, if you don&#8217;t have any explicit references to CSS then you probably don&#8217;t need to worry; even if you do use your own CSS it is still very unlikely that the page will rely on &#8216;quirks mode&#8217;<\/li>\n<li>all other WebLearn pages use standards mode<\/li>\n<li>only pages which have the &#8216;WebLearn styles&#8217; set to &#8216;Automatic&#8217; are affected<\/li>\n<\/ul>\n<p>If you think you may have relied on &#8216;quirks mode&#8217; or simply want to check that your pages will look correct in &#8216;standards mode&#8217; then you can do so by following this procedure. You may like to do this in more than one browser, for example, Chrome, Firefox and Internet Explorer.<\/p>\n<ol>\n<li>in the Resources tool, click on an HTML page so that it opens in a new tab or window, leave the page open in the browser<\/li>\n<li>back in the Resources tool, alongside the HTML page, select &#8216;Edit Details (Properties)&#8217; from the &#8216;Actions&#8217; menu<\/li>\n<li>towards the bottom of the page, select &#8216;Always (standards)&#8217; from the &#8216;Use WebLearn styles&#8217; drop-down menu and then click &#8216;Update&#8217; to save your changes <a href=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2014\/03\/standards-mode.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3337\" alt=\"standards-mode\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2014\/03\/standards-mode.jpg\" width=\"474\" height=\"248\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2014\/03\/standards-mode.jpg 474w, https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/files\/2014\/03\/standards-mode-300x156.jpg 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><\/li>\n<li>in Resources click on the page again<\/li>\n<li>compare the two versions of the page to make sure nothing is amiss<\/li>\n<li>if necessary, set the style back to &#8216;Automatic&#8217;<\/li>\n<\/ol>\n<p>If you think that this action will cause problems then please contact us: <a href=\"mailto:weblearn@it.ox.ac.uk\">weblearn@it.ox.ac.uk<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our Easter upgrade, we propose to change the default behaviour of WebLearn and deliver all HTML pages which have been authored within WebLearn and are stored in Resources in &#8216;standards mode&#8217; rather than &#8216;quirks mode&#8217; as they currently are. &hellip; <a href=\"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/2014\/03\/proposal-deliver-all-user-created-web-pages-in-standards-mode\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90,105],"tags":[206,376],"class_list":["post-3336","post","type-post","status-publish","format-standard","hentry","category-sakai","category-weblearn","tag-content","tag-system-notices"],"_links":{"self":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/3336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/comments?post=3336"}],"version-history":[{"count":16,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/3336\/revisions"}],"predecessor-version":[{"id":3355,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/posts\/3336\/revisions\/3355"}],"wp:attachment":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/media?parent=3336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/categories?post=3336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/adamweblearn\/wp-json\/wp\/v2\/tags?post=3336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}