9282 Commits

Author SHA1 Message Date
karnaze%netscape.com
fb3fcd3efb new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@122423 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:53:34 +00:00
karnaze%netscape.com
fbaf4d843a bug 144024 - Don't store first in flow row groups and rows in map border iterator. Use row group of first in flow row group when accessing offset for borders. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@122421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:40:51 +00:00
karnaze%netscape.com
bbd8189ddf bug 1458423 - don't repeat a thead or tbody that is continued. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122419 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:32:38 +00:00
roc+%cs.cmu.edu
614583e822 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:20:23 +00:00
smontagu%netscape.com
e61e87ebaa Fix for bug 147183: Text shown inside JavaScript under title in IOL.co.il is aligned LTR rather than RTL. r=hixie, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122274 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 19:42:07 +00:00
bernd.mielke%snafu.de
886ec4bd2d removal of debug cruft bug 146474 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122269 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:55:34 +00:00
karnaze%netscape.com
39e27ba055 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@122241 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 23:44:53 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
waterson%netscape.com
5b30d03c75 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@121416 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:00:31 +00:00
waterson%netscape.com
40088e3131 Bug 143959. Temporarily disable block reflow coalescing.
git-svn-id: svn://10.0.0.236/trunk@121388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 19:00:56 +00:00
jgaunt%netscape.com
775b50b9ce bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst


git-svn-id: svn://10.0.0.236/trunk@121300 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:34:53 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
kmcclusk%netscape.com
636f37816d Move logic in nsHTMLFrameInnerFrame's destroy to nsHTMLFrameInnerFrame:Destroy so its contents are destroyed *before* nsHTMLFrameInnerFrame is destroyed. bug=66748 r=jkeiser@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121235 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:25:41 +00:00
karnaze%netscape.com
67ff631786 bug 141021 - skip row reflow optimization of cell when the cell hasn't had a pass2 reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121170 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:44:02 +00:00
karnaze%netscape.com
fc7ff3663e bug 120107 - calc max/max-elem sizes when requested during an unconstrained incremental reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121165 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:28:28 +00:00
dbaron%fas.harvard.edu
fb8751252d Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121082 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:27:40 +00:00
tingley%sundell.net
2b6c6bc17b Fix regression of bug 89065 to make text-decoration: blink work again.
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121015 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:26:02 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
waterson%netscape.com
a6d480fbb6 Add some NOISY_SPACEMANAGER debugging code.
git-svn-id: svn://10.0.0.236/trunk@120946 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:08:54 +00:00
waterson%netscape.com
ec9aa1aeb8 Fix debug-only printf.
git-svn-id: svn://10.0.0.236/trunk@120945 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:53 +00:00