Conformance rules for HTML5 is generating warnings for <style> element with type="text/css" attribute when the OPAC page is checked with W3C Validator. The type attribute is optional, and when none is provided it defaults to "text/css" - https://www.w3.org/TR/html5/document-metadata.html#element-attrdef-style-type.
Created attachment 82759 [details] [review] Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates This patch modifies staff client templates to remove the "type" attribute from <style> tags. The attribute is no longer valid. To test, apply the patch and confirm the changes to the templates. The appearance of the staff client should be unchanged. Validating pages from the staff client should not return any errors related to the <style> "type" attribute.
Created attachment 84703 [details] [review] Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates This patch modifies staff client templates to remove the "type" attribute from <style> tags. The attribute is no longer valid. To test, apply the patch and confirm the changes to the templates. The appearance of the staff client should be unchanged. Validating pages from the staff client should not return any errors related to the <style> "type" attribute.
Created attachment 84902 [details] [review] Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates This patch modifies staff client templates to remove the "type" attribute from <style> tags. The attribute is no longer valid. To test, apply the patch and confirm the changes to the templates. The appearance of the staff client should be unchanged. Validating pages from the staff client should not return any errors related to the <style> "type" attribute. Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>
Created attachment 84905 [details] [review] Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates This patch modifies staff client templates to remove the "type" attribute from <style> tags. The attribute is no longer valid. To test, apply the patch and confirm the changes to the templates. The appearance of the staff client should be unchanged. Validating pages from the staff client should not return any errors related to the <style> "type" attribute. Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Awesome work all! Pushed to master for 19.05
The <style> in the title broke display of the release notes on gitlab. Removing the <>.
It's good to be conformant, pushed to 18.11.x for 18.11.04