dbaron%fas.harvard.edu
cc452efb5b
Fix FindPrimaryFrameFor regression: when previous sibling is out-of-flow, start search from previous sibling's placeholder. b=145224 sr=waterson r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@122188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:07:07 +00:00
dbaron%fas.harvard.edu
255ee4ff0c
Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
shanjian%netscape.com
a9c700ad59
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
dbaron%fas.harvard.edu
36706675ec
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
...
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
smontagu%netscape.com
8e6b566ead
Fix for memory leak. Bug 145153, r=mkaply, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122097 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 22:03:19 +00:00
waterson%netscape.com
bb86b1d414
Bug 145272. Handle incremental reflows that are targeted at a child of a caption frame. r=karnaze, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@122086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 18:51:02 +00:00
rods%netscape.com
42e0661834
temporary patch to the forms controls to ignore mouse events when in
...
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122071 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 11:25:58 +00:00
rods%netscape.com
7add5ab6a7
The allows TAB events to be processed. This seems to work fine, because the
...
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122068 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 10:48:37 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
attinasi%netscape.com
33f7624433
Very High Level (tm) Layout Documentation. Work In Progress, not part of any build or product. Cheers, mates!
...
git-svn-id: svn://10.0.0.236/trunk@122031 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 21:07:29 +00:00
jdunn%netscape.com
bb1bb5520a
changing false to PR_FALSE
...
r=james.turner@crocodile-clips.com , bbaetz@student.usyd.edu.au
git-svn-id: svn://10.0.0.236/trunk@122021 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 13:17:13 +00:00
rods%netscape.com
7e8d6d3e59
patch to clamp to 1/10th of the largest dimension of a page - very low risk. I
...
think it is unrealistic that the smaller dim of the page would be less than 1/5
of the larger dimension. (and remove unneeded call to get the presshell)
Bug 145976 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122020 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 11:32:00 +00:00
dbaron%fas.harvard.edu
554bf97dfe
Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
attinasi%netscape.com
920feb16ba
Added How-To doc on debugging table reflow (provided by Bernd - Thanks!)
...
git-svn-id: svn://10.0.0.236/trunk@121973 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:12:06 +00:00
attinasi%netscape.com
18da03af0f
Some Table Debugging guidelines. Documentation only, not part of any build, product or gooseberry pie.
...
git-svn-id: svn://10.0.0.236/trunk@121971 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:06:15 +00:00
rods%netscape.com
c9a14d5e5f
unregisters the focus listener after a new one is installed.
...
Bug 145388 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00
glazman%netscape.com
e22242dc35
fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121925 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:33:25 +00:00
rods%netscape.com
fa1b0e717d
The problem here is the "edge" prefs are now preficed with the printer name,
...
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 10:53:45 +00:00
glazman%netscape.com
5ba41690ab
output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
...
b=142019, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121922 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 08:16:42 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
ben%netscape.com
93f2ce40bf
Check in Michiel van Leeuwen's patch for bug 135076 that fixes the problem where you get scroll arrows in submenus when the submenus are initially opened so close to the bottom of the screen that their position is adjusted to make them fit on screen. r=bryner, sr=ben.
...
git-svn-id: svn://10.0.0.236/trunk@121866 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 09:04:25 +00:00
peterlubczynski%netscape.com
004f3a6210
Removing extra line that sneaked in
...
git-svn-id: svn://10.0.0.236/trunk@121865 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com
9ebb36a3a8
Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@121864 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:29:48 +00:00
dbaron%fas.harvard.edu
778a1c0cc9
Limit the quirk that prevents dynamic pseudo-classes from applying to quirks mode, to :hover and :active only, and to a stricter definition of global selectors, since we no longer have to worry about performance problems. b=96984 sr=attinasi r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@121850 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-19 02:05:29 +00:00
rods%netscape.com
1801ad4a29
printing properties must be moved to global jar
...
Bug 138026 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121843 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 12:02:21 +00:00
bryner%netscape.com
7ef95162ae
Fix Copy Link Location. The tooltip timer was causing the document's popupNode to get nulled out. We don't actually need to set popupNode at all for tooltips, we have tooltipNode for that. Modified the menu popup code to use tooltipNode for tooltips. Bug 143607. r=hewitt, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@121829 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:55:16 +00:00
hewitt%netscape.com
0917e34b31
126480 - autocomplete popup doesn't appear the first time you type, r=ben, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@121779 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:24:48 +00:00
hewitt%netscape.com
85e23086ef
130448 - urlbar history popup mislocated if you have a long url in it (patch by schoepf@in.tum.de), r=ben, sr=me
...
git-svn-id: svn://10.0.0.236/trunk@121778 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:23:36 +00:00
aaronl%netscape.com
002526cf90
Bug 134787. Active Accessibility: support XBL checkbox (first XBL-based HTML form control to be supported). r=jgaunt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121739 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:03:12 +00:00
law%netscape.com
93531ad76c
Bugs 129614/129604/137676; ensure all download errors are shown to user (and fix download manager quirk so it doesn't think all downloads are 0kb of 0kb); r=bzbarsky, sr=blake
...
git-svn-id: svn://10.0.0.236/trunk@121703 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:31:53 +00:00
bzbarsky%mit.edu
5a398331a8
Fix positioning of fixed and absolute positioned blocks with auto left
...
or top. Bug 126213, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121700 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:05:27 +00:00
rods%netscape.com
031b1251a3
Printing and Print Preview Tests
...
git-svn-id: svn://10.0.0.236/trunk@121673 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:49:34 +00:00
dbaron%fas.harvard.edu
d7e353055e
Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121668 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:44:20 +00:00
jkeiser%netscape.com
de1df5e67d
Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121660 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:26:05 +00:00
rods%netscape.com
8776ddd71b
Adds a new arg to the PP call. The new arg is not being used, it is
...
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +00:00
dbaron%fas.harvard.edu
6ebd080e55
Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121620 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:39:44 +00:00
dbaron%fas.harvard.edu
4f72a32cd9
Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121617 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:30:57 +00:00
rbs%maths.uq.edu.au
ed6af20424
sync the CSS mapping of MathML attributes that affect the style (e.g. color) when these attributes are changed dynamically, b=142592, r=roc, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121587 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:11:09 +00:00
dougt%netscape.com
0cc68ec556
fixing bustage in cvg
...
git-svn-id: svn://10.0.0.236/trunk@121575 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:16:29 +00:00
waterson%netscape.com
d6944c48fa
Fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@121568 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:21:15 +00:00
dbaron%fas.harvard.edu
4a66bff07d
Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:58:20 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
waterson%netscape.com
4412c67242
Bug 143959. Now that we've figured out which box to pass through the recursion, we don't need the `aClearDirtyBits' flag anymore. This should fix the layout drop-outs in the mail three pane. r=dbaron, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@121475 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:27:46 +00:00
rods%netscape.com
ce71a66973
Somehow this didn't get checked in with everything else for Bug 115136
...
git-svn-id: svn://10.0.0.236/trunk@121474 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:25:43 +00:00
rods%netscape.com
de84818d20
Changing CID to ContractID and const char* to const char xxx[]
...
As part of Bug 144128
git-svn-id: svn://10.0.0.236/trunk@121469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:32:42 +00:00
rods%netscape.com
c9aff94488
Static build bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@121468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:15:19 +00:00
dbaron%fas.harvard.edu
5d19a6a9e8
Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:59:55 +00:00
dbaron%fas.harvard.edu
98637bcf6e
Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@121464 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:55:55 +00:00
rods%netscape.com
29c0c5d959
This patch does the following:
...
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
bzbarsky%mit.edu
707ff12de0
Make incremental reflow of fixed-position tables happier. Bug 94009,
...
r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121439 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:44:00 +00:00