10018 Commits

Author SHA1 Message Date
jkeiser%netscape.com
d214c656a8 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
git-svn-id: svn://10.0.0.236/trunk@142762 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
dad14022d0 Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +00:00
roc+%cs.cmu.edu
4685a42d27 Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142737 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:40:16 +00:00
dbaron%dbaron.org
9aac1ef1b8 Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by kin@netscape.com. r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@142662 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 20:49:27 +00:00
smontagu%netscape.com
630769075e Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142656 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 18:19:09 +00:00
dougt%meer.net
999a1342b9 Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142571 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 01:10:50 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
d88c07597f Oops, wrong tree. Backing out.
git-svn-id: svn://10.0.0.236/trunk@142487 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
85e28181ee Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142486 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:32:08 +00:00
roc+%cs.cmu.edu
128348933b Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns.
git-svn-id: svn://10.0.0.236/trunk@142482 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 01:42:53 +00:00
dbaron%dbaron.org
14904b0f8b Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@142464 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu
722a5b8f40 Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142402 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 00:44:38 +00:00
bryner%netscape.com
468d4be15c Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@142319 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 07:11:16 +00:00
jst%netscape.com
1a3fdb6d94 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@142281 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 20:42:49 +00:00
smontagu%netscape.com
b6e3d92246 Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142219 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu
32f33c5a39 Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@142162 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 05:46:46 +00:00
roc+%cs.cmu.edu
58361a0999 Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case
git-svn-id: svn://10.0.0.236/trunk@142108 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-04 19:00:21 +00:00
cbiesinger%web.de
183bf0a7b1 199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked
git-svn-id: svn://10.0.0.236/trunk@142107 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu
8dea548af1 When doing a placeholder, paint it and the alt text in the foreground layer,
not the background one.  Bug 156987, r+sr=roc+moz, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142092 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-03 02:34:42 +00:00
neil%parkwaycc.co.uk
43ff870e5d Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@142007 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 10:42:33 +00:00
mjudge%netscape.com
51c60875af 195080 fix regression. sr=sfrasier r=danm. fix logic for moving caret around 0 width frames
git-svn-id: svn://10.0.0.236/trunk@141980 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 21:37:05 +00:00
colin%theblakes.com
cadbf3a7e7 Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
3f946372a6 Images with no alt attr in quirks mode should show a placeholder, even if they
were blocked.  Bug 201288, r+sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@141943 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:49:42 +00:00
bzbarsky%mit.edu
8a2051dddd Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@141941 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:45:51 +00:00
bzbarsky%mit.edu
450b865962 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@141839 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu
d1f7fb48d5 Pass the content parent frame to ConstructTableFrame so the view that's created
goes in the right place in the z-ordering.  Bug 203086, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@141838 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:08:35 +00:00
peterlubczynski%netscape.com
fa1fbae9a6 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
84f9273d91 Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
202917, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@141646 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 00:43:03 +00:00
smontagu%netscape.com
7590ef36b5 Bug 170547 Caret is in the wrong place after deleting <LI>'s. r+sr=kin.
git-svn-id: svn://10.0.0.236/trunk@141643 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 00:24:24 +00:00
mjudge%netscape.com
25c3b291f9 192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images)
git-svn-id: svn://10.0.0.236/trunk@141632 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 23:18:34 +00:00
mjudge%netscape.com
8fb467e2ab 202834 r=danm sr=kin fixes regression in line clicking and navigation.
git-svn-id: svn://10.0.0.236/trunk@141627 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 22:40:58 +00:00
jst%netscape.com
4fac069d27 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141626 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 21:57:25 +00:00
sfraser%netscape.com
cbc443676c Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@141607 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 18:11:12 +00:00
roc+%cs.cmu.edu
5d2f76e819 Fixing indentation
git-svn-id: svn://10.0.0.236/trunk@141563 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 01:34:30 +00:00
roc+%cs.cmu.edu
48f5e93a92 Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@141562 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu
9861b52663 Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141552 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:57:47 +00:00
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
bzbarsky%mit.edu
5d0e5db7b2 Fix for annoying assert. Bug 202717, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@141504 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 04:09:51 +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
kairo%kairo.at
81cde04677 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +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
jshin%mailaps.org
b32399e610 bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)


git-svn-id: svn://10.0.0.236/trunk@141073 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:40:26 +00:00