4098 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b51212ed63 Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141541 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:06:40 +00:00
bryner%netscape.com
6d58bc1d0d Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@141538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:01:36 +00:00
arougthopher%lizardland.net
bbac0a90c3 Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher


git-svn-id: svn://10.0.0.236/trunk@141451 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 16:40:06 +00:00
cbiesinger%web.de
09e5755e82 70820 patch by keeda@hotpop.com r=dbaron sr=jst ALT in broken image cannot be changed by the DOM
git-svn-id: svn://10.0.0.236/trunk@141413 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 21:02:49 +00:00
mjudge%netscape.com
eed2f62389 fix for 195080 and other caret jumping problems. r=kaie sr=fraser
git-svn-id: svn://10.0.0.236/trunk@141334 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:22:17 +00:00
cbiesinger%web.de
b20f4e6f04 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two
git-svn-id: svn://10.0.0.236/trunk@141332 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:17:01 +00:00
kaie%netscape.com
65f05f911b b=102246 Text does not completely highlight with a double-click if there is more than one style applied
r=mjudge sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@141256 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 20:21:44 +00:00
kmcclusk%netscape.com
0a1d8d7ffd Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin
git-svn-id: svn://10.0.0.236/trunk@141224 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 02:01:12 +00:00
bzbarsky%mit.edu
eefaa620cb Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
aaronl%netscape.com
947985ab30 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141171 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 08:45:55 +00:00
dbaron%dbaron.org
7665cddbab Correct translation when ensuring floats are never higher than prior floats. b=201985 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@141157 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 03:10:50 +00:00
bzbarsky%mit.edu
fe8997ff0a Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@141067 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 16:06:54 +00:00
bzbarsky%mit.edu
a25c42a48c fix build warning.
git-svn-id: svn://10.0.0.236/trunk@141066 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 15:03:08 +00:00
bzbarsky%mit.edu
067f1f80c3 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)


git-svn-id: svn://10.0.0.236/trunk@141057 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu
8afd2397cf Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141056 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 04:55:07 +00:00
bryner%netscape.com
3adf1814d6 taking a stab at luna orange... removing bogus forward declaration
git-svn-id: svn://10.0.0.236/trunk@141025 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 11:29:32 +00:00
bryner%netscape.com
2b86f1c62f Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@141023 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 08:26:42 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
peterlubczynski%netscape.com
4996977d2f Fixing bug 129306, regression: can't hide plugins with a widget, r=roc+moz sr=bz
git-svn-id: svn://10.0.0.236/trunk@140975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 17:22:24 +00:00
locka%iol.ie
ef4de4771e Fix for bustage, return NS_OK from method with NS_IMETHOD return type. a=roc+@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@140909 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 13:16:05 +00:00
roc+%cs.cmu.edu
345c305cb3 Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@140908 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu
6f4d9821e6 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140907 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 11:17:42 +00:00
roc+%cs.cmu.edu
d4ac9a5795 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
kin%netscape.com
811daa38c7 Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@140805 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:28:51 +00:00
bmlk%gmx.de
ee6bc129df display overflow information in debug reflow bug 200881 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140763 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 08:36:19 +00:00
roc+%cs.cmu.edu
c43b1f1f74 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140762 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 02:49:40 +00:00
roc+%cs.cmu.edu
4dfef42d7f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
roc+%cs.cmu.edu
941938fa81 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140747 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 11:41:19 +00:00
peterlubczynski%netscape.com
8a4b0ee432 Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz
git-svn-id: svn://10.0.0.236/trunk@140666 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:53:59 +00:00
bzbarsky%mit.edu
d4a09d69c6 ComputeStyleChangeFor does not need to put all the in-flows into the
changelist.  Propagate the "current" toplevel change as the min change as we go
down the in-flow and special sibling list.  Bug 166205, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@140656 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 21:51:06 +00:00
cbiesinger%web.de
830d1f4998 163594 patch by mloiselle@yahoo.com r+sr=roc+moz HR is highlighted by single click in browser (horizontal ruler) (select)
git-svn-id: svn://10.0.0.236/trunk@140648 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 19:25:25 +00:00
bryner%netscape.com
fa8b5f2eb3 Improve logic for focusing the DOM window on page loads to deal with the
document of a previously focused iframe still being present.  Fixes bug
170811, clicking a link in an iframe which loads in a parent window causes
loss of focus.  r=saari, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@140635 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 08:14:51 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
bryner%netscape.com
cc0072470d On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@140597 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:26:29 +00:00
kaie%netscape.com
4b916bd363 b=192320 Cannot down arrow in file
r=mjudge sr=kin


git-svn-id: svn://10.0.0.236/trunk@140584 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 12:05:43 +00:00
locka%iol.ie
945fbd5fb9 Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140583 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 11:18:00 +00:00
bryner%netscape.com
45f29d228f Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@140542 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:35:58 +00:00
bzbarsky%mit.edu
67db3288d0 "Backing" changes back in since tree has reopened.
git-svn-id: svn://10.0.0.236/trunk@140538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
94a9f714fa Backing all this out, since tree is closed.
git-svn-id: svn://10.0.0.236/trunk@140536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
3943474ad6 Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
Bug 199021, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@140533 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 01:35:20 +00:00
aaronl%netscape.com
affc2f4d4e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
dbaron%dbaron.org
0465d009bf Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@140250 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:24:07 +00:00
timeless%mozdev.org
1c2b950706 Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst


git-svn-id: svn://10.0.0.236/trunk@140227 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 07:28:54 +00:00
seawood%netscape.com
4da846686f Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140220 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 06:54:52 +00:00
darin%netscape.com
418b92e9d5 backing out roc+%cs.cmu.edu check-in for bug 113232
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
darin%netscape.com
d3432f8912 backing seth out, for blocker fixes
git-svn-id: svn://10.0.0.236/trunk@140171 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
eeb894ca8c fix for regression bug #198946
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.


git-svn-id: svn://10.0.0.236/trunk@140159 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:41:10 +00:00
roc+%cs.cmu.edu
a70c7ce7b7 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@140133 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
6f0e8cad25 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140132 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:57:22 +00:00