akkana%netscape.com
ef8556bca9
36082: don't load contents of script tag if script evaluation is off. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@78786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:27:53 +00:00
jst%netscape.com
910463ac05
Adding new file, not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78779 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:10:08 +00:00
buster%netscape.com
af23e01ba7
checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility.
...
git-svn-id: svn://10.0.0.236/trunk@78772 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:43:46 +00:00
buster%netscape.com
0578533a2b
forgot to check this in as part of my last checkin.
...
bug 18754
r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78769 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:25:43 +00:00
rods%netscape.com
2c4b4f2915
fixed twips rounding error in calculation
...
b=52135 r=buster
git-svn-id: svn://10.0.0.236/trunk@78767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:22:43 +00:00
rods%netscape.com
85b8d50cda
stripping CR/LF in href attrs on mouse over or mouse click
...
b=52119 r=harishd
git-svn-id: svn://10.0.0.236/trunk@78766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:21:40 +00:00
buster%netscape.com
685185593d
bug 14280
...
nsTextTransformer.cpp.
I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
for the space as non-breaking and therefore part of the first word in the block.
bug 39901 and 38396
nsHTMLImageLoader.*, nsImageFrame.cpp
I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
gets an unconstrained reflow and has %-based width. This does not handle %-based min-width or max-width, that would be a separate
bug that I'll file shortly. But this fixes the vast majority of real cases out there.
bug 18754
nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
newlines before and after the HR. This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.
bug 50257
nsLineLayout.cpp
Did a couple of things in here:
* The actual fix is controlled by FIX_BUG_50257 #define symbol. This basically says that an break (BR) will always fit on a line.
A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
line. This is a wimpier, safer solution.
* I noticed that the way we got the compatibility mode was way out of date, very wasteful. So I fixed that.
* I noticed that there were a bunch of redundant SetFlag calls. Since the flag variable is initialized to 0, setting a flag to 0 on a newly
created object is a waste.
nsBlockFrame.cpp -- just added a comment to some odd looking code, to make sure no one comes along later and breaks it
git-svn-id: svn://10.0.0.236/trunk@78763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:15:02 +00:00
jst%netscape.com
9e48d5d854
Fixing the content serializers to compile on Windows. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78759 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:55:46 +00:00
buster%netscape.com
0c9f5240c0
added test case 28811
...
git-svn-id: svn://10.0.0.236/trunk@78756 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:49:30 +00:00
buster%netscape.com
f407725c66
bug 28811
...
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children. We were only looking at the first-level children
of a line, not all the children. Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
git-svn-id: svn://10.0.0.236/trunk@78755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:46:44 +00:00
dougt%netscape.com
f6edad2f99
Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@78754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:27:25 +00:00
vidur%netscape.com
71fe4cf591
First cut at the plain text serializer. The bulk of this code froms the old nsHTMLToTXTSinkStream. This is not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78717 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:10:32 +00:00
karnaze%netscape.com
0841e82221
bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any.
...
git-svn-id: svn://10.0.0.236/trunk@78712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:14:02 +00:00
pierre%netscape.com
63613c733a
Fix blocker bug #52039 (crash when resolving pseudo-style for anonymous content).
...
git-svn-id: svn://10.0.0.236/trunk@78710 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:58:22 +00:00
karnaze%netscape.com
e0488b52ca
new regression test, not affecting the build.
...
git-svn-id: svn://10.0.0.236/trunk@78708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:14:09 +00:00
karnaze%netscape.com
8754c60a8b
bug 42643 - invalidate the cell rect when a style change occurs. r=muster.
...
git-svn-id: svn://10.0.0.236/trunk@78706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:47:02 +00:00
vidur%netscape.com
65543aabc1
Ongoing work on content serializers. This is not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:57:59 +00:00
karnaze%netscape.com
a913e39076
new regression test
...
git-svn-id: svn://10.0.0.236/trunk@78692 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:50 +00:00
karnaze%netscape.com
ab21b84455
bug 39209 - don't use auto margins for max element size and maximum widths (when requested
...
during an incremntal reflow).
git-svn-id: svn://10.0.0.236/trunk@78691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:04 +00:00
jst%netscape.com
0dd05c39be
Checking in a infinite loop fix done by Vidur, not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78690 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 23:24:10 +00:00
vidur%netscape.com
10f0ce919d
Better factoring of code. This is not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78687 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 22:22:58 +00:00
jst%netscape.com
097b684218
Getting the serializers up to par. This is not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@78680 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:36:22 +00:00
bryner%uiuc.edu
e5bec3c82c
Bug 51952 - make NS_BOX_ASSERTION get compiled away in release builds. r=syd.
...
git-svn-id: svn://10.0.0.236/trunk@78676 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:14:24 +00:00
karnaze%netscape.com
ce824dfca4
new regression tests, not affecting the build.
...
git-svn-id: svn://10.0.0.236/trunk@78669 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 16:09:52 +00:00
vidur%netscape.com
ebb357da81
Added missing HTML tags. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@78662 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:30 +00:00
vidur%netscape.com
728650873a
Added _moz_dirty. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@78661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:07 +00:00
vidur%netscape.com
1d86c5426a
Backing out inadvertant checkin of makefiles.
...
git-svn-id: svn://10.0.0.236/trunk@78660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:47:21 +00:00
vidur%netscape.com
ff44f08b64
Pretty printing in HTML. Much code lifted from nsHTMLContentSinkStream. This is not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:44:06 +00:00
bryner%uiuc.edu
42df5a5b22
Fixing bug 51096 - crash after changing mousewheel prefs twice. Also remove some assertions and fix a longstanding inconsistency/bug with mousewheel text zoom and history navigation. r=ben.
...
git-svn-id: svn://10.0.0.236/trunk@78653 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 05:35:36 +00:00
vidur%netscape.com
b455ce717d
New HTML and XML serializers. This is not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@78649 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:17:54 +00:00
jst%netscape.com
04e8a00c4d
Adding character offsets to various methods. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78647 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 00:09:14 +00:00
jst%netscape.com
0d581a28d1
Whitespace changes, not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78646 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 23:53:39 +00:00
jst%netscape.com
85bbc8624a
Change interface to allow the implementation to be more efficient. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@78645 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 23:52:59 +00:00
rods%netscape.com
61a9addb52
adding rules for show text in a disabled state in the button element
...
b=41252 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:21:15 +00:00
rods%netscape.com
8a82d7b1a3
reverting back to using macro for impl of set/get of disabled attr
...
b=41252 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:18:53 +00:00
rods%netscape.com
5c976bd892
removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
...
b=51886 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa
wasn't setting status to NS_FRAME_COMPLETE
...
b=49010 r=buster
git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00
vidur%netscape.com
88d3ef668f
Removed unnecessary attribute serializer. This is not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@78639 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:03:58 +00:00
jst%netscape.com
251d1f19d7
New file, not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@78638 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 21:47:23 +00:00
jst%netscape.com
f54ba5cc66
Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
karnaze%netscape.com
3a14935f89
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
...
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
pollmann%netscape.com
127fc5823f
Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:22:01 +00:00
sfraser%netscape.com
ca316ac9e0
Final part of fix for 13718 -- implement call through nsHTMLImageLoader to get natural dimensions. r=pnunn.
...
git-svn-id: svn://10.0.0.236/trunk@78547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:36:29 +00:00
evaughan%netscape.com
2543493e06
Fix for bug# 51163
...
-r hyatt
git-svn-id: svn://10.0.0.236/trunk@78541 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:15:55 +00:00
pnunn%netscape.com
fcd6e7c635
bug:13718: natural img dimens. pnunn, r:sfraser
...
git-svn-id: svn://10.0.0.236/trunk@78533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:52:05 +00:00
pnunn%netscape.com
126dfa95c3
bug#13718: natural img dimens. pnunn, r:sfraser
...
git-svn-id: svn://10.0.0.236/trunk@78532 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:47:46 +00:00
pnunn%netscape.com
013093c147
bug#13718: for editor folk. pnunn, r:sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@78531 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:46:24 +00:00
valeski%netscape.com
30ca1840b0
50188. ifdef debug'ing stderr output so we don't spew it in release builds.
...
git-svn-id: svn://10.0.0.236/trunk@78530 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:43:58 +00:00
kin%netscape.com
9b8fc58349
Added call temporary call to SetInitialValue() in CreateAnonymousContent() to fix
...
the problem where we can't retrieve the password value from the password
dialog. Breaks logging into IMAP.
r=blizzard@mozilla.org a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@78516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 14:55:49 +00:00
hyatt%netscape.com
fe277982e2
Tweak loadBindings call, provide hint to optimize possible style re-resolve in XBL, fix spot dbaron forgot. All 3 are r=ben
...
git-svn-id: svn://10.0.0.236/trunk@78512 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 10:01:18 +00:00