Commit Graph

16412 Commits

Author SHA1 Message Date
dbaron%dbaron.org
34f9012e66 Backing out bug 167001, which I should not have reviewed without more careful consideration. 2004-09-12 19:32:50 +00:00
bzbarsky%mit.edu
26e0feee63 Fix crash in nsScrollBoxObject::::EnsureElementIsVisible. Bug 257607, patch by
Justin <justin@openaether.org>, r+sr=bzbarsky.
2004-09-12 04:15:44 +00:00
mats.palmgren%bredband.net
14b5343acd Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org 2004-09-11 23:24:30 +00:00
bmlk%gmx.de
002c0c28fc changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron 2004-09-11 06:13:47 +00:00
bmlk%gmx.de
02de8104c7 don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky 2004-09-11 06:08:53 +00:00
smontagu%smontagu.org
c86afdf533 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron. 2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
2afd699c4e Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
a095f39235 Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
bryner%brianryner.com
8261446984 Hook up gtk2 native keybindings for editor. This gets rid of htmlBindings.xml and instead makes the platform-neutral base bindings be included via the preprocessor, allowing the editorBase bindings to not be applied on gtk2. Also, removed obsolete mac CFM package files. Bug 257405, r=bzbarsky, sr=ben. 2004-09-10 07:17:31 +00:00
dbaron%dbaron.org
96c0e36f4e 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 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu
994c0e7ca2 Fix build bustage. 2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu
a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
jst%mozilla.jstenback.com
cef12da780 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 2004-09-09 18:53:21 +00:00
dbaron%dbaron.org
9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
aaronleventhal%moonset.net
f4a48e2f49 Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner 2004-09-08 19:32:29 +00:00
dbaron%dbaron.org
f8dbaa44ac Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky 2004-09-08 05:42:03 +00:00
jst%mozilla.jstenback.com
5aed475ce3 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org 2004-09-07 22:34:02 +00:00
bryner%brianryner.com
6cfd959442 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. 2004-09-07 21:21:48 +00:00
smontagu%smontagu.org
a5a6cadc55 Bug 140577: Radio buttons and check boxes aligned to the left when UI aligned to the right, r+sr=roc. 2004-09-06 20:18:23 +00:00
bryner%brianryner.com
5e7349dd5d Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
cb5add0739 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc 2004-09-04 23:03:04 +00:00
dbaron%dbaron.org
9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 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 2004-09-04 19:28:46 +00:00
bmlk%gmx.de
a6249cf9b7 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
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
fff31dd733 Land bug 72747 in pieces: Add default constructor for ScrollbarStyles. b=72747 r+sr=roc 2004-09-04 07:35:12 +00:00
dbaron%dbaron.org
cc5c573459 Land bug 72747 in pieces: Change types on ScrollbarStyles from PRInt32 to PRUint8. b=72747 r+sr=roc 2004-09-04 07:02:46 +00:00
dbaron%dbaron.org
31bf95ea38 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 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
a8633dbceb Back out text input changes from bug 72747. 2004-09-04 03:49:25 +00:00
dbaron%dbaron.org
9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
9378451dc3 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 2004-09-04 00:01:12 +00:00
dbaron%dbaron.org
b6c0edfe8e Land bug 72747 in pieces: A little cleanup. b=72747 r+sr=roc 2004-09-03 23:57:42 +00:00
dbaron%dbaron.org
4013de8926 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 2004-09-03 23:29:38 +00:00
dbaron%dbaron.org
1d4d3b735f 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 2004-09-03 23:28:26 +00:00
dbaron%dbaron.org
d2d8096ade 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 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
076f00e7d4 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 2004-09-03 23:17:18 +00:00
dbaron%dbaron.org
7dc30e0f2f Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 22:28:34 +00:00
dbaron%dbaron.org
8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
timeless%mozdev.org
913724936a Bug 257877 replacement content isn't rendered if gkplugin.dll isn't present
r=jst sr=bz
2004-09-03 21:49:13 +00:00
jst%mozilla.jstenback.com
08c3d6cd16 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 2004-09-03 05:00:40 +00:00
dbaron%dbaron.org
77d25b92c6 Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 00:46:43 +00:00
dbaron%dbaron.org
c7058a9684 Land bug 72747 in pieces: convert users of nsIScrollableFrame::GetScrollPreference to using GetScrollbarStyles. b=72747 r+sr=roc 2004-09-03 00:43:46 +00:00
dbaron%dbaron.org
aa758fc43b Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:37:02 +00:00
dbaron%dbaron.org
01f5e54ff0 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:27:23 +00:00
dbaron%dbaron.org
d8f8c8bde9 Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc 2004-09-02 23:18:37 +00:00
bryner%brianryner.com
96ff7a927c Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst. 2004-09-02 21:10:40 +00:00
jst%mozilla.jstenback.com
dea7a573d7 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu 2004-09-02 15:25:39 +00:00
neil%parkwaycc.co.uk
3d9b16ed8b Bug 257721 nsPresShell::PostAttributeChange needs to construct its nsAttributeChangeRequest (HandlePostedAttributeChanges was already calling the destructor) r+sr=roc 2004-09-02 08:56:30 +00:00
bmlk%gmx.de
eb2e3f075e tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky 2004-09-02 06:36:56 +00:00
kyle.yuan%sun.com
435ec50dcf Bug 254997 Caret tracking by line (down arrow) skips over huge portions of the document. r=aaronl, sr=roc, patch=ginn.chen@sun.com 2004-09-02 05:02:53 +00:00
bryner%brianryner.com
dc76c57a2c 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. 2004-09-02 03:08:51 +00:00
bryner%brianryner.com
e14abad4f9 Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
jst%mozilla.jstenback.com
bc321b52bc Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net
1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu
9fe7e8650d Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron 2004-09-01 13:33:17 +00:00
bryner%brianryner.com
4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bmlk%gmx.de
d5cfd51a13 bustage fix 2004-08-31 19:26:37 +00:00
bmlk%gmx.de
879d8114ba bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky 2004-08-31 18:57:06 +00:00
bmlk%gmx.de
7884179497 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc 2004-08-31 18:50:40 +00:00
neil%parkwaycc.co.uk
ee7cfef31f Bug 257276 ConstructDocElementFrame and ConstructFrameInternal need to update their display style cache after reresolving style for XBL r+sr=dbaron 2004-08-29 09:49:31 +00:00
bryner%brianryner.com
ee9eb14e72 fixing btek bustage 2004-08-29 04:18:27 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
2f0f78bbcb Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor. 2004-08-28 23:59:15 +00:00
neil%parkwaycc.co.uk
bc4e34d054 Bug 254061 Fix scrollbars in popups inside scrolled frames r+sr=roc 2004-08-28 11:41:02 +00:00
roc+%cs.cmu.edu
3aa85b6fa6 Bug 255584. Relanding nsBoxToBlockAdaptor change that avoids adding area above and to the left of the frame origin to the scrollable area ... because we can't scroll there anyway. r+sr=dbaron 2004-08-28 02:05:28 +00:00
bmlk%gmx.de
59e5b7d012 xul frames should compute MEW only when they are really requested to do so, bug 256006 r/sr=dbaron 2004-08-27 16:51:05 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
34a39349e6 Relanding fix for bug 253977, now that state bits prevent GetOverflowLines from being expensive. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-26 12:38:50 +00:00
dbaron%dbaron.org
6897ffa2e4 Clean up excessive copy-and-paste of scrollframe building code in ConstructXULFrame. b=256910 r+sr=roc 2004-08-26 08:34:40 +00:00
roc+%cs.cmu.edu
5990b839d3 Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron 2004-08-26 03:07:05 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
gerv%gerv.net
ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
dbaron%dbaron.org
3e41286516 Convert tabs to spaces. 2004-08-25 22:06:32 +00:00
bryner%brianryner.com
80588b592f This change didn't seem to help, backing out. 2004-08-25 18:19:01 +00:00
bryner%brianryner.com
3cde0b2c62 Testing whether inlining the Get/SetProperty calls in Get/SetView helps the Tp regression from bug 253888. 2004-08-25 16:29:47 +00:00
peterv%propagandism.org
f000eed21d Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst. 2004-08-25 14:17:40 +00:00
roc+%cs.cmu.edu
fac644e416 Bug 252920. Compute the block overflow area using nsRects instead of some hokey homegrown calculations. Don't advancy mY for empty lines. r+sr=dbaron 2004-08-25 13:10:06 +00:00
roc+%cs.cmu.edu
51ea58fa47 Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron 2004-08-25 13:03:28 +00:00
bryner%brianryner.com
dde6b68845 slight optimization to previous checkin, bug 253888 2004-08-24 21:47:04 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
tor%cs.brown.edu
0c326e84e7 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
kjh-5727%comcast.net
55dab83c6b Bug 256436 - Backing out the patch from bug 255584 due to a regression.
Requested by roc.
2004-08-22 20:24:16 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu
01147f5d80 Bug 253977 backout because of possible Tp regression on btek. 2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu
aca07ab169 Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-22 03:00:46 +00:00
smontagu%smontagu.org
53811b4385 Correct the joining of some Urdu characters. Bug 255566, r=jshin, sr=rbs. 2004-08-21 20:09:51 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
roc+%cs.cmu.edu
1bd2f329e8 Bug 255584. Don't include areas above and to the left of the origin when we're trying to figure out the scrollable width and height --- we can't scroll to them! r+sr=dbaron 2004-08-21 03:04:26 +00:00
dbaron%dbaron.org
9816849d39 Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky 2004-08-20 20:55:17 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com
645c255390 Fix double handling of arrow keys in menus on gtk2 (bug 219706). This prevents the OS default action from occuring if we've handled the event. We may want to stop the signal at the gtk level as well, but this fix should be reasonable safe. r=mkaply, sr=dbaron. 2004-08-19 18:36:42 +00:00
bmlk%gmx.de
92a261b558 formcontrol testcases that exhibit various maxElementWidth scenarios, not part of any build 2004-08-19 15:32:40 +00:00
blizzard%redhat.com
ef9cff0f4e Bug #255405. BinarySearchForPosition can generate invalid unicode for text measurement. Make sure to not send half of a surrogate pair down to the font layer. r+sr=roc 2004-08-19 15:31:30 +00:00
neil%parkwaycc.co.uk
bd8c0f4716 Bustage fix for bug 235966 p=trev@gtchat.de r=me 2004-08-19 09:11:15 +00:00
timeless%mozdev.org
cfeb9e7caf Bug 235966 nsMenuBarListener.cpp opens the menu on Ctrl+Alt+T
patch by trev@gtchat.de r=varga sr=bryner
2004-08-19 08:04:11 +00:00
kyle.yuan%sun.com
bb45fcc626 Backout the patch for 251492. Need a better solution for that. 2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com
65b3fef078 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-08-19 02:23:15 +00:00
jst%mozilla.jstenback.com
c5771baf3e Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu 2004-08-18 22:13:10 +00:00
neil%parkwaycc.co.uk
6f47653428 Bug 255929 Can't drag scrollbar in Print Preview r+sr=roc 2004-08-18 19:17:13 +00:00
timeless%mozdev.org
d0e42efd8e Bug 253539 Report origin url for css mime warnings/errors
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
vladimir%pobox.com
cfcb233cb8 Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan 2004-08-14 01:01:16 +00:00
bryner%brianryner.com
0fa9344f94 Fix for reflow problem in XUL dialogs (bug 255270, smoketest blocker). Patch by bzbarsky, r=neil, sr=dbaron. (I'm conservatively just removing the hack in nsHlperAppDlg by restoring it to its previous state). 2004-08-13 18:25:33 +00:00
bzbarsky%mit.edu
d4226e05fa Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc 2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu
1c4a42dc1f Addendum to bug 253572 patch per dbaron's comment in the bug. 2004-08-11 00:17:54 +00:00
bzbarsky%mit.edu
f5ed95e537 Backing out patch for bug 108817 to test whether it causes the Tp regression. 2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu
abb7d4ca9a Make sure that GetFrameForPoint checks all layers of each float before moving
on to the next one.  Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
bzbarsky%mit.edu
b34ac7a3db Remove the timer stuff in nsListControlFrame and replace it with a simple
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list.  Also eliminate the mPresContext member.
Bug 108817, r+sr=roc
2004-08-10 22:21:03 +00:00
bzbarsky%mit.edu
13b9d0ed5b Trying to fix Tp regression. More of bug 254378, r+sr=roc 2004-08-10 21:25:48 +00:00
bzbarsky%mit.edu
6ac53e9e40 Cache the IsEmpty() state in the framestate so we don't have to do quite as
much style-getting and QIing.  Bug 254378, r+sr=roc
2004-08-10 19:09:49 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
tor%cs.brown.edu
8b7a521e30 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
b09ea9029d Make sure to not call ProcessRestyledFrames if we have a non-reframe hint and
no frame.  Followup to bug 230170.
2004-08-10 04:44:10 +00:00
bzbarsky%mit.edu
94990b951c Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
tor%cs.brown.edu
30b7993601 Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
neil%parkwaycc.co.uk
c92d2393e1 Bug 253798 General or menu access keys should not affect xul menulists r+sr=roc 2004-08-09 22:22:02 +00:00
bzbarsky%mit.edu
85ca7788b0 Eliminating mCharset mode of prescontex. Bug 253489, r+sr=roc 2004-08-09 21:19:15 +00:00
tor%cs.brown.edu
92e47fa4f7 Bug 243536 - Remove NS_NOTYETIMPLEMENTED from nsSVGTransformList.cpp.
Patch by jonathan.watt@strath.ac.uk, r=afri.
2004-08-09 14:44:54 +00:00
mats.palmgren%bredband.net
9f3cd71287 Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky 2004-08-08 18:44:09 +00:00
mats.palmgren%bredband.net
8c791cd60c Added more log messages for incorrect "coords" attribute values. b=233353 r+sr=bzbarsky 2004-08-08 14:05:35 +00:00
alex%croczilla.com
dd3b42884d Remove obsolete declarations. SVG only - not part of default builds. 2004-08-08 09:38:58 +00:00
bzbarsky%mit.edu
ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
mats.palmgren%bredband.net
1bed266aff Add width for letter-spacing when calculating desired width of text input controls. b=252783 r=bzbarsky sr=dbaron 2004-08-07 22:04:27 +00:00
darin%meer.net
7fad093c68 fixing win32 debug bustage 2004-08-06 19:48:04 +00:00
darin%meer.net
be2edb1976 fixing win32 debug bustage; we really need a debug tinderbox!! 2004-08-06 19:42:47 +00:00
mats.palmgren%bredband.net
2ec5e837c2 Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
smontagu%smontagu.org
0cd9444184 Bug 245965: Forcing visual Bidi through preferences doesn't work. r=mkaply, sr=dveditz. 2004-08-05 21:38:08 +00:00
dbaron%dbaron.org
e9896c1d58 Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099 2004-08-05 19:10:16 +00:00
dbaron%dbaron.org
53d986e97b Attempt to fix Windows bustage. b=238099 2004-08-05 18:44:42 +00:00
dbaron%dbaron.org
d35f39cc02 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
alex%croczilla.com
d28fba9776 Bug #252637: Implement inner <svg> elements. r=tor, sr=dbaron for nsCSSFrameConstructor changes. SVG only - not part of default builds. 2004-08-05 09:01:13 +00:00
bzbarsky%mit.edu
debcc046a2 Check for updated bullet image in DidSetStyleContext, not reflow. Bug 180142,
r+sr=dbaron
2004-08-04 21:18:20 +00:00
bzbarsky%mit.edu
91a0c731f4 nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
CanLoadImage).  Bug 253627, r+sr=dbaron
2004-08-04 19:48:55 +00:00
cbiesinger%web.de
9b72dd5b6f Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
dbaron%dbaron.org
d90e0e1222 Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky 2004-08-04 03:27:28 +00:00
dbaron%dbaron.org
e7216e4d86 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
aaronleventhal%moonset.net
1cf362f6fe Bug 251614. Get rid of black squares on input type=submit buttons and return focus appearance to normal. r+sr=roc 2004-08-02 14:15:51 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
1236bd859f Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu
7207e32b33 This wasn't supposed to go in... 2004-07-30 06:21:04 +00:00
bzbarsky%mit.edu
e628e82cc1 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
bryner%brianryner.com
8824f02983 Bustage fix for older gcc versions 2004-07-29 21:00:58 +00:00
dbaron%dbaron.org
ca843bb250 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
cbiesinger%web.de
3506522cc6 Bug 252468 Remove outdated autostretch attribute from the tree
patch by Simon Paquet <bugzilla@babylonsounds.com> r=neil rs=bz
2004-07-29 18:25:42 +00:00
aaronleventhal%moonset.net
cf45882e36 Bug 252984. Remove focus and tab navigation code that's no longer necessary which is actually breaking some form controls. r=bryner, sr=bz 2004-07-29 18:06:55 +00:00
dbaron%dbaron.org
a9ea1ee54f Fix Windows bustage. b=252578 2004-07-28 07:52:03 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
roc+%cs.cmu.edu
f3fe4fa48c Bug 240276. Make <scrollbox> be implemented as a regular scrollframe rathern than a scrollboxframe. This will help us remove scrollboxframe. r+sr=dbaron 2004-07-28 03:27:02 +00:00
roc+%cs.cmu.edu
748bc62eb8 Bug 252850. Backing out minor listbox layout fix, because it broke something worse 2004-07-28 01:24:58 +00:00
dbaron%dbaron.org
063f9ff3da Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky 2004-07-27 23:31:08 +00:00
roc+%cs.cmu.edu
89e1d0e4bb Bug 253195. Fix a really nasty data corruption bug in nsBlockFrame::DoRemoveFrame, that only shows up when you need to delete inline continuations that are in a continuation of the current block --- probably doesn't happen today, but will happen with columns and page-layout editing. r+sr=dbaron 2004-07-27 18:22:14 +00:00
roc+%cs.cmu.edu
b9da24099f Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron 2004-07-27 18:16:10 +00:00
bzbarsky%mit.edu
02d0d94b73 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
bryner%brianryner.com
1274ae3451 Remove nsIPresContext::GetXBLBindingURL (bug 253141). r=bzbarsky. 2004-07-26 21:49:49 +00:00
neil%parkwaycc.co.uk
23e7f66ba2 Bug 252954/64157 Ensure that the popup frame exists before accessing it r/sr=bz 2004-07-26 10:14:10 +00:00
cbiesinger%web.de
54e0371529 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
aaronleventhal%moonset.net
cc206bb650 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu
a406f5f3c0 Bug 232540. Make unconstrained-width comboboxes reflow their dropdowns with unconstrained width, always, to avoid a problem where the vertical scrollbar is added but the dropdown doesn't get correspondingly wider. r+sr=dbaron 2004-07-23 23:46:25 +00:00
roc+%cs.cmu.edu
72e061457e Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
alex%croczilla.com
73468e27ce Bug#252649: Prevent unnecessary path construction in libart and gdi+ backends. r=tor. SVG only - not part of default builds. 2004-07-23 10:17:28 +00:00
neil%parkwaycc.co.uk
92f587883a Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc 2004-07-23 08:25:44 +00:00
roc+%cs.cmu.edu
304a2d06a0 Bug 252280. Make XUL splitter frames explicitly say that they need to capture the mouse. r+sr=dbaron 2004-07-22 20:11:54 +00:00
dbaron%dbaron.org
7e59447e8d Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky 2004-07-21 21:20:14 +00:00
cbiesinger%web.de
be9764fdfe Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
neil%parkwaycc.co.uk
7fe1163033 Bug 252448 Fix scrollwheel crashing menulist with unscrollable popup r/sr=roc 2004-07-21 15:24:51 +00:00
rbs%maths.uq.edu.au
e2527bce29 Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky 2004-07-21 01:05:44 +00:00
dbaron%dbaron.org
cdfbc24f0a Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky 2004-07-20 06:11:27 +00:00
roc+%cs.cmu.edu
312f627f43 Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron 2004-07-20 00:02:43 +00:00
dbaron%dbaron.org
1a3c86faf3 Add null-check. b=226791 r+sr=bryner 2004-07-18 21:55:24 +00:00
cbiesinger%web.de
2f7bab80a2 removing unused variable, r+sr=bzbarsky 2004-07-18 20:57:52 +00:00
bzbarsky%mit.edu
f1e62a9f7f Fix bug 251844 -- <onject> blocked by content policy doesn't show alternate
content.  r=mvl, sr=jst
2004-07-18 18:00:58 +00:00
dbaron%dbaron.org
0209021a61 Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
roc+%cs.cmu.edu
006e44e216 Bug 251032. Make nsComboBoxControlFrames have their own space manager, because they don't care about floats in their parent. r+sr=dbaron 2004-07-18 12:16:15 +00:00
roc+%cs.cmu.edu
e0a7bb0095 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
roc+%cs.cmu.edu
b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
dbaron%dbaron.org
13779c9cac Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky 2004-07-18 01:16:27 +00:00
dbaron%dbaron.org
45c8de80a6 Clean up string usage in nsFont::EnumerateFamilies and nsCSSStyleSheet.cpp's ValueIncludes, although not all the other places to which this pattern was copied. b=235755 r+sr=roc 2004-07-17 19:03:13 +00:00
dbaron%dbaron.org
0ee5ed9f79 When implementing the 'display' and 'float' fixups in CSS2.1 section 9.7 we can't cache data in the rule tree. b=245715, 237891 r+sr=bzbarsky 2004-07-17 18:57:04 +00:00
dbaron%dbaron.org
314bd956d2 Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky 2004-07-17 18:21:41 +00:00
dbaron%dbaron.org
f2d5d6aac6 Back out again (except indentation fix). b=236889 2004-07-16 23:28:36 +00:00
dbaron%dbaron.org
f1aa7d5490 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload. 2004-07-16 22:55:42 +00:00
dbaron%dbaron.org
4da6a59fbe Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
e4fd9c5b92 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload. 2004-07-16 20:26:39 +00:00
gerv%gerv.net
6b54b1cbc5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 19:30:11 +00:00
gerv%gerv.net
9f35e25052 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
gerv%gerv.net
851d4ad021 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:13:26 +00:00
jst%mozilla.jstenback.com
23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
aaronleventhal%moonset.net
910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00