roc+%cs.cmu.edu
7c5bcb4672
Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@184225 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
3018abfa20
Bug 227121. A scrolled element's frame size should be set to the max of its desired size and the scrollport size, and should not depend on its overflow. Fixes an incremental reflow bug with scrolled frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@184064 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 23:35:37 +00:00
cbiesinger%web.de
277c11ec77
bug 314679 remove some unused code from nsObjectFrame
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@183988 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu
d14d1f2475
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
b67515130c
Show the loading placeholder while loading, not the broken one. Bug 312804,
...
r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@183370 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu
151b3a115e
Fixing bustage...
...
git-svn-id: svn://10.0.0.236/trunk@183362 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu
35affbc82e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu
b4617efcf5
Bug 312777. Don't pass negative-margin-box floats to the space manager; correct them and preserve the right margin-edge on left floats and the left margin-edge on right floats. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@183303 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 01:16:45 +00:00
cbiesinger%web.de
4510cfee8d
bug 309706
...
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
- Make use of that in PrepareInstanceOwner, so that loading a new plugin in
the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
only eType_Plugin if mURI and mContentType are valid
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
smontagu%smontagu.org
a38b2c61f4
Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183253 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-30 13:05:45 +00:00
bzbarsky%mit.edu
78bef58df3
Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@183243 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com
5ca778cfea
Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183241 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 14:01:55 +00:00
cbiesinger%web.de
8eb2b61bb7
Bug 309529
...
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.
Also, fixes ext-to-type mapping if the URI does not implement nsIURL.
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@183238 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
53c329523d
Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
...
to it. Bug 313343, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
2b50a04fc6
Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
masayuki%d-toybox.com
1cc8b073e7
Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@183078 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 20:16:01 +00:00
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