4737 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
ef09b51fd6 Bug 287352. Use wrappedFrame not frame, stupid. r+sr=bzarsky
git-svn-id: svn://10.0.0.236/trunk@171073 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 21:27:51 +00:00
roc+%cs.cmu.edu
d32f42b290 Bug 287127. Avoid using GetContentInsertionFrame when the frame hierarchy is not hooked up. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171037 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:39:32 +00:00
roc+%cs.cmu.edu
7f1a3c9c93 Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171036 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
b545c9a067 Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bzbarsky%mit.edu
e2d2715044 Add methods to the user/agent sheet service to unregister sheets and check
whether a sheet is registered.  Bug 286518, patch by Ted Mielczarek (luser)
<ted.mielczarek@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@171031 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 02:34:30 +00:00
roc+%cs.cmu.edu
29bff429e9 Bug 282754. When laying out absolute children, use the computed width/height of the primary frame as the container metrics if they're available. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@170957 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 21:43:01 +00:00
jst%mozilla.jstenback.com
0c35201318 Fixing bug 245809. Implement event.returnValue (IE:ism) for beforeunload events as the mechansim for passing data back to the browser from a beforeunload handler that was registerd with addEventListener(). r=bzbarsky@mit.edu, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@170897 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 15:33:51 +00:00
bzbarsky%mit.edu
9ad95bdc3a Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170874 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 04:13:05 +00:00
bmlk%gmx.de
28af0b2d85 Add some debug code for table pseudo frames. The code can be activated by: set GECKO_FRAMECTOR_DEBUG_FLAGS=table-pseudo, bug 280217 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170597 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-12 10:46:53 +00:00
bmlk%gmx.de
a8c743d86b revert caption parent frame lookup logic as tags with display: table-caption are not allways just below a table tag bug 284575 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170569 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 19:21:23 +00:00
neil%parkwaycc.co.uk
fd6bd2688a Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr
git-svn-id: svn://10.0.0.236/trunk@170561 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 11:12:15 +00:00
paper%animecity.nu
3b008daf52 Bug 274244: Display more broken GIFs. r=stuart sr=tor
git-svn-id: svn://10.0.0.236/trunk@170359 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:44:28 +00:00
roc+%cs.cmu.edu
80ebc8eca4 Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
jshin%mailaps.org
f37ed49ee5 bug IME candidate list is hidden by autocomplete window (r=dbaron,bryner,smontagu,jst,sr=dbaron,bryner,neil) : patch by Masayuki Nakano
git-svn-id: svn://10.0.0.236/trunk@170203 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 08:19:05 +00:00
bmlk%gmx.de
ee4b566941 - decouple xul iframes from the browser.frames.enabled preference, so that one can open mozilla if that preference is set to false bug 107911
- avoid mutating style inside frame constructor for noframes bug 240129, this fixes crashes like bug 281333 and  bug 266222
- ConstructFrame does not append children if it fails, thats good enough for tables, so don't care about foreign children if they fail, this prevents tables from going into panic mode. bug 283147
- a display: table-caption behaves like a block for other table frames created below. bug 281527
r/sr= bzbarsky


git-svn-id: svn://10.0.0.236/trunk@170138 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 18:04:38 +00:00
bzbarsky%mit.edu
5fc500de3f Make sure to always remove the dummy layout request on presshell destruction
and not to post events after we have revoked them.  Bug 284354, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170120 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:46:03 +00:00
bzbarsky%mit.edu
54df69c399 Use the content policy REJECT reason as a basis for our "whether to show alt
text" decision instead of reading prefs ourselves.  Bug 202906, r=mvl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
bzbarsky%mit.edu
7b98ea2307 Don't crash oif someone sets "display: -moz-grid" on something that has an XBL
base tag.  Just make it a grid.  Bug 283140, r=neil, sr=roc


git-svn-id: svn://10.0.0.236/trunk@169971 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 02:32:57 +00:00
bzbarsky%mit.edu
94b671f457 Remove the dummy layout request off an event, not synchronously, so we don't
fire onload as we're finishing up reflow.  Bug 281157, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169970 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 02:27:09 +00:00
kyle.yuan%sun.com
1025bc0739 backout the fix for bug 268513
git-svn-id: svn://10.0.0.236/trunk@169969 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 01:08:32 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
2433e8b1ae Don't flush out reflows if we have painting suppressed and something else in
our viewmanager tree is painting.  Bug 282764, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169824 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 04:03:13 +00:00
kyle.yuan%sun.com
1b78abf1f5 Bug 268513 overflow:scroll causes memory growth
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169696 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:00:23 +00:00
bmlk%gmx.de
b906e7cfdc input type="hidden" is not a special HTML content as we don't create a frame for it in the constructhtmlframe routine, bug 280217, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169632 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 05:14:55 +00:00
tor%cs.brown.edu
a305df7c3f Bug 258511 - preference to disable native SVG support. r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@169564 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 18:11:18 +00:00
bzbarsky%mit.edu
967cea925d Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169561 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 16:39:01 +00:00
peterv%propagandism.org
0e54b7d14d Fix for bug 281654 (XLink's scroll to the parent of the node that they point to). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@169518 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 09:55:02 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
4136bc41b4 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169352 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
57739174b7 Fix crash bug 281424. r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@169186 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-14 20:09:14 +00:00
bmlk%gmx.de
426270c81f allow only columns as colgroup children, and prevent column children bug=280618 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@169166 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-13 07:43:22 +00:00
mvl%exedo.nl
ef6e7f1f43 Show alt text when imagee blocking is enabled
bug 281492, r=dwitte, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@169010 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 22:10:52 +00:00
roc+%cs.cmu.edu
e0d871feb8 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168959 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:15:26 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
aaronleventhal%moonset.net
943ee86ac3 Backing out fix for bug 249136 because it caused bug 279285
git-svn-id: svn://10.0.0.236/trunk@168848 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 17:00:46 +00:00
cvshook%sicking.cc
989d0480fb Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
r/sr=peterv


git-svn-id: svn://10.0.0.236/trunk@168844 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 13:41:00 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
33a134e02c Fix event point if the view of the current event frame is different from the
view that the event's point is relative to.  Bug 268352, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168762 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 20:09:45 +00:00
bzbarsky%mit.edu
1818d5e294 Move pseudo-frame handling into CreateAnonymousFrames, sort of like what we
have in ProcessChildren.  Bug 280708, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@168757 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 18:40:01 +00:00
bzbarsky%mit.edu
bf4a89a327 Fix crashes in GTK1 builds due to reuse of rendering contexts for the caret.
Bug 254049, patch by Mark Banner <mark@standard8.demon.co.uk>, r=jst, sr=roc


git-svn-id: svn://10.0.0.236/trunk@168663 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:19:05 +00:00
bzbarsky%mit.edu
8632f162de Fix frame tree mangling when a combobox is inside a pseudo-cell. Bug 275746,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@168661 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:01:31 +00:00
bzbarsky%mit.edu
416b08acd9 Fix insertion of content into blocks with first-letter styles to put the frames
in the right place.  Bug 277686, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168647 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 18:46:35 +00:00
bryner%brianryner.com
8ed5dd41fb Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168595 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 23:47:26 +00:00
dbaron%dbaron.org
addf0d23ab Convert CR-LF and CR linebreaks to LF.
git-svn-id: svn://10.0.0.236/trunk@168462 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 20:01:46 +00:00
bryner%brianryner.com
3437ee229a Remove nsIPresState (bug 279699). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
bzbarsky%mit.edu
d261ace52b Make sure to not allow reflow flushes to happen in the middle of scroll
position restoration.  Bug 279786, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168419 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:18:30 +00:00
bzbarsky%mit.edu
77e877e706 Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
19c46ac733 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00