9809 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
bzbarsky%mit.edu
d017e2b06c Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa


git-svn-id: svn://10.0.0.236/trunk@137191 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 10:21:52 +00:00
bzbarsky%mit.edu
4c6540337b Fix abs pos positioning regression. Bug 181644 redux, patch by
Rick.Ju@sun.com, r=bzbarsky, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137078 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 11:35:10 +00:00
peterlubczynski%netscape.com
cf3e6e800a Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@137041 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 21:59:28 +00:00
bernd.mielke%snafu.de
8dc8a39e8b set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa
git-svn-id: svn://10.0.0.236/trunk@137020 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 05:19:20 +00:00
kin%netscape.com
dd9ec493c4 Fix for bug 190382 (selectionEnd off by one when user selects text via CMD/CTRL-A)
- Prevent DOMPointToOffset() from counting a br as a newline, if it is the last child of the anonymous div.

- Fixed 3 compiler warnings in DOMPointToOffset().

r=jkeiser@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@136979 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 15:25:38 +00:00
bryner%netscape.com
73ac5f125a fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc.
git-svn-id: svn://10.0.0.236/trunk@136947 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-25 01:47:20 +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
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
kin%netscape.com
bf1214f351 Fix for bug 188440 (textfields clobber selection when they should not.)
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.

r=brade  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@136731 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 15:17:32 +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
dc2886a303 back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash.
git-svn-id: svn://10.0.0.236/trunk@136645 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:44:23 +00:00
karnaze%netscape.com
64afda8ff4 bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@136644 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:25:29 +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
dbaron%dbaron.org
9a4fc1be02 Make the area frame containing the options of a select always have NS_BLOCK_SPACE_MGR so that outside floats don't mess up the inside of a select. b=48237 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136642 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:02:38 +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
dbaron%dbaron.org
6f8b60dd7f Add testcase for bug 48237.
git-svn-id: svn://10.0.0.236/trunk@136627 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 16:32:57 +00:00
bernd.mielke%snafu.de
34d7f03d82 limit the number of rowspans to value that can be handled by the cellmap bug 141818 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136626 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 15:15:22 +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
roc+%cs.cmu.edu
f488de6005 Bug 117631. -moz-border-radius can make views transparent. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@136609 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:28:02 +00:00
dbaron%dbaron.org
e44c2a9f95 Make nsContinuingTextFrame::GetFirstInFlow not crash. b=189515 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136597 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 15:21:33 +00:00
bernd.mielke%snafu.de
65f1c9b07d improved carret navigation in tables containing rowspans, bug 187060 r=karnaze sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136595 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:05:50 +00:00
bernd.mielke%snafu.de
2cf71c064f fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan
git-svn-id: svn://10.0.0.236/trunk@136591 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:02:52 +00:00
dbaron%dbaron.org
0334c9e020 Fix strict mode 'text-decoration' on table-cells. b=189386 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136555 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:42:37 +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
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
c8812581f2 Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
git-svn-id: svn://10.0.0.236/trunk@136437 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 21:05:09 +00:00
bzbarsky%mit.edu
a51e000a16 eliminate some build warnings. See bug 187117.
git-svn-id: svn://10.0.0.236/trunk@136426 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 19:44:21 +00:00
dbaron%dbaron.org
2d204ffc53 Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
git-svn-id: svn://10.0.0.236/trunk@136422 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 19:21:23 +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
cbiesinger%web.de
2ef210c862 remove redundant ifdefs 189172 r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@136364 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 18:21:31 +00:00
cbiesinger%web.de
90ae9cf43a 188586 r+sr=bz nsObjectFrame should use mime service
git-svn-id: svn://10.0.0.236/trunk@136322 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 21:59:05 +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
b28c0284b2 enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136231 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 12:10:11 +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
peterlubczynski%netscape.com
883ef02946 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL
git-svn-id: svn://10.0.0.236/trunk@136176 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 21:48:56 +00:00
neil%parkwaycc.co.uk
66a63fa2b0 Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136154 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 09:24:30 +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
dbaron%dbaron.org
c2b73f96e3 Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136104 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:30:50 +00:00
smontagu%netscape.com
d3fbbabadb Corrections to measurement of justified Arabic text. Bug 187866, r=sfraser, sr=rbs@maths.uq.edu.au.
git-svn-id: svn://10.0.0.236/trunk@136089 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 21:15:52 +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