Commit Graph
70 Commits
Author SHA1 Message Date
[email protected] c2cc498217 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc 2004-11-11 15:07:22 +00:00
[email protected] 14d7c872ee Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
[email protected] 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
[email protected] 15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
[email protected] a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
[email protected] bfa2b2d5c6 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
[email protected] f98e358469 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
[email protected] 76bc22515a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] fd22bd13c9 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
[email protected] 0d9875f0a1 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
[email protected] bcb6aea72a Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
[email protected] 1672ad6e7e Remove nsFormFrame forever. bug 125578, [email protected], [email protected] 2002-06-04 00:44:04 +00:00
[email protected] 7ce5d8ded3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
[email protected] e4395c199e Move save/restore form control state to content (bug 108309). [email protected], [email protected], [email protected] 2002-03-31 10:14:01 +00:00
[email protected] 87b93658ee Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
[email protected] 53689ad5e3 Move save/restore of form controls to content (bug 108309) ([email protected], [email protected], [email protected]) 2002-03-29 05:35:47 +00:00
[email protected] 15f70f75b9 Move radio buttons to content (bug 108308). [email protected], [email protected], [email protected] 2002-03-07 20:53:40 +00:00
[email protected] e110fdc322 Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf
2002-01-11 19:39:51 +00:00
[email protected] 46f35ee536 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd 2002-01-09 19:17:46 +00:00
[email protected] edc54e6926 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
[email protected] 32b5dcccc9 Checkin in for John Keiser <[email protected]>. Make checkboxes and
radio buttons not fire onChange on pageload if they are checked by
default.  Bug 112218, r=rods, sr=jst
2002-01-07 20:37:22 +00:00
[email protected] 127612eaa5 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi 2002-01-07 19:55:56 +00:00
[email protected] fe26ae09fc Fix to make radio buttons and checkbox show their values on Print (bug 109914). [email protected],[email protected] 2001-11-16 02:43:23 +00:00
[email protected] a3ac20fe84 bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
[email protected] 686c80f47c Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson 2001-11-03 06:23:19 +00:00
[email protected] af4947ee24 Checking in John Keiser's <[email protected]> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. [email protected], [email protected] 2001-11-02 07:40:01 +00:00
[email protected] 63f46f0ed2 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] 5b7e018561 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
[email protected] 0b20fc36bb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
[email protected] 04dd96ee29 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
[email protected] dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
[email protected] b050d1d105 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. [email protected], [email protected], [email protected] ([email protected]) 2001-05-30 11:26:21 +00:00
[email protected] 2b93d3f3e9 Fix for bug #80902
-r [email protected] -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
[email protected] c32a797cb6 Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
[email protected] 41614822f1 Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, [email protected], [email protected] 2001-04-24 08:33:57 +00:00
[email protected] 0f41960fd3 Accessibility work. bug #12952
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
[email protected] 690be860d9 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
[email protected] 5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
[email protected] fd4565accc Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), [email protected], [email protected] 2001-02-06 01:59:59 +00:00
[email protected] a1ed5b3a4f This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
[email protected] 99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
[email protected] 37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
[email protected] 9392c50d60 removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460
2000-12-10 16:05:29 +00:00
[email protected] bf2e578170 Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state [email protected] 2000-08-31 00:59:31 +00:00
[email protected] 3ba32f670e DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
[email protected] bb4ef6cf05 More bustage fixing with style struct return types. 2000-08-09 00:52:02 +00:00
[email protected] b78873aa1d Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
[email protected] 23e1d38b6b The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)

plus I made a minor change that allows the radio button to use the PaintBackground code to draw the "dot"
but it creates a tmp color struct so the color is correct.
b=42972,37517 r=kmcclusk
2000-08-02 22:06:33 +00:00