4082 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
4e94da951e Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182747 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 22:23:28 +00:00
timeless%mozdev.org
28bec896e4 Bug 313164 Bidi: Caret navigation broken inside inline elements
patch by uriber@gmail.com r=smontagu sr=roc


git-svn-id: svn://10.0.0.236/trunk@182738 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 20:08:50 +00:00
roc+%cs.cmu.edu
9c37faadc0 Bug 295941. Remove hack that is obsolete on the trunk now that Eli has fixed event dispatch coordinates. patch by Eli Friedman, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182685 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu
cccd7adffc Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets.
git-svn-id: svn://10.0.0.236/trunk@182444 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 05:00:24 +00:00
bzbarsky%mit.edu
84306ebd26 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182426 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:06:16 +00:00
mats.palmgren%bredband.net
1478c862f7 Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc
git-svn-id: svn://10.0.0.236/trunk@182351 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:51:46 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
mats.palmgren%bredband.net
6e512c8d9f Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182348 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:03:05 +00:00
mozilla.mano%sent.com
a9be5655a9 Bug 312620 - Bidi: Caret doesn't move correctly when arrowing where line wraps, if the wrapped line starts with a single reverse-direction character. patch from uriber@gmail.com, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@182346 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 23:26:22 +00:00
masayuki%d-toybox.com
d98d63a055 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182343 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 18:58:34 +00:00
smfr%smfr.org
72ef9e4bb3 Fix bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@182200 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu
f565be98c1 Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182052 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi
1bfba761e6 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@181915 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 18:38:57 +00:00
roc+%cs.cmu.edu
b747c5efb5 Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@181748 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 01:28:27 +00:00
bzbarsky%mit.edu
fe07e4df3d Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil
git-svn-id: svn://10.0.0.236/trunk@181630 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 23:49:39 +00:00
bmlk%gmx.de
212fccadfd handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181584 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 15:47:21 +00:00
dbaron%dbaron.org
6cc0602454 Back out 307158 to fix 310736. GetActualScrollbarSizes is not meaningful on a frame in the middle of reflow.
git-svn-id: svn://10.0.0.236/trunk@181535 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 02:14:43 +00:00
rbs%maths.uq.edu.au
b467153801 Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@181394 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 05:17:20 +00:00
bzbarsky%mit.edu
29198e38f2 Backing out bug 288064 because of the Tp hit.
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
6d56e2ba32 Bug 307158. Account for scrollbars reducing the padding-edge when calculating the geometry of absolutely-positioned children of scrolled elements. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181359 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:58:37 +00:00
roc+%cs.cmu.edu
65840156b1 Bug 295815. When computing the available height constraint for a float, don't look at the available height of the float band, just look at the available height for the block's contentarea. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181335 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 21:54:12 +00:00
cst%andrew.cmu.edu
025f0460e7 Backing out patch for bug 94687 due to regressions
git-svn-id: svn://10.0.0.236/trunk@181222 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 20:35:06 +00:00
aaronleventhal%moonset.net
c08f04320c Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil
git-svn-id: svn://10.0.0.236/trunk@181198 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 13:16:46 +00:00
joshmoz%gmail.com
4fd26dcd59 make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst
git-svn-id: svn://10.0.0.236/trunk@181182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com
88b6701698 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181140 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 14:29:45 +00:00
cst%andrew.cmu.edu
cc66647563 Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@181039 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 12:39:25 +00:00
rbs%maths.uq.edu.au
c74965ca95 Avoing crashing due to outdated text pointers by never poking at dirty text frames, b=307875, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181024 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 02:47:17 +00:00
masayuki%d-toybox.com
c811cc938a Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180950 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 10:37:02 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
aaronleventhal%moonset.net
f3f69699c1 Bug 308710. Create accessibles for out of flow frames. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@180828 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 21:59:06 +00:00
cbiesinger%web.de
054912c09e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
ginn.chen%sun.com
928fbe26f6 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc


git-svn-id: svn://10.0.0.236/trunk@180554 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
cst%andrew.cmu.edu
ec3d38fd28 Bug 278739 Reloading a page whose length changes should not cause scroll position to change
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@180502 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:50:26 +00:00
mozilla.mano%sent.com
ffaf2b5c34 Bug 307934 - regression: In RTL text, can't move caret using arrow keys past point where text wraps. patch from Uri Bernstein <uriber@gmail.com>, r=eyalroz@technion.ac.il, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180501 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:29:09 +00:00
mozilla.mano%sent.com
08f7d01df1 Bug 308017 - Bidi: up/down-arrow sometimes behave incorrectly after switching keyboard layout. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180499 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:18:28 +00:00
Olli.Pettay%helsinki.fi
10968377cc Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@180495 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 12:41:40 +00:00
dougt%meer.net
ab8d20953c This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@180345 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 02:25:37 +00:00
aaronleventhal%moonset.net
d699843e79 Bug 308517. Crash when browse with images off and screen reader running. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@180311 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 21:13:00 +00:00
mats.palmgren%bredband.net
21ea3993f5 Don't apply selection colors when printing. b=90434 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180241 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 21:32:28 +00:00
mats.palmgren%bredband.net
c062e88c33 Fix buffer overflow on 'clusterBuffer' and improve error handling in FillClusterBuffer(). b=307537 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180004 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:05:58 +00:00
bzbarsky%mit.edu
bfc8c03ee8 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.


git-svn-id: svn://10.0.0.236/trunk@179996 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:22:57 +00:00
peterv%propagandism.org
c1c35accda Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898 Back out fix for bug 251025 to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
c3d2c5e7a2 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
brendan%mozilla.org
632884c220 Branch version of patch for bug 305565 (r/sr=jst/bz).
git-svn-id: svn://10.0.0.236/trunk@179771 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 02:39:51 +00:00