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
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
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
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
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
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
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
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
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
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
jst%netscape.com
d6162316cc
Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78500 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:56:15 +00:00
pollmann%netscape.com
f972f867ca
Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
pollmann%netscape.com
b8d8068374
Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:52:57 +00:00
sfraser%netscape.com
4ed26ff1e6
Fix the tree bustage. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@78477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu
3ccf2a2ea4
Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
...
Make namespace prefixes case insensitive within CSS by normalizing to lower-case. b=35813
r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:05:09 +00:00
pollmann%netscape.com
f26bbc9e5e
Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:46:00 +00:00
mscott%netscape.com
9b2caee4b9
Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
...
r=valeski
git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
karnaze%netscape.com
d96ca778e1
new regression tests, not affecting the build.
...
git-svn-id: svn://10.0.0.236/trunk@78427 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 22:05:12 +00:00
heikki%netscape.com
6f651fdbf2
Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki.
...
git-svn-id: svn://10.0.0.236/trunk@78420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:03:26 +00:00
karnaze%netscape.com
36ea06ba2f
bug 33137 - don't use the min width of a cell which is larger than the fixed width of the cell as the basis of the fixed width contributor. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@78419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:55:03 +00:00
kin%netscape.com
a78dd6b7d3
Fix for bug #46396 : select after input confuses session history
...
Moved code that set initial value of text control via the editor from
CreateAnonymousContent() to a new method called SetInitialValue().
SetInitialValue() is now called during the frame's first reflow.
Added mUseEditor to indicate when it is safe to use the editor
to get and set values.
r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:11:23 +00:00
akkana%netscape.com
383539d22b
50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
morse%netscape.com
feb9add6f2
bug 51338, cookie nag box not modal, r=mstoltz
...
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +00:00
sfraser%netscape.com
fb865adb8e
Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard
...
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
sfraser%netscape.com
fc51db9344
Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
hyatt%netscape.com
2e1635d8b1
Patch to enable event.originalTarget on input fields. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@78325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:47:52 +00:00
ftang%netscape.com
d19e2e0bfe
fix bug 50654. r=nhotta take care " in the charset
...
git-svn-id: svn://10.0.0.236/trunk@78270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:41:12 +00:00
rods%netscape.com
e2be4f7a56
changed fonts to use CSS3 fonts so they can be overridden
...
Bug 44656 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@78263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:18:02 +00:00
rods%netscape.com
33de22fd07
For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
...
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
git-svn-id: svn://10.0.0.236/trunk@78262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:02:44 +00:00
pollmann%netscape.com
c265ced149
Bug 3326: IsIndex implementation (not part of build)
...
git-svn-id: svn://10.0.0.236/trunk@78254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:37:49 +00:00
jst%netscape.com
1154cd5b3b
Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:03:34 +00:00