Commit Graph

4364 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
2aae47d965 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:39:08 +00:00
roc+%cs.cmu.edu
a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
bmlk%gmx.de
4bb63a9880 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
ffac17f9c5 Bug 113161 Color/background-color of preedit string is always default(we should not use invert) / Bug 170951 IME should use OS system color for selection instead of inverting r+sr=roc 2005-11-20 23:43:48 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
smontagu%smontagu.org
75f5688bba Bug 313602: Bidi: Caret appears incorrectly when using up/down arrows to move into a blank line surrounded by reverse-direction text. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:40:52 +00:00
smontagu%smontagu.org
d999b33cff Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bmlk%gmx.de
ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
joshmoz%gmail.com
70d0b15dbe remove XP_MAC, cleanup. b=281889 r=mento sr=smfr 2005-11-10 17:45:59 +00:00
cvshook%sicking.cc
4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
roc+%cs.cmu.edu
599bd30eab Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron 2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
34a88eba03 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 2005-11-02 23:35:37 +00:00
cbiesinger%web.de
ffa599d074 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
84802b45c2 Show the loading placeholder while loading, not the broken one. Bug 312804,
r=biesi, sr=dbaron
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu
d511c33bd9 Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu
a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu
33a3e7d578 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 2005-11-01 01:16:45 +00:00
cbiesinger%web.de
ac00cddace 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
2005-10-31 18:28:56 +00:00
smontagu%smontagu.org
41432ddbee 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 2005-10-30 13:05:45 +00:00
bzbarsky%mit.edu
aeaa001221 Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky 2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com
ab76aa9ef7 Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc 2005-10-29 14:01:55 +00:00
cbiesinger%web.de
ec2746ef9a 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
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
masayuki%d-toybox.com
733ba5945f Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky 2005-10-26 20:16:01 +00:00
bzbarsky%mit.edu
04153159a6 Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron 2005-10-21 22:23:28 +00:00
timeless%mozdev.org
2dc157c8df Bug 313164 Bidi: Caret navigation broken inside inline elements
patch by uriber@gmail.com r=smontagu sr=roc
2005-10-21 20:08:50 +00:00
roc+%cs.cmu.edu
d0ccd4fc7e 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 2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu
49188025d3 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. 2005-10-18 05:00:24 +00:00
bzbarsky%mit.edu
ea3f3e5a9d Remove no longer used code. Bug 312685, r=biesi, sr=dbaron 2005-10-17 23:06:16 +00:00
mats.palmgren%bredband.net
e36a52de0d Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc 2005-10-17 00:51:46 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
mats.palmgren%bredband.net
9125d9fa0e Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky 2005-10-17 00:03:05 +00:00
mozilla.mano%sent.com
2beab782a8 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. 2005-10-16 23:26:22 +00:00
masayuki%d-toybox.com
e88f554d23 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc 2005-10-16 18:58:34 +00:00
smfr%smfr.org
8374dcbda9 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. 2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu
30c47dcf2f Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc 2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi
cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
roc+%cs.cmu.edu
a13bf33f1d 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 2005-10-07 01:28:27 +00:00
bzbarsky%mit.edu
ff4bb166e0 Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil 2005-10-04 23:49:39 +00:00
bmlk%gmx.de
8d2cb2369f handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron 2005-10-04 15:47:21 +00:00
dbaron%dbaron.org
d21fb93bf0 Back out 307158 to fix 310736. GetActualScrollbarSizes is not meaningful on a frame in the middle of reflow. 2005-10-04 02:14:43 +00:00
rbs%maths.uq.edu.au
da44abd930 Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz 2005-10-01 05:17:20 +00:00
bzbarsky%mit.edu
79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
caf6043440 Bug 307158. Account for scrollbars reducing the padding-edge when calculating the geometry of absolutely-positioned children of scrolled elements. r+sr=dbaron 2005-09-30 22:58:37 +00:00
roc+%cs.cmu.edu
bac54e6df7 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 2005-09-30 21:54:12 +00:00
cst%andrew.cmu.edu
f9065cc1e4 Backing out patch for bug 94687 due to regressions 2005-09-29 20:35:06 +00:00
aaronleventhal%moonset.net
67ee0e846e Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil 2005-09-29 13:16:46 +00:00
joshmoz%gmail.com
cac6904a8b 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 2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com
d6b545f224 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc 2005-09-28 14:29:45 +00:00
cst%andrew.cmu.edu
2509f6846c Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
r+sr=roc
2005-09-27 12:39:25 +00:00
rbs%maths.uq.edu.au
da96ea19ef Avoing crashing due to outdated text pointers by never poking at dirty text frames, b=307875, r+sr=bzbarsky 2005-09-27 02:47:17 +00:00
masayuki%d-toybox.com
ebecc5bbc9 Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron 2005-09-26 10:37:02 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
aaronleventhal%moonset.net
22b31a1bad Bug 308710. Create accessibles for out of flow frames. r+sr=bryner 2005-09-22 21:59:06 +00:00
cbiesinger%web.de
7002686d0d 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
2005-09-21 19:14:30 +00:00
ginn.chen%sun.com
e12bf01c19 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu
fed343c43a 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. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
608088a431 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
2005-09-18 18:05:40 +00:00
cst%andrew.cmu.edu
b63242406e Bug 278739 Reloading a page whose length changes should not cause scroll position to change
r+sr=roc
2005-09-18 14:50:26 +00:00
mozilla.mano%sent.com
815d6bdabe 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. 2005-09-18 14:29:09 +00:00
mozilla.mano%sent.com
40c9113013 Bug 308017 - Bidi: up/down-arrow sometimes behave incorrectly after switching keyboard layout. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc. 2005-09-18 14:18:28 +00:00
Olli.Pettay%helsinki.fi
7d0dcbfb2d Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc 2005-09-18 12:41:40 +00:00
dougt%meer.net
4435542681 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
aaronleventhal%moonset.net
7f5deb9d69 Bug 308517. Crash when browse with images off and screen reader running. r+sr=bryner 2005-09-15 21:13:00 +00:00
mats.palmgren%bredband.net
eaa7cda447 Don't apply selection colors when printing. b=90434 r+sr=bzbarsky 2005-09-14 21:32:28 +00:00
mats.palmgren%bredband.net
2909dabcf6 Fix buffer overflow on 'clusterBuffer' and improve error handling in FillClusterBuffer(). b=307537 r+sr=dbaron 2005-09-12 01:05:58 +00:00
bzbarsky%mit.edu
c00cd696d1 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.
2005-09-11 19:22:57 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
brendan%mozilla.org
52eeba63ea Branch version of patch for bug 305565 (r/sr=jst/bz). 2005-09-07 02:39:51 +00:00
rbs%maths.uq.edu.au
ebce434690 incorrect width of non breaking space &nbsp; inside MathML, r+sr=roc, b=247151 2005-09-06 22:19:52 +00:00
roc+%cs.cmu.edu
f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
roc+%cs.cmu.edu
8b9158491c Bug 306116. Use a loop instead of recursion while deleting next-in-flows to avoid stack overflow when reflowing really long text. r+sr=dbaron,a=asa 2005-09-06 01:26:50 +00:00
roc+%cs.cmu.edu
60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
mats.palmgren%bredband.net
ea68978e57 Fix compile warning from my last checkin. b=217903 2005-08-31 19:53:39 +00:00
mats.palmgren%bredband.net
52d0c5315c Avoid trying to make an inside bullet frame its own sibling. b=217903 r+sr=bzbarsky 2005-08-31 19:38:59 +00:00
roc+%cs.cmu.edu
f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +00:00
roc+%cs.cmu.edu
2dac54badf Bug 305120. Make overflow/underflow events be posted by HTML again. Also, only post an overflow event when we go from not-overflowing to overflowing instead of every time we reflow with overflow. r+sr=dbaron 2005-08-31 00:57:27 +00:00
mats.palmgren%bredband.net
8f34e7d413 Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron 2005-08-31 00:35:17 +00:00
mats.palmgren%bredband.net
377c6c9a64 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron 2005-08-30 22:46:45 +00:00
bmlk%gmx.de
89727da8d1 reset the cached ascent if the block is empty, bug 206516 r/sr=roc 2005-08-30 16:14:07 +00:00
dbaron%dbaron.org
65ae4fc59e Base factor line-height values on the same concept of font size as em-based line-height values. b=196270 r+sr=bzbarsky 2005-08-29 19:30:06 +00:00
smontagu%smontagu.org
a273c950ea Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-08-28 08:20:34 +00:00
mozilla.mano%sent.com
1881d032f4 Bug 305083 - When using ctrl+right-arrow on last word in a wrapping line, caret moves to end of line instead of to beginning of next line. patch from Eyal Rozenberg <eyalroz@technion.ac.il>, r=uriber, sr=roc. 2005-08-25 15:57:12 +00:00
roc+%cs.cmu.edu
329c6cc865 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
bmlk%gmx.de
12dbc74a18 pixel align pct based scroll frames bug 139843 r/sr=roc 2005-08-24 18:11:45 +00:00
mrbkap%gmail.com
e2572c0968 bug 299622: BiDi: Pressing End in a blank line moves the caret back, to the end of the previous line. Patch by Uri Bernstein <uriber@gmail.com>. r=smontagu sr=roc 2005-08-24 17:46:45 +00:00
mrbkap%gmail.com
5187e69f5f bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc 2005-08-24 17:44:28 +00:00
bzbarsky%mit.edu
992d916bc8 Restore the ability to tab to links in an imagemap. Bug 304467, r+sr=roc 2005-08-24 00:03:59 +00:00
roc+%cs.cmu.edu
e7a94b24b9 Bug 303458. Check in rest of patch for 295673. Doh! 2005-08-23 20:41:08 +00:00
roc+%cs.cmu.edu
8d634a00b5 Bug 305239. When drilling down at the start or end of a line, and we find a BR, return the parent element and the offset to the BR element instead of the BR element itself. This is a workaround for some deeper bug but we need a fix now. r+sr=roc, patch by Uri Bernstein 2005-08-23 04:20:02 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
9d85e378b2 moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc 2005-08-23 02:11:54 +00:00
bzbarsky%mit.edu
7c5cfe2f80 Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu
d364135459 Fixing bustage 2005-08-22 04:45:18 +00:00
roc+%cs.cmu.edu
f6f093252e Bug 189308. Checking in the changes to address dbaron's comments, left out of the orginal checkin. 2005-08-22 04:16:38 +00:00
roc+%cs.cmu.edu
142211a0cb Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!) 2005-08-22 03:00:06 +00:00
roc+%cs.cmu.edu
91b264f0f4 Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein 2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu
752b50340d Fixing build bustage ... variable named 'min' seems to conflict with some macro. r+sr=NOBODY AT ALL\! HAHAHAHA\! 2005-08-22 00:22:41 +00:00
roc+%cs.cmu.edu
55d745e0bb Bug 189308. Fire onscroll for all kinds of scrollling, and consolidate multiple scrolls into one event, and delay firing the event until we've returned to our PLevent loop. r+sr=dbaron 2005-08-21 23:37:13 +00:00
roc+%cs.cmu.edu
3621391cc9 Bug 295767. Simplify and thoroughly analyze previous-margin-dirty determination. r+sr=dbaron 2005-08-21 23:18:11 +00:00
bzbarsky%mit.edu
f4c380c572 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
roc+%cs.cmu.edu
971dd68989 Bug 32807. Make triple-click select paragraphs, not lines. Patch by uriber, r+sr=roc 2005-08-18 17:09:16 +00:00
roc+%cs.cmu.edu
624a9d18f5 Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc 2005-08-18 17:04:51 +00:00
bzbarsky%mit.edu
8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
bzbarsky%mit.edu
3d3c6b6621 Replace warning with assert, since this should now never happen. Bug 297850,
r+sr=dbaron
2005-08-16 14:39:08 +00:00
mozilla.mano%sent.com
53cbfe48e6 Bug 299239 - BiDi: Caret is stuck when reaching a single LTR character in RTL text. patch from Eyal Rozenberg <eyalroz@technion.ac.il>. r+sr=roc 2005-08-16 14:19:59 +00:00
bzbarsky%mit.edu
3fa5baafd7 Don't invalidate the whole imagemap on unrelated attribute changes in the
subtree.  Bug 304753, r+sr=jst
2005-08-16 04:47:36 +00:00
jst%mozilla.jstenback.com
e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
gavin%gavinsharp.com
734507bb0f Backing out patch for bug 292581, because it caused bug 302804, by author's request 2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com
af46c469dd Bug 301033 - Bidi: Caret placed in wrong position when arrowing over a single reverse-direction character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa. 2005-08-08 07:35:48 +00:00
mozilla.mano%sent.com
aeb94bbfb7 Bug 299842 - BiDi: Recursive caret movement in LTR lines which begin with an RTL word or character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa. 2005-08-08 07:32:14 +00:00
timeless%mozdev.org
b4d01d069d Bug 277553 clicking on Textarea with a RTL direction doesnt work
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg
2005-08-02 21:55:55 +00:00
roc+%cs.cmu.edu
4c73e358ea Bug 295673. Fix up GetActualScrollbarSizes so that padding doesn't confuse it. r+sr=dbaron, a=bsmedberg 2005-08-02 20:19:34 +00:00
roc+%cs.cmu.edu
7bf0c43eb4 Bug 189739. During SHRINKWRAP, lines that skip being reflowed need to add their right margin to their mBounds.XMost for the shrink-wrap width computation. Fixes an incremental reflow regression. r+sr=dbaron,a=bsmedberg 2005-08-02 20:17:36 +00:00
dbaron%dbaron.org
8271626e99 Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg 2005-08-02 20:15:27 +00:00
bzbarsky%mit.edu
dbbb9a9b91 Make sure to not return a negative containing block height when computing a
quirks percentage height containing block.  Bug 303005, r+sr=dbaron,
a=bsmedberg
2005-08-02 20:09:49 +00:00
roc+%cs.cmu.edu
0984b1ecc0 Bug 298893. Collapse the leading and trailing margins of a column set. Makes columns degrade more gracefully. 2005-08-02 20:05:52 +00:00
timeless%mozdev.org
4b48453e7b Bug 288789 BiDi - In an RTL textbox, caret moves to wrong position when using arrow keys to move into a line containing LTR text
patch by uriber@gmail.com r=smontagu sr=roc a=bsmedberg
2005-08-02 17:19:43 +00:00
bzbarsky%mit.edu
8d0ee4ef46 Insert child frames that belong at the front of our list after mBullet if we
have an inside bullet.  Bug 295947, r+sr=dbaron, a=bsmedberg
2005-08-02 14:38:16 +00:00
bzbarsky%mit.edu
0d33903937 Make sure to reset our intrinsic size if we're doing a GetDesiredSize and have
no image; this way if we later get an image we'll make sure to reflow.  Bug
294718, r+sr=roc, a=bsmedberg
2005-08-02 14:35:32 +00:00
bzbarsky%mit.edu
dbae00dd34 Don't carry out the bottom margins of kids if the block's height is affected by
min-height or max-height.  Bug 295309, r+sr=roc, a=bsmedberg
2005-08-02 14:32:46 +00:00
rbs%maths.uq.edu.au
e51ed4fc21 Avoing crashing due to outdated text pointers by flushing pending reflows before finding out where to scroll the selection, b=252970, r+sr=bzbarsky, a=bsmedberg 2005-07-30 02:43:17 +00:00
roc+%cs.cmu.edu
a84bc93687 Bug 291757. Propagate inline clearance status for lines we reflowed as well as lines we didn't. This ensures that during incremental reflow, we'll reflow lines which have a <br clear=> above them if their clearance is changing. r+sr=dbaron,a=benjamin 2005-07-28 19:50:04 +00:00
gavin%gavinsharp.com
81adc8f14a Bug 292581: funky selection behaviour 3: event coordinates not being translated at the right time, patch by Eli Friedman <sharparrow1@yahoo.com>, r+sr=bzbarsky, a=bsmedberg 2005-07-28 19:48:01 +00:00
roc+%cs.cmu.edu
d96dfd25f2 Bug 299742. Blocks that contain lines with clearance need not reflow those lines if there are no floats in the space manager yet and no lines need to be reflowed otherwise. 2005-07-26 21:35:59 +00:00
roc+%cs.cmu.edu
6d8ca6441e Bug 223737. Lines that were pushed below a float should be treated as impacted by the float. r+sr=dbaron,a=bsmedberg 2005-07-26 21:33:28 +00:00
roc+%cs.cmu.edu
920e33d25a Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg 2005-07-25 23:23:53 +00:00
bzbarsky%mit.edu
98844fbef4 Use the padding-edge as the absolute containing block when the containing block
is established by a relatively positioned inline.  CSS2.1 is being changed
accordingly.  Bug 300816, r+sr=dbaron, a=asa
2005-07-25 20:15:31 +00:00
mats.palmgren%bredband.net
64fca33b3c Don't crash in the document observer methods when the container arg is null. b=301025 r+sr=bzbarsky a=benjamin 2005-07-24 01:21:17 +00:00
bzbarsky%mit.edu
0d9a0a63d0 Backing out fix for bug 223737, since it causes severe performance problems
when typing at the beginning of long text in a textarea (and in general can
cause us to reflow a lot more lines than we should have to).  a=roc
2005-07-21 22:17:34 +00:00
aaronleventhal%moonset.net
0f6fd04c75 Bug 300284. Can't shift+tab out of mail compose. r+sr=bzbarsky, a=bsmedberg 2005-07-21 19:27:18 +00:00
roc+%cs.cmu.edu
67dd202b85 Bug 295527. nsObjectFrame child-size-setting-hack should use the content size, not the border-box size. r+sr=dbaron,a=bsmedberg 2005-07-21 17:40:03 +00:00
roc+%cs.cmu.edu
94a5d4ca9d Bug 294934. Absolute positioning should be relative to the padding edge, so we need to set the absolute containing block size to the size of the padding-box of any wrapper frame. r+sr=dbaron,a=bsmedberg 2005-07-19 22:06:39 +00:00
roc+%cs.cmu.edu
6915b726de Bug 295690. Force reflow of *all* lines in the same space manager as a float that's removed. r+sr=dbaron,a=bsmedberg 2005-07-19 21:58:41 +00:00
mozilla.mano%sent.com
2ea7c2e96c Bug 299838 - BiDi: Caret disappears outside the end of lines that end with spaces. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg. 2005-07-16 19:58:26 +00:00
masayuki%d-toybox.com
1d2ef064c5 Bug 148947 [quirks]selecting past underline extends underline r+sr=roc, a=benjamin 2005-07-15 15:07:51 +00:00
cbiesinger%web.de
2adc064800 254278 assign to |result| in the loop, to terminate at the right place
r+sr=bz a=asa
2005-07-14 15:48:11 +00:00
mrbkap%gmail.com
751a91d6f6 bug 299533: Fix hang when dragging across a select down arrow. r+sr=roc a=chofmann 2005-07-06 05:55:22 +00:00
mozilla.mano%sent.com
07ff884ee2 backing out bug 299371 (c19) patch as it caused bug 299371 (Right arrow in a 'select all' text field doesn't work) 2005-07-01 16:16:00 +00:00
dbaron%dbaron.org
22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
timeless%mozdev.org
b71184cb94 Bug 262917 r:\mozilla\layout\html\document\src\nsframeframe.cpp(632) : warning C4715: 'ConvertOverflow' : not all control paths return a value
r=dbaron sr=dbaron a=bsmedberg
2005-07-01 04:15:46 +00:00
mrbkap%gmail.com
4c7f6d1568 bug 297224: Fix hang trying to move the caret by making sure that we always hit the first and last frames in a line when iterating over that line. r+sr=roc a=bsmedberg 2005-06-30 22:50:15 +00:00
mozilla.mano%sent.com
310eb562eb Bug 207186 (c19) - Prevent caret from looping around non-default-direction text at the beginning of a textarea. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg. 2005-06-30 20:29:56 +00:00
jst%mozilla.jstenback.com
56f44188ce Fixing bug 298725. Create the right type of elements even when the document is not a HTML document. r+sr=peterv@propagandism.org, a=benjamin@smedbergs.us 2005-06-30 01:30:34 +00:00
jst%mozilla.jstenback.com
c28b2e4aa2 Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us 2005-06-30 01:23:12 +00:00
roc+%cs.cmu.edu
40eecde5e2 Bug 293504. Make MEW/max-width calculations in scrollframes consistent with regular reflow about how we handle the scrollbar width. r+sr=dbaron,a=chofmann 2005-06-29 04:17:21 +00:00
roc+%cs.cmu.edu
f7bbe1a34b Bug 295690. When a float is removed, reflow all lines associated with the space manager, to ensure any lines that used to be impacted are reflowed. r+sr=dbaron,a=benjamin 2005-06-29 03:40:35 +00:00
roc+%cs.cmu.edu
68d9a814b3 Bug 298378. Make sure that a style-change reflow on a column set eventually reflows all the descendant frames, even if some of them don't get reflowed on the first pass. r+sr=dbaron,a=asa 2005-06-26 22:15:08 +00:00
jst%mozilla.jstenback.com
307ca96a14 Fixing bug 284245. Make midas work in an iframe across re-framing of the iframe. r+sr=dbaron@mozilla.org, a=asa@mozilla.org 2005-06-22 01:25:41 +00:00
roc+%cs.cmu.edu
6f9109be2b Bug 296377. Frames that use -moz-appearance may be transparent even if their background color is set, because the background color is not painted. r+sr=dbaron,a=chofmann 2005-06-21 21:53:10 +00:00
smontagu%smontagu.org
6a4c8dd793 Make ComputeWordFragmentDimensions() look at the content data from the next frame instead of this frame. Bug 282760, patch by Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=asa 2005-06-21 09:11:18 +00:00
dbaron%dbaron.org
0e9888645f Zooming way down should not make bullets larger. b=296219 r+sr=roc a=asa 2005-06-20 21:25:41 +00:00
roc+%cs.cmu.edu
44e2486d4b Bug 186485. The nsLineBox maximum-width includes the block's left border-padding but not the right. r+sr=roc,a=asa,patch by Hideo Saito 2005-06-20 03:42:19 +00:00
roc+%cs.cmu.edu
c9f0357867 Bug 223737. Always reflow the next line after splitting a frame, even if it's complete. r+sr=roc,a=asa,patch by Hideo Saito 2005-06-20 03:38:45 +00:00
roc+%cs.cmu.edu
3876d7f8c7 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
26ce4cd8a3 Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa 2005-06-17 02:46:36 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
roc+%cs.cmu.edu
30e764d94c Bug 296337. Always correct the overflow area even if NS_FRAME_OUTSIDE_CHILDREN is set. r+sr=bzbarsky,a=shaver 2005-06-16 02:57:23 +00:00
roc+%cs.cmu.edu
4593df2a57 Bug 292295. Blocks with clearance are not actually top-margin-roots. Their top margin is still managed by the parent block if there is one. Fixes an Acid2 issue. r+sr=dbaron,a=asa 2005-06-16 02:54:57 +00:00
dbaron%dbaron.org
f00b4902e7 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa 2005-06-15 23:45:06 +00:00
mats.palmgren%bredband.net
774f7d6bed Don't apply z-index to non-positioned elements. b=297425 r+sr=roc a=asa 2005-06-14 23:53:56 +00:00
rbs%maths.uq.edu.au
58e093d21d German &szlig; and surrogate characters don't render with the proper small-caps font, b=291321. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=shaver 2005-06-09 08:33:15 +00:00
timeless%mozdev.org
5385d6a126 Bug 292348 NewEmbededPluginStream misspelled
patch by pythonesque+bugzilla@gmail.com r=jst sr=jst a=asa
2005-06-08 23:42:15 +00:00
ginn.chen%sun.com
f672ce6758 Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]
r=roc sr=roc a=chofmann
2005-06-06 02:22:53 +00:00
bmlk%gmx.de
a3ad4d5e20 make the MEW for scrollframes content independent as they can scroll the content if the available size shrinks, bug 295459 r/sr=roc a=shaver 2005-06-03 06:04:23 +00:00
smontagu%smontagu.org
ee3f239136 Remove unused code. Bug 292300, r+sr=roc, a=shaver 2005-06-02 10:45:39 +00:00
timeless%mozdev.org
f3dd2fbc15 Bug 291436 r:\mozilla\layout\generic\nsBlockFrame.h(628) : warning C4099: 'nsBlockFrame::nsAutoOOFFrameList' : type name first seen using 'struct' now seen using 'class'
r=roc sr=roc a=shaver
2005-06-01 16:28:06 +00:00
bzbarsky%mit.edu
a3843ab96f Not all scrollable children of the viewport are the root scrollframe. Fix
semi-hangs when fixed-pos elements have non-visible overflow.  Bug 295292,
r+sr=roc, a=chofmann
2005-05-31 18:30:27 +00:00
masayuki%d-toybox.com
cec1bd3a20 Bug 289652 [regression] -moz-selection fails to work r+sr=bzbarsky, a=asa 2005-05-22 17:17:46 +00:00
bmlk%gmx.de
67fbb9fdec add only fixed margins to the MEW, bug 292690 r/sr=dbaron a=chofmann 2005-05-22 15:47:49 +00:00
mconnor%steelgryphon.com
a7ea2d2c15 bug 294324 - scrolling performance regression, patch by roc, r+sr=bz, a=shaver 2005-05-18 14:02:20 +00:00
bzbarsky%mit.edu
b6e9b8ecd1 Fix list renumbering regression. Bug 293070, r+sr+a=dbaron 2005-05-17 03:15:14 +00:00
roc+%cs.cmu.edu
f7ab55f34a Bug 292690. Don't expand block width to MEW, that makes no sense. r+sr=dbaron,a=shaver 2005-05-16 19:49:41 +00:00
roc+%cs.cmu.edu
460f4472e4 Bug 293453. Hack scrolled frame NS_FRAME_OUTSIDE_CHILDREN to work around event handling bug. r+sr=bzbarsky,a=asa 2005-05-15 23:04:45 +00:00
vladimir%pobox.com
0b6a9e70f8 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver 2005-05-12 21:34:56 +00:00
bzbarsky%mit.edu
0e43771dab Use the right langgroup when getting the font metrics for drawing text
decorations.  Bug 210330, patch by Uri Bernstein <uriber@gmail.com>,
r=smontagu, sr=bzbarsky, a=dbaron
2005-05-12 20:02:33 +00:00
vladimir%pobox.com
63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
cbiesinger%web.de
87c0b991cd 293384 implement nsImageFrame::GetFrameName for easier debugging
r+sr=bz a=asa
2005-05-09 17:46:06 +00:00
roc+%cs.cmu.edu
f07b72bbc3 Bug 292312. Take scrollbar pref-sizes into account. r+sr=dbaron,a=asa 2005-05-08 22:33:40 +00:00
roc+%cs.cmu.edu
6c87879e52 Bug 292431. Don't resize the scrolled frame's view until we know exactly what size it should be ... avoids unnecessary repainting. r+sr=bzbarsky,a=chofmann 2005-05-08 22:17:03 +00:00
vladimir%pobox.com
de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
bzbarsky%mit.edu
b0880cd3de Don't hold a pointer to a destroyed frame if we fail to load the placeholder
image.  Bug 292257, r=jst, sr=dbaron, a=chofmann
2005-05-06 03:14:31 +00:00
bzbarsky%mit.edu
a0b2d8a8ce Make sure to init the border color for the fake border we paint. Bug 292662,
r+sr=dbaron, a=asa
2005-05-05 16:03:06 +00:00
roc+%cs.cmu.edu
7243f7850e Bug 292370. Adjust instrinsic widths in nsHTMLScrollFrame to account for 'width','min-width' and 'max-width' style settings. r+sr=dbaron,a=mkaply 2005-05-03 21:15:55 +00:00
roc+%cs.cmu.edu
995017676b Forgot to check in these other files too 2005-05-02 23:01:41 +00:00
roc+%cs.cmu.edu
903c0d021a Bug 47710. Get padding right in scrollframes. r+sr=dbaron,a=chofmann 2005-05-02 22:49:44 +00:00
blizzard%redhat.com
5834240d64 Bug #260663. When pango is available use it for grapheme cluster information to figure out where valid selection points are. Change text rendering to use clip regions for rendering selected strings instead of rendering partial strings instead. r+sr=roc,a=asa 2005-05-02 20:48:32 +00:00
roc+%cs.cmu.edu
9441821383 Checked in wrong patch. Backing out. 2005-05-02 04:48:59 +00:00
roc+%cs.cmu.edu
4a070ac8cf Bug 47710. Fix padding inside scrollframes. r+sr=dbaron,a=chofmann 2005-05-02 04:26:38 +00:00
roc+%cs.cmu.edu
1d6cfdf5b9 Bug 292286. Fix stupid typo so that we don't reset the vertical scrollbar when there is no horizontal scrollbar. r+sr+a=dbaron 2005-05-02 02:16:25 +00:00
bzbarsky%mit.edu
f6d31f1642 Actually address the review comments on bug 290377... r+sr=dbaron, a=asa 2005-04-30 05:16:21 +00:00
bzbarsky%mit.edu
e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
dougt%meer.net
be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
cbiesinger%web.de
3aae3f5b33 Bug 292114 InstantiateFullPagePlugin should take nsIURI*, not nsString&
r=jst sr=bz a=asa
2005-04-29 12:11:45 +00:00
smontagu%smontagu.org
000b41b9f2 Bug 272386: Allow multiple special codes in print headers and footers. Patch by Alexandre Tremon <atremon@elansoftware.com>, r=smontagu, sr=roc, a=asa 2005-04-29 04:57:51 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
2cebcf0bca Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa 2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
97fad84ab5 Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann 2005-04-28 21:25:11 +00:00
roc+%cs.cmu.edu
8cfd926ecc Bug 174688. Don't apply top border-padding to block frames that aren't first in flow. Also, when a block is incomplete, ensure the frame extends to fill the entire available height. r+sr=dbaron,a=asa 2005-04-26 02:26:12 +00:00
roc+%cs.cmu.edu
011ba7e43c Bug 215760. Don't crash when we have a float continuation whose first-in-flow placeholder is inside an inline; make sure we find a preferred container that's an actual block. r+sr=dbaron,a=asa 2005-04-26 02:24:20 +00:00
rbs%maths.uq.edu.au
2493c7b733 Discarded characters cause the selected text to shift, b=289857. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=chofmann 2005-04-22 01:30:46 +00:00
rbs%maths.uq.edu.au
21f1ab3b18 view-source crashes on bidi text, b=291176, r=smontagu, sr=bz, a=asa 2005-04-21 21:45:59 +00:00
masayuki%d-toybox.com
024aed6c40 bug 290920 If an element has 'font-variant: small-caps', the selection color is broken r/sr=bzbarsky, a=dbaron 2005-04-21 07:54:32 +00:00
roc+%cs.cmu.edu
1fcf18cf25 Bug 290297. Reconstruct previous margin after propagating float damage, in case that dirties the line. r+sr=dbaron,a=asa 2005-04-20 21:45:24 +00:00
roc+%cs.cmu.edu
5b76e66b5f Bug 290469. Don't trust the offset returned by GetOffsetFromView. r+sr=bzbarsky,a=asa 2005-04-19 23:06:47 +00:00
roc+%cs.cmu.edu
9062a6ea25 Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa 2005-04-19 22:58:33 +00:00
masayuki%d-toybox.com
b895cffb5f bug 56314 reverse selection colors when page background is similar to default selection background. Updating the algorithm. r/sr=bzbarsky, a=dbaron 2005-04-19 06:05:22 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
roc+%cs.cmu.edu
8700582fe8 Bug 290553. Make the canvas frame translate event coordinates correctly. r+sr=bzbarsky,a=brendan 2005-04-18 20:41:47 +00:00
vladimir%pobox.com
057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
8e53c3d372 Fix up trees to use correct event coordinate systems. Bug 290494 , r+sr=roc,
a=brendan
2005-04-18 05:22:35 +00:00
bzbarsky%mit.edu
306677ee27 Make splitters use the right coord system for events, and fix up the review
comment from bug 289792.  Fixes bug 290464 and bug 290469 respectively.
r+sr=roc, a=brendan
2005-04-18 05:18:34 +00:00
smontagu%smontagu.org
f83f433bc7 Fix typo from bug 284927. Bug 290567, r+sr=roc, a=mkaply 2005-04-18 03:55:52 +00:00
rbs%maths.uq.edu.au
7ccb32aaf2 text-transform: uppercase or capitalize messes the German character &szlig;, b=96423, r+sr=roc, a=asa 2005-04-18 00:13:45 +00:00
rbs%maths.uq.edu.au
66a44c9b0c 'text-transform: capitalize' causes collapsed/expanded letter spacing, b=93168, r+sr=bz, a=asa 2005-04-17 23:53:28 +00:00
rbs%maths.uq.edu.au
e6cf7e6c5d Selection details leak, b=290425, r+sr=bzbarsky, a=asa 2005-04-16 04:03:11 +00:00
smontagu%smontagu.org
368a0a8b9a Add a rendering hint for gfx implementations that perform reordering of complex text after applying spacing. Bug 284927, r+sr=roc, a=asa 2005-04-15 10:25:43 +00:00
roc+%cs.cmu.edu
eef5322ee4 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa 2005-04-14 22:41:52 +00:00
dbaron%dbaron.org
20b20044e6 Add assertion that warns when we're about to crash due to bug 136927. b=136927 r+sr=jst a=asa 2005-04-14 21:50:46 +00:00
bzbarsky%mit.edu
7f0d146903 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan
2005-04-14 15:30:35 +00:00
roc+%cs.cmu.edu
0a0d19cb3f Bug 289431. Don't include overflow from children in frames that are overflow:-moz-hidden-unscrollable. r+sr=bzbarsky,a=brendan 2005-04-11 22:03:23 +00:00
bzbarsky%mit.edu
be078da968 Make sure to pop off the line style and color we use for imagemaps so it
doesn't affect other drawing done by the page.  Bug 185467, buggy code found by
Jan Darmochwal <jdarmochwal@gmx.de>, r+sr=dbaron
2005-04-10 19:30:40 +00:00
roc+%cs.cmu.edu
61fc68579f 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. 2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu
9d56d917b9 Bug 285996. Checking in update to nsObjectFrame.h. r+sr=dbaron,a=asa. 2005-04-07 04:34:46 +00:00
roc+%cs.cmu.edu
4ab8153bb1 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa. 2005-04-07 04:04:06 +00:00
roc+%cs.cmu.edu
596fb50b2f Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa. 2005-04-07 03:59:02 +00:00
cbiesinger%web.de
95a80b005f fixing bustage 2005-04-06 00:42:41 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
masayuki%d-toybox.com
6165661332 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky 2005-04-04 10:40:48 +00:00
roc+%cs.cmu.edu
61fedcaf7b Bug 288888. Fix detection of when a scrollframe is the root scrollframe, so that we don't create scrollbars for scrolling=no IFRAMEs. r+sr=dbaron 2005-04-03 22:40:25 +00:00
roc+%cs.cmu.edu
fc28b4e0c6 Removing debug printfs that crept in. 2005-04-03 21:19:37 +00:00
roc+%cs.cmu.edu
20d333fbf6 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
cbiesinger%web.de
ee87507218 279167 create elements in the correct namespace (None for HTML documents, XHTML
for XML documents)
patch by Frank Wein <bugzilla@mcsmurf.de> r+sr=jst
2005-04-02 15:47:13 +00:00
dbaron%dbaron.org
da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
timeless%mozdev.org
d4bd0359bb Bug 288587 crash while viewing Real videos
r=tor sr=tor
2005-04-01 16:41:55 +00:00
dbaron%dbaron.org
36107f5980 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
5466f1cb0f Bug 288117. Fix up function name as dbaron requested. 2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
aaronleventhal%moonset.net
c8dd1f358c Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst 2005-03-31 01:38:04 +00:00
roc+%cs.cmu.edu
ee070ec95f Bug 285348. Fix reflow of nested columns by ensuring that if a column overflows, its next-in-flow gets reflowed *even if* that next in flow belongs to continuation of the column set 2005-03-30 20:31:13 +00:00
ginn.chen%sun.com
26c5ac572b Bug 256269 Caret browsing: up/down arrow should not get into button text
r=mats.palmgren sr=roc
2005-03-29 03:28:10 +00:00
dbaron%dbaron.org
1388a89746 Destroy things at the right time (and in one place) to fix crashes. b=206021 r=mats.palmgren sr=roc 2005-03-28 23:03:47 +00:00
roc+%cs.cmu.edu
217d29553f Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky 2005-03-28 21:08:22 +00:00
roc+%cs.cmu.edu
8aee1f332a Bug 272547. Search through wrapped frames when looking for blocks to renumber. r+sr=bzbarsky 2005-03-28 21:05:04 +00:00
bzbarsky%mit.edu
2fb33db26c Show alt text for images blocked by security checks. Bug 285981, r=mvl, sr=jst 2005-03-26 02:26:58 +00:00
timeless%mozdev.org
efa8155d22 Bug 217599 Minor tweaks to nsSelection
r=akk sr=rbs
2005-03-25 07:35:17 +00:00
roc+%cs.cmu.edu
9d58ac21a4 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 2005-03-24 01:15:07 +00:00
roc+%cs.cmu.edu
8361439ea6 Removing noisy printf. 2005-03-23 20:01:39 +00:00
dbaron%dbaron.org
d0b201ef3e Make the printf that roc just checked in #ifdef DEBUG_roc. 2005-03-23 09:30:54 +00:00
roc+%cs.cmu.edu
87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
dbaron%dbaron.org
833605d9f6 Further changes to Georgian list numbering. Patch from Gia Shervashidze <giasher@telenet.ge>. r+sr=dbaron b=287166 2005-03-23 00:26:28 +00:00
dbaron%dbaron.org
3910a048db Fix Georgian list numbering (Mkhedruli, not Khutsuri). b=287166 r=jshin sr=bzbarsky 2005-03-22 23:27:03 +00:00
roc+%cs.cmu.edu
c9feb5cc3c 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 2005-03-21 21:43:01 +00:00
bzbarsky%mit.edu
f03bac09cc 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
2005-03-18 04:13:05 +00:00
scott%scott-macgregor.org
290343e6a9 Bug #282506 --> Inline spell check words go blank while message is being sent
because the text frame is hiding selection text for disabled text nodes. We should never hide
the selection if it is of type spellcheck.

sr=dbaron
2005-03-16 22:58:10 +00:00
aaronleventhal%moonset.net
72422f2793 Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc 2005-03-15 15:24:08 +00:00
cbiesinger%web.de
45e2c791c6 Bug 285171 Merge MIME type getting code in nsObjectFrame
r+sr=bz
2005-03-10 14:57:32 +00:00
bmlk%gmx.de
7b2dd1a316 the failure to load a uri is not a failure to create a docshell bug 283147 r/sr=bzbarsky 2005-03-09 05:40:43 +00:00
roc+%cs.cmu.edu
74aa22c5f3 Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron 2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
2e3b5a6ae5 Bug 281267. Force reflow of lines during absolute incremental reflow if the block is not a space manager, because we need to push our floats (or our descendants') into the space manager. r+sr=dbaron 2005-03-07 20:48:12 +00:00
roc+%cs.cmu.edu
7095b02972 Bug 276602. The rects added to the space manager are not real rects; they are still significant if empty. r+sr=dbaron 2005-03-07 02:30:14 +00:00
roc+%cs.cmu.edu
97bbe7fe29 Bug 276892. Cancel selection if the mouse button is released in some subdocument. r+sr=bzbarsky 2005-03-07 00:34:44 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
32c0620c6e When an image is resized, make it invalidate its mRect, since it needs to
repaint that area.  Bug 284166, r+sr=roc
2005-03-03 04:42:48 +00:00
bzbarsky%mit.edu
e3aebd9c61 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
2005-03-02 04:05:12 +00:00
roc+%cs.cmu.edu
85598b4696 Bug 236996. Underline IME preedit text on Mac. Patch by waverider, r=masayuki, sr=roc 2005-02-28 23:39:26 +00:00
bzbarsky%mit.edu
8efc76dc9a Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin
2005-02-27 18:33:27 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
darin%meer.net
bdb13852d9 s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan 2005-02-21 22:21:21 +00:00
darin%meer.net
ea421f6654 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky 2005-02-21 20:58:01 +00:00
aaronleventhal%moonset.net
6f010e6426 Bug 282588. MozillaContentWindowClass on frames and iframes confuses screen readers. r=ere, sr=neil 2005-02-18 14:24:43 +00:00
roc+%cs.cmu.edu
996d1e3d9e Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman 2005-02-16 20:02:14 +00:00
mvl%exedo.nl
d7cee157d6 Show alt text when imagee blocking is enabled
bug 281492, r=dwitte, sr=bzbarsky
2005-02-08 22:10:52 +00:00
bzbarsky%mit.edu
db59bcd6f9 Fix fallout from the nsIFrameLoader changes of yesterday. Bug 280992, r+sr=jst 2005-02-08 21:30:47 +00:00
bryner%brianryner.com
91542d5229 Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky 2005-02-08 06:55:00 +00:00
roc+%cs.cmu.edu
465537e4b9 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
bzbarsky%mit.edu
e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bryner%brianryner.com
064c7eb606 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
roc+%cs.cmu.edu
05a4dd52a6 Bug 277875. Rewrite nsIFrame::GetWindow and make it not assert --- it's OK to not have a widget when we're printing. r+sr=bzbarsky 2005-02-07 21:59:35 +00:00
bzbarsky%mit.edu
54d585f2af 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
2005-02-07 01:58:25 +00:00
roc+%cs.cmu.edu
3ff2296f52 Bug 263099. Fix coordinate translation in event handling when finding the relevant line of nested blocks. r+sr=bzbarsky 2005-02-07 01:09:58 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00