4771 Commits

Author SHA1 Message Date
smfr%smfr.org
419c9e101b Fix bug 289022: every other click in a text field unfocusses it, so you can't type. Fixed by retargeting keyboard events to a parent view, if their target view has no frame. r=roc, sr=dbaron, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@172062 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 04:35:13 +00:00
aaronleventhal%moonset.net
dca00c4561 Bug 280154. Cannot arrow past first entry in help sidebar panels. r=Neil, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172044 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 20:25:49 +00:00
bzbarsky%mit.edu
f0424d6b08 Finish removing the -moz-bulletinboard display value from the tree. All the
code implementing it is long removed; we shouldn't be parsing it.  Bug 289967,
r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172025 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:27:23 +00:00
bmlk%gmx.de
edb17b80f0 cleanup for named childlists on outer table frames, bring ContentInserted in sync with ContentAppended, bug 286137 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@171985 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:35:11 +00:00
smontagu%smontagu.org
46c53d33ed Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@171920 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 06:40:10 +00:00
roc+%cs.cmu.edu
89977d9b7c Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171875 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:54:28 +00:00
kyle.yuan%sun.com
0159c15d9e Bug 268513 overflow:scroll causes memory growth
r/sr=bz, a=asa


git-svn-id: svn://10.0.0.236/trunk@171873 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:50:40 +00:00
smontagu%smontagu.org
67426e8ae8 Update Bidi character data tables to Unicode 4.1.0. Bug 288836, r=jshin, rs=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@171852 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 14:24:52 +00:00
roc+%cs.cmu.edu
88019f7491 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171844 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:04:06 +00:00
bzbarsky%mit.edu
cec44f64b3 Fix silly error that caused no scrollbars in non-SVG builds. Bug 289248, r+sr+a=shaver
git-svn-id: svn://10.0.0.236/trunk@171807 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 15:55:00 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
pedemont%us.ibm.com
bc17cf38bd Bug 210204 - Only use Mac system menu for root chrome shell XUL menus. Display all other XUL menus as on other platforms. r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@171740 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:58:29 +00:00
roc+%cs.cmu.edu
a52cfd560a Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171737 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:46:56 +00:00
bsmedberg%covad.net
0ea03d8860 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171643 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 12:36:03 +00:00
tor%cs.brown.edu
ff8b5cf88f Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171608 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:42:26 +00:00
masayuki%d-toybox.com
5fee0b5fd2 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171553 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:40:48 +00:00
roc+%cs.cmu.edu
64b260501e Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171540 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:02:47 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
tor%cs.brown.edu
30a8cbefd4 Bug 280988 - SVG frames should implement GetFrameName.
Patch by scootermorris@comcast.net, r=tor.


git-svn-id: svn://10.0.0.236/trunk@171468 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 19:56:08 +00:00
bzbarsky%mit.edu
35707e2f9d Wrap a view update batch around all restyle processing and switch
ApplyRenderingChangeToTree to use a NO_SYNC view batch, since we now flush
reflows before painting.  Bug 288365, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171464 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:14:18 +00:00
dbaron%dbaron.org
f7e591cd27 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
dbaron%dbaron.org
8b93b2aa52 Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@171357 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:50:56 +00:00
bzbarsky%mit.edu
116adff631 Don't walk through placeholders to out-of-flows that are our descendants when
we destroy a frame subtree.  Bug 271151, r=rbs, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171342 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 22:36:06 +00:00
bzbarsky%mit.edu
ac5c69c48a Removing no-longer-used struct from this file. Should have landed as part of
bug 286813.


git-svn-id: svn://10.0.0.236/trunk@171321 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 15:58:31 +00:00
bzbarsky%mit.edu
52ea517c1b Fixing AIX build bustage. Thanks to pkw for the patch!
git-svn-id: svn://10.0.0.236/trunk@171320 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 15:57:53 +00:00
bzbarsky%mit.edu
d31372e0c5 More bustage fixing. To be precise, check in what should have gone in the
first time, but didn't due to a malformed diff.


git-svn-id: svn://10.0.0.236/trunk@171296 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 00:22:12 +00:00
bzbarsky%mit.edu
d527062335 Fix build bustage by moving CantRenderReplacedElementEvent class decl earlier
in the file


git-svn-id: svn://10.0.0.236/trunk@171295 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:56:33 +00:00
bzbarsky%mit.edu
d076e0faaa Move handling of replaced element events from frame manager to presshell, make
sure we don't allow reflow flushing while we're constructing the new frames.
Bug 286813, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171292 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:20:54 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
mats.palmgren%bredband.net
8e0c90b5bf Account for the view's origin not lining up with the widget's. b=190290 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@171239 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-26 14:50:09 +00:00
bzbarsky%mit.edu
93c8012cd6 Work around print preview bug (unhooking and then rehooking a presshell to a
document).  Bug 286869, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171196 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 04:27:21 +00:00
roc+%cs.cmu.edu
7b1fe9d0dd Bug 262403. Don't do a line break just because a float was broken across pages. Also, squash some assertions while printing. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171145 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 01:15:07 +00:00
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