Closed Bug 453306 Opened 16 years ago Closed 16 years ago

#editBookmarkPanel cannot use -moz-border-radius

Categories

(Firefox :: Theme, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 452385

People

(Reporter: jsp, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080901154342 Minefield/3.1b1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080901154342 Minefield/3.1b1pre

In #editBookmarkPanel, if I use transparent color(or picture with transparent color) for background, when I run "Bookmark This Page  Ctrl+D", whether I click "Done" or "Cancel" button, Firefox 3.1b1pre will be crashed. In addition, "-moz-border-radius" cannot be used in #editBookmarkPanel either, otherwise Firefox 3.1b1pre will be crashed.

#editBookmarkPanel {
  -moz-appearance: none;
  /* The following line causes Firefox 3.1b1pre crashed */
  background-color: rgba(68,68,68,0.9); 
  border: 1px solid rgba(255,255,255,0.15);
  /* The following line causes Firefox 3.1b1pre crashed */
  -moz-border-radius: 8px;
  -moz-border-radius-topright: 0px ;
  padding: 10px 8px 6px 8px;
  margin-top: 4px;
  color: #ffffff;
}

The following code is OK:
#editBookmarkPanel {
  -moz-appearance: none;
  background-color: rgb(68,68,68); 
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 8px 6px 8px;
  margin-top: 4px;
  color: #ffffff;
}


Reproducible: Always

Steps to Reproduce:
1. Opening classic.jar with WinRAR, opening browser.css wih notepad.
2. Adding "background-color: rgba(68,68,68,0.9);" in #editBookmarkPanel {}
3. Saving browser.css, and updating classic.jar.
4. Running Firefox, then selecting menuitem "Bookmark This Page  Ctrl+D".
Actual Results:  
Firefox 3.1b1pre is crashed.
Steps to Reproduce:
1. Opening classic.jar with WinRAR, opening browser.css wih notepad.
2. Adding "-moz-border-radius: 8px;" in #editBookmarkPanel {}
3. Saving browser.css, and updating classic.jar.
4. Running Firefox, then selecting menuitem "Bookmark This Page  Ctrl+D".

Actual Results:  
Firefox 3.1b1pre is crashed.
Summary: #editBookmarkPanel cannot use transparent color → #editBookmarkPanel cannot use -moz-border-radius
When "-moz-appearance" is "menupopup", transparent color doesn't cause firefox crashed. When "-moz-appearance" is "none", transparent color causes firefox crashed.

/* The following code causes firefox crashed */
#editBookmarkPanel {
  -moz-appearance: none;
  background: rgba(68,68,68,0.9);
  color: MenuText;
  padding: 4px;
}

/* The following code has no problem, but background has no effect */
#editBookmarkPanel {
  -moz-appearance: menupopup;
  background: rgba(68,68,68,0.9);
  color: MenuText;
  padding: 4px;
}
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.