From 207d1377d47cd545cac672dbba33feca59f20d20 Mon Sep 17 00:00:00 2001 From: "aaronr%us.ibm.com" Date: Thu, 30 Jul 2009 22:21:56 +0000 Subject: [PATCH] [XForms] NPOTDB Output with mediatype and SVG doesn't work properly. Bug 506915, p=philipp r=surkov+aaronr git-svn-id: svn://10.0.0.236/trunk@257882 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/xforms/resources/content/xforms.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/extensions/xforms/resources/content/xforms.css b/mozilla/extensions/xforms/resources/content/xforms.css index 6538f39c45b..72ba0677cd1 100755 --- a/mozilla/extensions/xforms/resources/content/xforms.css +++ b/mozilla/extensions/xforms/resources/content/xforms.css @@ -233,6 +233,9 @@ html|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#anyURI"][ html|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#base64Binary"][mozType|mediatype^="image"] { -moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-output-mediatype-base64Binary'); } +html|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#string"][mozType|mediatype="image/svg+xml"] { + -moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-output-mediatype-texthtml'); +} xul|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#anyURI"][mozType|mediatype^="image"] { -moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-output-mediatype-anyURI'); @@ -240,6 +243,9 @@ xul|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#anyURI"][m xul|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#base64Binary"][mozType|mediatype^="image"] { -moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-output-mediatype-base64Binary'); } +xul|*:root output[mozType|typelist~="http://www.w3.org/2001/XMLSchema#string"][mozType|mediatype="image/svg+xml"] { + -moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-output-mediatype-texthtml'); +} /* output mediatype="text/html", mediatype="application/xhtml+xml" */ html|*:root output[mozType|mediatype="text/html"],