14621 Commits

Author SHA1 Message Date
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
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
rbs%maths.uq.edu.au
593d0fea8e Rework the positioning functions of <mover>, <munder>, <munderover> to improve their behavior w.r.t italic and non-italics fonts. Also use some fuzzy arithmetic to mitigate roundoff errors that could cause accents to collide with their base, b=135940, r=bzbarsky, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:42:20 +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
neil%parkwaycc.co.uk
46096ef45d Bug 179567 Cannot dismiss menu by clicking on menubar p=aaron r=bryner sr=jag
git-svn-id: svn://10.0.0.236/trunk@136660 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 11:58:30 +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
f0e8462e9b Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@136619 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 03:44:52 +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
0d15904b17 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136598 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 15:58:49 +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
varga%netscape.com
725b369ff1 Fix for bug 188305. Dragging splitter paints tree 4 times
r=jag, sr=roc, patch by r.pronk@its.tudelft.nl


git-svn-id: svn://10.0.0.236/trunk@136594 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:05:24 +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
dbaron%dbaron.org
882c872a4c Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136553 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:41:20 +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
bzbarsky%mit.edu
46afe71aab Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@136488 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:55:10 +00:00
bzbarsky%mit.edu
212842b87c Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches.  Bug 185891, r=sicking, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136487 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:20:03 +00:00
roc+%cs.cmu.edu
ef05801247 Bug 187503. Fix regression by making nsScrollBoxFrame sync up view properties after the view is resized. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136458 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 00:14:07 +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
rbs%maths.uq.edu.au
7b59480583 Make the caret appear properly on invisible MathML operators, b=188146, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136406 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 05:10:03 +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
jst%netscape.com
1b18cf1dd9 Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136338 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:05:52 +00:00
sspitzer%netscape.com
4afe64f1a3 fix for bug #44823.
when not in threaded mode, don't take up space for the twisty in the
subject column.  thanks to neil@parkwaycc.co.uk for the fix.
r=varga, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@136335 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 22:37:01 +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
7055283d0d Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136319 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 21:50:27 +00:00
bryner%netscape.com
2eeb9eaf48 Combine content and layout into a single library (bug 106161). r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136296 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 07:08:59 +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