4044 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b993aac32b Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
jkeiser%netscape.com
f8391e212d Fix window focus event regressions (bug 190767), patch by Ruslan Ismailov (croo@nm.ru), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@137244 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 05:26:16 +00:00
timeless%mozdev.org
f104e2ff56 Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
caillon%returnzero.com
30a2ad500d comment fixes r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 08:01:37 +00:00
rbs%maths.uq.edu.au
1a7b3b4f82 Add a comment following b=123049, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136832 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:56:13 +00:00
jkeiser%netscape.com
febf4c259f Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136753 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 21:26:45 +00:00
dbaron%dbaron.org
57b1c2e02a Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136706 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 00:47:14 +00:00
karnaze%netscape.com
8ece4a7c7a bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136686 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 18:04:34 +00:00
jrgm%netscape.com
6c03de01b4 remove '#ifndef REPEATING_TIMERS' code. This was accidentally turned back on in 9/02 after being dead from 12/01, and will now revert to using repeating timers. Affect caret, <blink>, bookmarks & search 'ping'. bug 182141, r+sr=smfr
git-svn-id: svn://10.0.0.236/trunk@136651 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 04:26:17 +00:00
rbs%maths.uq.edu.au
534041f379 In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136649 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 01:07:03 +00:00
karnaze%netscape.com
4d0ce76270 bug 175455 - Added mTableDerivedComputedWidth to the reflow state to detect computed widths which exist only because of table cells. Limit percent width of descendants whose percentage base has such a computed width. sr=roc, r=bernd
git-svn-id: svn://10.0.0.236/trunk@136643 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:07:39 +00:00
karnaze%netscape.com
23adc41944 Added AdjustAbsoluteContainingBlock to get the first-in-flow of a positioned inline frame in galley mode as the absolute containing block. sr=bzbarsky, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@136638 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 18:58:59 +00:00
caillon%returnzero.com
b9398c95d8 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@136615 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:36:04 +00:00
caillon%returnzero.com
9eac0ede5b Fix build bustage. OS/2 and Sun Workshop won't do implicit type conversions (like .get() on an nsCOMPtr) while trying to match a template.
See also revision 3.188 of this file.


git-svn-id: svn://10.0.0.236/trunk@136508 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:16:36 +00:00
cbiesinger%web.de
8b51a21663 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
4e9b13ef00 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
dbaron%dbaron.org
d88b1da3bc Fix misplaced closing } from patch in bug 188734. b=189292
git-svn-id: svn://10.0.0.236/trunk@136413 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 13:59:52 +00:00
bzbarsky%mit.edu
291ec6eb41 Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 02:59:04 +00:00
dbaron%dbaron.org
eeb782e6c5 Fix ContentStatesChanged so it correctly handles combinations of two elements where one is changing from 'display:none' to needing frames. b=188734 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136277 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 01:29:34 +00:00
dbaron%dbaron.org
19a9279a84 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136266 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:10:53 +00:00
bernd.mielke%snafu.de
1b0deca181 fix the color code to make tables in quirks mode on white background to look outset bug 14090 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136215 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 12:11:05 +00:00
bzbarsky%mit.edu
3d71548f10 "Use my chosen colors" should override border-colors too. Bug 156002, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136115 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 01:58:37 +00:00
aaronl%netscape.com
ee27cb1b5c Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
1c7f8e98ea Make GetStyleDataExternal |const| to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@136060 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 08:07:27 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
smontagu%netscape.com
d822833720 Caret not displayed in empty right-aligned text input fields. Bug 105397, r=kin, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@136041 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 01:01:38 +00:00
smontagu%netscape.com
3b982b6a24 Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@136036 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 00:22:16 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
dbaron%dbaron.org
a53a959416 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
aaronl%netscape.com
27c1dea4ad Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set
git-svn-id: svn://10.0.0.236/trunk@135922 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 02:09:06 +00:00
bzbarsky%mit.edu
8d092fcca8 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).


git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
bzbarsky%mit.edu
ddf6bf65b0 Change the algorithm used to darken text when printing a tad to produce better
results.  Bug 141232, r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135851 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 04:52:27 +00:00
bernd.mielke%snafu.de
01e1c41113 fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin
git-svn-id: svn://10.0.0.236/trunk@135845 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-04 10:49:50 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
caillon%returnzero.com
6fa69e00be 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135660 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 00:03:33 +00:00
caillon%returnzero.com
0aaf7ffe86 Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135650 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-27 07:32:17 +00:00
dbaron%fas.harvard.edu
37f38041d9 Reduce paint suppression timeout from 1200ms to 250ms (to match Phoenix and Chimera). b=180241 r=rjesup sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135641 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-26 21:03:23 +00:00
caillon%returnzero.com
bd02488338 Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
r=dbaron sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@135597 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:08:04 +00:00
roc+%cs.cmu.edu
55be3c1d27 Backing out fix for bug 170330... againr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
b997358c68 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
cbiesinger%web.de
54ceae4528 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp
git-svn-id: svn://10.0.0.236/trunk@135544 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 10:33:38 +00:00
dbaron%fas.harvard.edu
a7efa8275b Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
jkeiser%netscape.com
ac42e42ba8 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
bratell%lysator.liu.se
ba519d3390 Backout of bug 110718 to fix Tp regression and raise-on-load issues.
git-svn-id: svn://10.0.0.236/trunk@135333 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 19:52:22 +00:00
roc+%cs.cmu.edu
8293c257e0 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
aaronl%netscape.com
ed5fb21283 Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc
git-svn-id: svn://10.0.0.236/trunk@135298 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 08:05:51 +00:00
dbaron%fas.harvard.edu
721fd4b402 Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135259 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:13:17 +00:00