10840 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
35e33e2e07 CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162220 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 18:21:03 +00:00
roc+%cs.cmu.edu
26dae9e55b Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162210 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 13:35:46 +00:00
dbaron%dbaron.org
bbe291225f The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 05:39:27 +00:00
bzbarsky%mit.edu
068c8b28b1 Fix crash due to text inputs flushing pending restyles while we're in text
control frame code.  Bug 257818, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162194 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:19:58 +00:00
bzbarsky%mit.edu
b5b1e1b77a Make sure not to add entries to the pending restyle hashtable while enumerating
it.   Bug 257694 (also fixes bug 256242, bug 258101).  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162193 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:08:14 +00:00
dbaron%dbaron.org
161ac90313 Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@162192 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 03:22:46 +00:00
roc+%cs.cmu.edu
007e533df8 Bug 258118. Ensure that float breaks are eventually honoured even if the line with the break is not reflowed and the following line is empty. r+sr=dbaron(rubber-stamp)
git-svn-id: svn://10.0.0.236/trunk@162191 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:21:35 +00:00
roc+%cs.cmu.edu
d9025f99fb Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
git-svn-id: svn://10.0.0.236/trunk@162190 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:10:29 +00:00
mats.palmgren%bredband.net
1cbbbb7f10 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162184 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
3956b19b41 Backing out bug 167001, which I should not have reviewed without more careful consideration.
git-svn-id: svn://10.0.0.236/trunk@162168 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 19:32:50 +00:00
bmlk%gmx.de
eb73ad615e don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162132 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:08:53 +00:00
smontagu%smontagu.org
0abf27ba72 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@162131 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
jst%mozilla.jstenback.com
6d9a847d4a Landing fix for bug 258487, patch by Wladimir Palant <trev@gtchat.de>. Add code to check a pref for how to treat popups opened by a plugin. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161999 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 18:53:21 +00:00
aaronleventhal%moonset.net
ef893ae0a8 Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@161935 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 19:32:29 +00:00
jst%mozilla.jstenback.com
08a3874eb0 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161885 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 22:34:02 +00:00
bryner%brianryner.com
6bab9e3329 Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
f9bdcbfb99 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161771 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 23:03:04 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
bmlk%gmx.de
beb1e800a5 1. enhancement of the debug code so that coltypes become visible
2. remove the isanonymous flag which is unused
3. make the col dump routine #ifdef DEBUG
4. stop to defer the appending of the colgroup frame. bug 248474 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@161755 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
22aae5389e Back out text input changes from bug 72747.
git-svn-id: svn://10.0.0.236/trunk@161743 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:49:25 +00:00
dbaron%dbaron.org
09307f3c9f Back out text input changes from bug 72747.
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
91c4a5d884 Land bug 72747 in pieces: Clean up PropagateScrollToViewport and ensure it doesn't set a viewport override of NS_STYLE_OVERFLOW_CLIP. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161739 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 00:01:12 +00:00
dbaron%dbaron.org
d223d8305c Land bug 72747 in pieces: A little cleanup. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161738 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:57:42 +00:00
dbaron%dbaron.org
6bd6d2aaf3 Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161735 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:29:38 +00:00
dbaron%dbaron.org
d9fbd9ddf7 Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161734 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:28:26 +00:00
dbaron%dbaron.org
76aef2c246 Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
a327321c0a Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161731 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:17:18 +00:00
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +00:00
timeless%mozdev.org
233b435aa1 Bug 257877 replacement content isn't rendered if gkplugin.dll isn't present
r=jst sr=bz


git-svn-id: svn://10.0.0.236/trunk@161726 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:49:13 +00:00
jst%mozilla.jstenback.com
5fd9a64c91 Fixing bug 257690. Make sure to mark the content created for generated content as anonymous content to get the content nodes to do their proper cleanup on document teardown. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161690 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 05:00:40 +00:00
dbaron%dbaron.org
7fe37df265 Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161688 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 00:46:43 +00:00
dbaron%dbaron.org
2ad99ee1c7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161683 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:37:02 +00:00
dbaron%dbaron.org
e8aae32dd7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bryner%brianryner.com
4bbe6bddf6 Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@161677 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 21:10:40 +00:00
neil%parkwaycc.co.uk
32381ec076 Bug 257721 nsPresShell::PostAttributeChange needs to construct its nsAttributeChangeRequest (HandlePostedAttributeChanges was already calling the destructor) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161653 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 08:56:30 +00:00
bmlk%gmx.de
30843172bf tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161644 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 06:36:56 +00:00
kyle.yuan%sun.com
e826d2ca87 Bug 254997 Caret tracking by line (down arrow) skips over huge portions of the document. r=aaronl, sr=roc, patch=ginn.chen@sun.com
git-svn-id: svn://10.0.0.236/trunk@161640 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 05:02:53 +00:00
bryner%brianryner.com
ae9e02402a deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
jst%mozilla.jstenback.com
57e55d8a58 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net
ef3f8b9010 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@161578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu
c66af173cf Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161574 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 13:33:17 +00:00
bryner%brianryner.com
ffa6c10070 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bmlk%gmx.de
deb5280c1e bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161544 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:57:06 +00:00