2621 Commits

Author SHA1 Message Date
av%netscape.com
674a9c4de3 nsbeta2+ fix for 17169, cheking in ftang's patch
git-svn-id: svn://10.0.0.236/trunk@70950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:35 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
joki%netscape.com
fab946580d Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
attinasi%netscape.com
8ebbdd39ea Fixed a problem with the method AttributeAffectsStyle: it was erroneously ignoring the fact that HTML attributes can affect style even if there are no CSS rules with thos attributes in the selectors. Changed to restrict the selector evaluation to XML elements. r=shaver, a=karnaze, b=39642
git-svn-id: svn://10.0.0.236/trunk@70872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:02:31 +00:00
kin%netscape.com
d7bccacbfb Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
shaver%mozilla.org
cb79075ed7 add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:32:42 +00:00
saari%netscape.com
b703aee163 Fix for nsbeta2+ 33735, r=joki
git-svn-id: svn://10.0.0.236/trunk@70730 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:28:41 +00:00
buster%netscape.com
a647cfc5e7 fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.


git-svn-id: svn://10.0.0.236/trunk@70613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:36:35 +00:00
pavlov%netscape.com
56c86ec3c7 backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree)
git-svn-id: svn://10.0.0.236/trunk@70543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 03:05:48 +00:00
evaughan%netscape.com
090c58c1f2 Fix for mac xp menus not comming up at all.
git-svn-id: svn://10.0.0.236/trunk@70421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:37:27 +00:00
erik%netscape.com
d82e34d116 make line-height calculation language-sensitive to avoid overlapping lines
git-svn-id: svn://10.0.0.236/trunk@70362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:56 +00:00
joki%netscape.com
7fe66ffb76 fix for resize event support, bug 960, and additional support for DOM 2 events.
git-svn-id: svn://10.0.0.236/trunk@70314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:27:22 +00:00
cls%seawood.org
079260ab04 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS.
git-svn-id: svn://10.0.0.236/trunk@70296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:07:26 +00:00
evaughan%netscape.com
a0451e24a4 Fixed bug that crashed when menus are used with native scrollbars.
git-svn-id: svn://10.0.0.236/trunk@70279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:45:44 +00:00
pavlov%netscape.com
cb832c7996 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@70262 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:24:43 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
karnaze%netscape.com
1979c23f3b bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.


git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
akkana%netscape.com
a24273164d Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
git-svn-id: svn://10.0.0.236/trunk@70135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:48:28 +00:00
kin%netscape.com
2ed3618a8f - First pass checkin for a Drag and Drop friendlier selection. (Bug #38527) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
- Replaced tabs with spaces.


git-svn-id: svn://10.0.0.236/trunk@70121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:16:05 +00:00
cmanske%netscape.com
ca87bdf4d5 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@70116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:12:54 +00:00
shaver%mozilla.org
8894dc47fd make sure that style attributes get the reresolve dance
git-svn-id: svn://10.0.0.236/trunk@70111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:05:47 +00:00
pollmann%netscape.com
e50f08ece3 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:02:16 +00:00
shanjian%netscape.com
beb4a500e4 #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.


git-svn-id: svn://10.0.0.236/trunk@70079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:52:05 +00:00
shanjian%netscape.com
8afbbf4919 #7601
r = ftang
Fixed non-ascii forward wordjump problem.


git-svn-id: svn://10.0.0.236/trunk@70078 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:51:09 +00:00
mjudge%netscape.com
923a9c6cea changes for setcapture.
git-svn-id: svn://10.0.0.236/trunk@70048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:52:28 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
anthonyd%netscape.com
8e4f929fe8 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.


git-svn-id: svn://10.0.0.236/trunk@70013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
7bf34e9d29 Select table column and row support (20973). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:03:13 +00:00
shaver%mozilla.org
f792546214 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
nisheeth%netscape.com
5a01bb97d5 Do not do async reflow during document load because this breaks progress notificaitons and the performance metrics.
git-svn-id: svn://10.0.0.236/trunk@69935 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:11:29 +00:00
erik%netscape.com
7e1c431935 bug 27164; need to multiply line-height by font's em square height, not
bounding box height; r=buster


git-svn-id: svn://10.0.0.236/trunk@69819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:40:42 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
buster%netscape.com
25b5e3a49a added reflow notification, from Thomas Lendacky (toml@us.ibm.com)
r=buster


git-svn-id: svn://10.0.0.236/trunk@69734 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:37:21 +00:00
buster%netscape.com
98dbc47939 bugs 38396, 29429, 32471, 27390, 32581
errors in incremental calcuation of max-element-size and preferred-size


git-svn-id: svn://10.0.0.236/trunk@69635 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:56:25 +00:00
buster%netscape.com
8d08d0dae5 bug 38396, a bug in calculation of image width given it's height and a percent width
git-svn-id: svn://10.0.0.236/trunk@69634 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:46:19 +00:00
buster%netscape.com
e7bd6199bd bug 38396, a bug in max width calculation exposed by tables
git-svn-id: svn://10.0.0.236/trunk@69633 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:43:52 +00:00
mjudge%netscape.com
5dc3b3236c updating capture code
git-svn-id: svn://10.0.0.236/trunk@69627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
ca5bf03af3 more changes to make table navigation in editor
work correctly and not crash.


git-svn-id: svn://10.0.0.236/trunk@69601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
66f161ec56 adding method to remove scrollbars
git-svn-id: svn://10.0.0.236/trunk@69593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:00:53 +00:00
mjudge%netscape.com
9f85d6b917 fixing warnings and some redundant code
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
8dab9e6005 changing use of nsXIFConverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69546 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:10:25 +00:00
mjudge%netscape.com
2c8848032c changing nsXifconverter to nsIXIFconverter
git-svn-id: svn://10.0.0.236/trunk@69545 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:25 +00:00
mjudge%netscape.com
e01b786221 fixing up some of the calls for frameselection to setting mousedown state
git-svn-id: svn://10.0.0.236/trunk@69544 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:03 +00:00
saari%netscape.com
7d2da79fbf First checkin for bug 29800, preventing scrolling to content when focus
memory is resetting focus after deactivating and reactivating a window.


git-svn-id: svn://10.0.0.236/trunk@69276 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:40:51 +00:00
sspitzer%netscape.com
6500e416c5 fix crasher when clicking on a text area. bug #38897.
git-svn-id: svn://10.0.0.236/trunk@69203 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 08:41:35 +00:00
mjudge%netscape.com
303c4eb4ce need to check for independent selection to grab mousedown state. will change this to be implemented by selectioncontroller later
git-svn-id: svn://10.0.0.236/trunk@69190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:50:16 +00:00
mjudge%netscape.com
2f9bd42697 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
20e7680b7c r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly


git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
ftang%netscape.com
ef22a5b8b1 fix bug 16796. handle german &szlig; and convert to SS in capital and uppercase
git-svn-id: svn://10.0.0.236/trunk@69046 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:44:09 +00:00