Closed Bug 404425 Opened 17 years ago Closed 17 years ago

Add Exception Dialogs looks broken

Categories

(Core Graveyard :: Security: UI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: johnath)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

I'm attaching a screenshot. This is what the add exception dialog looks like on linux trunk.

The bold heading has weird indenting.

The boxes around the sections are gone.
Attached image screen shot
Attached patch Remove whitespace around entity (obsolete) — Splinter Review
Sigh...

The text is styled as moz-pre-wrap, but the XUL assumes that it's okay to leave whitespace around the entity.  This wasn't spotted when the code first landed because the CSS rule was broken.  When the fix to the CSS landed, it "regressed" this, but that just never should have been there.  My bad.  :(
Assignee: kengert → johnath
Status: NEW → ASSIGNED
Attachment #289510 - Flags: review?(kengert)
Comment on attachment 289510 [details] [diff] [review]
Remove whitespace around entity

Thanks for the fix, r=kengert

Nit: Would it make sense to avoid very long lines by moving the ">" to the next line? Like this:

  <description id="warningSupplemental"
               style="font-weight: bold; white-space: -moz-pre-wrap;"
  >&exceptionMgr.supplementalWarning;</description>

(or similar).

Would it make sense to add a <!--comment--> explaining that whitespace must be avoided between the tags?
Attachment #289510 - Flags: review?(kengert) → review+
Attached patch Nits addressedSplinter Review
Requesting approval.  This is absolutely not a blocker, but it also looks stupid (see attachment 289414 [details]) and broken in its current form.  There is zero semantic change here, just whitespace around a DTD entity.  Under normal circumstances I don't think I'd even request a=, but I know we are clamping down.
Attachment #289510 - Attachment is obsolete: true
Attachment #289514 - Flags: approval1.9?
Attachment #289514 - Flags: approval1.9? → approval1.9+
Checking in security/manager/pki/resources/content/exceptionDialog.xul;
/cvsroot/mozilla/security/manager/pki/resources/content/exceptionDialog.xul,v  <--  exceptionDialog.xul
new revision: 1.6; previous revision: 1.5
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: