dbaron%fas.harvard.edu
0b4effd4ea
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
attinasi%netscape.com
dbe40cd4b1
Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
alexsavulov%netscape.com
7de8bdc786
fix for bug 100963 r= kmcklusk sr= attinasi a= asa
...
added region invalidation to cause repainting of areas previously
occupied by a removed line
git-svn-id: svn://10.0.0.236/trunk@117493 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:03:41 +00:00
rods%netscape.com
3e0f1a77a9
Generically enables the browser to cache the curent presentation (frames,
...
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117481 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
ee378de566
Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
96262761f0
Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@117467 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
15dfb9e065
Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117465 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:33:48 +00:00
attinasi%netscape.com
d0a0308d7e
Patched topcrash sites: checking for null before deref. b=121444 r=kmcclusk sr=roc+moz a=asa (drivers)
...
git-svn-id: svn://10.0.0.236/trunk@117450 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 01:22:31 +00:00
mjudge%netscape.com
64ab4404a1
123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside
...
git-svn-id: svn://10.0.0.236/trunk@117429 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:44:46 +00:00
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
cbiesinger%web.de
cf03b9b3e2
bug 104906 r=pavlov sr=tor a=asa
...
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 13:21:33 +00:00
cmanske%netscape.com
0f10a83af9
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117184 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:26:18 +00:00
cmanske%netscape.com
0b6789dd9e
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
av%netscape.com
6c3a42c78c
Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@117149 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:19:10 +00:00
karnaze%netscape.com
4cedce858a
bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@116999 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:14:27 +00:00
rods%netscape.com
2bd0f7d51b
The patch in nsPageFrame.cpp is insurance to help keep a problem like this from
...
hanging the browser again.
The patch in nsSimplePageSequence.cpp is the actual fix. I verified that
nsPageFrame patch will stop it from happening.
Bug 132022 r=dcone a=attinasi a=scc
git-svn-id: svn://10.0.0.236/trunk@116970 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:34:18 +00:00
kin%netscape.com
39fbbae643
Fix for bug 102615: After changing font color, backspacing
...
to a previous line does not let caret
update position
Modified RemoveFrame() so that it generates a reflow
command when removing a <br> from an inline with a next-in-flow.
r=dbaron@fas.harvard.edu sr=attinasi@netscape.com a=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116937 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:44:43 +00:00
bnesse%netscape.com
3bca20a8d9
Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116891 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:10:45 +00:00
smontagu%netscape.com
395a7140b7
Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116883 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 21:57:45 +00:00
peterlubczynski%netscape.com
aa949ea765
Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116863 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 15:39:45 +00:00
alecf%netscape.com
f4ad21ae3a
a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
peterlubczynski%netscape.com
215fcc3f0f
Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116766 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 00:01:00 +00:00
karnaze%netscape.com
009e7ede52
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
pavlov%netscape.com
c04a410905
fixing bug 131231 r=valeski sr=attinasi a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116703 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 05:46:26 +00:00
rbs%maths.uq.edu.au
77105b9e58
Fix bug 101180 - the minimum line-height wasn't applied at the first reflow, causing the line to flicker at the next reflow, r=dbaron, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116634 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 08:03:18 +00:00
mkaply%us.ibm.com
37a03f5b17
OS/2 bustage - need cast here
...
git-svn-id: svn://10.0.0.236/trunk@116462 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 04:01:56 +00:00
nhotta%netscape.com
d0aa14c5a0
For IMAGE SRC/FRAME SRC, set a charset from the document and pass it to NS_NewURI,
...
bug 127282, r=attinasi, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116435 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:26:11 +00:00
karnaze%netscape.com
d2766aacef
bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@116409 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:48:52 +00:00
karnaze%netscape.com
1c08f43c69
bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
bzbarsky%mit.edu
feb68c2f7a
Account for scrollbar in incremental reflow of fixed-pos elements. Bug
...
130002, r=dbaron, sr=attinasi, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@116405 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:29:33 +00:00
karnaze%netscape.com
e4f8ba49ca
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@116402 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:21:35 +00:00
rods%netscape.com
cdc9d9dd89
Change getters of widgets to nsCOMPtrs to get rid of leaks.
...
Bug 129933 r=dcone sr=attinasi a=roc
git-svn-id: svn://10.0.0.236/trunk@116394 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:16:57 +00:00
nisheeth%netscape.com
c4abeaed7a
Ongoing fix for bug 81446. r=peter lubcynzski. sr=jst. a=asa. Fixes leaks of PARAM elements which now get destroyed when the document goes away. This fix ddoes away with 394206 bytes of leaks described in bugs 129423, 129424, 129425, 129429. We still leak memory across reloads of the same page so bug 81446 is being left open.
...
git-svn-id: svn://10.0.0.236/trunk@116348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:52:32 +00:00
rods%netscape.com
5a7f899de6
The problem is that on windows widget can only be positioned to a y coord of
...
32767. This ends up being about 32 pages. The nsPageFrame's view creates a
widget for clipping absolutely positioned content and plugins.
This fix will allow a document to have up to 32 pages of clipping after that it
stops creating the widget. The down side is that any absolutely positioned
content or plugins beyond page 32 will not be clippe din print preview.
Also, fixed a leaked widget
Bug 127263 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@116308 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:40:51 +00:00
shaver%mozilla.org
e045387a83
reversion of patch for 92868, to repair severe regression (129827, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@116295 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:16:01 +00:00
mkaply%us.ibm.com
ba959ec54e
#41924
...
r=timeless, sr=attinasi, a=asa
Display alt text if the user has blocked all images.
git-svn-id: svn://10.0.0.236/trunk@116259 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 05:31:35 +00:00
alexsavulov%netscape.com
bb4d45ce8c
checked in the wrong version of the patch
...
PREVIOUS CHECKIN COMMENT
fix for bug 122200 - floaters regression and fix for bug 99461 - floating
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa
git-svn-id: svn://10.0.0.236/trunk@116184 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:23:55 +00:00
alexsavulov%netscape.com
66e4b80082
fix for bug 122200 - floaters regression and fix for bug 99461 - floating
...
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa
git-svn-id: svn://10.0.0.236/trunk@116174 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 20:25:54 +00:00
bnesse%netscape.com
4e7532e1a0
Fix for bug 129151. Initialize all fields in the message object. r=beard, sr=alecf, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116162 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 19:42:44 +00:00
cbiesinger%web.de
3d4fda5654
partially fixes bug 41333, Adding a new image type is way too complicated
...
r=pavlov sr=tor a=asa
git-svn-id: svn://10.0.0.236/trunk@116157 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 18:58:57 +00:00
peterlubczynski%netscape.com
e73bf04c8b
Fix for windowless plugins not painting in the right place, bug 118721 patch by mailto:dbrittain@superscape.com r=peterl sr=roc+moz a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116154 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:49:43 +00:00
karnaze%netscape.com
7cf7c2cc59
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
peterlubczynski%netscape.com
45160766d4
Fix for % sizing of object frame, bug 106602 r=serge sr=attinasi a=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@116056 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:22:24 +00:00
bryner%netscape.com
01634657fa
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
pavlov%netscape.com
a970af6da5
fixing 76177. r=cmanske sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@115990 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:45:55 +00:00
rbs%maths.uq.edu.au
2e58797523
bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115982 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:22:24 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
6251eec470
Speed up text measurement inside <pre> (major win for view source). Bug
...
98118, r=shanjian, sr=roc+moz, a=asa
git-svn-id: svn://10.0.0.236/trunk@115873 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:23:09 +00:00
alecf%netscape.com
8755908f04
bug 127091 - big string cleanup, removing old APIs
...
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
karnaze%netscape.com
a32de30fd5
bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@115722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 15:48:56 +00:00