From 3d6090dbdcee480701719bb9986bb71fc76fe4c0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Tue, 18 Mar 2008 08:31:51 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20365365:=20Fix=20various=20HTML=20and=20CS?= =?UTF-8?q?S=20validation=20errors=20when=20viewing=20attachments=20-=20Pa?= =?UTF-8?q?tch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Djustdave=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@248053 18797224-902f-48f8-a5cc-f745e15eee43 --- .../bugzilla/skins/standard/global.css | 16 +++++++++++++ .../en/default/attachment/edit.html.tmpl | 23 ++++++++----------- .../attachment/show-multiple.html.tmpl | 4 ---- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/mozilla/webtools/bugzilla/skins/standard/global.css b/mozilla/webtools/bugzilla/skins/standard/global.css index 423e398b46d..08916d03881 100644 --- a/mozilla/webtools/bugzilla/skins/standard/global.css +++ b/mozilla/webtools/bugzilla/skins/standard/global.css @@ -334,6 +334,22 @@ dl dl > dt { padding-left: 1em; } +table.attachment_info th { + text-align: right; + vertical-align: top; +} + +table.attachment_info td { + text-align: left; + vertical-align: top; +} + +/* Text displayed when the attachment is not viewable by the web browser */ +#noview { + text-align: left; + vertical-align: middle; +} + /* For bug fields */ .uneditable_textarea { width: 30em; diff --git a/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl index 3796b56505d..a2c60ac2523 100644 --- a/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl @@ -36,11 +36,6 @@ header = header subheader = subheader doc_section = "attachments.html" - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - #noview { text-align: left; vertical-align: middle; } - " %] diff --git a/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl index 632a862712e..36088c96cf9 100644 --- a/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl @@ -31,10 +31,6 @@ title = title header = header subheader = filtered_summary - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - " %]