bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

CSS Padding does not work with XUL windows




19 years ago
10 years ago


(Reporter: german, Assigned: Eric Vaughan)




Firefox Tracking Flags

(Not tracked)


(Whiteboard: need this before beta!)



19 years ago
Assigning CSS padding to XUL windows results in errornous computing of window
width and bad rendering of the padding. Top and left gets rendered but bottom
and right edge of window get's cropped by the amount of top and left padding.
The bottom and right padding is not rendered at all.


19 years ago
Assignee: trudelle → danm

Comment 1

19 years ago
reassigning to danm, cc evaughan

Comment 2

19 years ago
Mass migration of minor danm bugs from M7 -> M8


19 years ago
Target Milestone: M8 → M11


19 years ago
Target Milestone: M11 → M14

Comment 3

19 years ago
A test case would be useful. Meanwhile, migrating display glitch bug past "beta."

Comment 4

19 years ago
can we bump up the priority and target date for this one, pretty please???
Test case? simple! Just uncomment the padding settings for window.dialog in
skin.css (chrome/global/skin/default) and watch what happens: the bottom and
right areas of the XUL window are getting cropped.
Please, David we need this asap, this is really blocking us from making dialogs
look good/usable by beta 1.

Comment 5

19 years ago
spam: changing qa contact from ckritzer -> paulmac for xul bugs
Summary: CSS Padding does not work with XUL windows → {css-moz} CSS Padding does not work with XUL windows


19 years ago
Summary: {css-moz} CSS Padding does not work with XUL windows → [beta]{css-moz} CSS Padding does not work with XUL windows
Whiteboard: need this before beta!

Comment 6

19 years ago
marking [beta] this is really blocking us from making dialogs
look right by beta 1.
Keywords: css-moz

Comment 7

18 years ago
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL.  XUL 
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL

Comment 8

18 years ago
  Hmmm. Personally, I think this bug doesn't fit criteria for what we're calling 
"beta." He says, ducking, as he chucks it into someone else's lap.
  Looks to me like the window's padding isn't being accounted for when its 
contents' size is calculated. A wild guess would make me suspect that's a bug in 
the box code, which would seem to be corroborated by an experiment that shows 
that wrapping the entire contents of a dialog's <window> tag in an <html:div> 
seems to fix the bug.
  Sounds like a box bug to me. Punting to Eric.
  PS: German's steps to reproduce should of course be changed to mention that 
what was once skin.css is now global.css.
Assignee: danm → evaughan
Target Milestone: M14

Comment 9

18 years ago
removing vestigial tags.  German, if you think this is a beta1 showstopper, you
need to add the 'beta1' keyword and a comment to get PDT review.
Summary: [beta]{css-moz} CSS Padding does not work with XUL windows → CSS Padding does not work with XUL windows

Comment 10

18 years ago
There is actually a similar problem with boxes that have margin and padding where 
a scrollbar is involved.  A scrollbar is attached to the box even when it should 
not be there, but if the margin and padding are removed the scrollbar goes away.

Comment 11

18 years ago
Target Milestone: M14
eric, we'll need this before the skinnability rewrite I think so we can remove 
the proprietary hacks people are using in various places to achieve padding 
around the edge of dialogs. 

Comment 13

18 years ago
*IGNORE* - massive spam changing open XPToolkit bug's QA contact to
QA Contact: paulmac → jrgm

Comment 14

18 years ago
Target Milestone: M14 → M15

Comment 15

18 years ago
Last Resolved: 18 years ago
Resolution: --- → FIXED


10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.