2608 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
945c775af1 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108487 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:30:29 +00:00
jst%netscape.com
e5e4e2e102 Checking in John Keiser's fix for bug 110613, problems with file inputs. r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108473 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 10:35:52 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
jst%netscape.com
ded5cf4b76 Fixing part of bug 62536. Make element.scrollHeight and scrollWidth work correctly and making element.scrollIntoView() work even for elements inside nested scrollable views. r=hidday@geocities.com, jkeiser@iname.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108426 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 06:04:17 +00:00
danm%netscape.com
c748829484 more changes to make xmldoc.createElementNS() create the correct type of element (and fix tinderbox mac bustage)
git-svn-id: svn://10.0.0.236/trunk@108358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 06:18:04 +00:00
rbs%maths.uq.edu.au
5553e08c9e bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
git-svn-id: svn://10.0.0.236/trunk@108341 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:36:05 +00:00
bzbarsky%mit.edu
64ae81272f Make various location.href and anchor href properties writable (NS4
compat).  Patch from Christian Biesinger (cbiesinger@web.de),
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@108339 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:23:22 +00:00
morse%netscape.com
d82e69afa8 bug 104894, parsing p3p compact policies, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:05:53 +00:00
jkeiser%iname.com
d443ae56e1 Fix textboxes not showing up in Print and Print Preview (bug 109914). r=sicking@bigfoot.com;sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:38:10 +00:00
danm%netscape.com
a5c5cddf01 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108225 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:03:19 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
dbaron%fas.harvard.edu
5d903ccb5f Avoid pointless nsAutoString construction and extra copy. b=109250 r=jag sr=jst
git-svn-id: svn://10.0.0.236/trunk@108163 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:47:39 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
cmanske%netscape.com
886cace519 Use 1000 as limit for HR size, b=102051, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@108090 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 22:27:58 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
bzbarsky%mit.edu
8a3a1251d3 Fix pasting into password boxes with middle-mouse paste. Bug 109520,
r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@107902 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 22:52:18 +00:00
dbaron%fas.harvard.edu
e619d6fc7c Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu
7d6358f8fc Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +00:00
jst%netscape.com
0936a7cef0 Checking in Jonas Sicking's <sicking@bigfoot.com> fix for bug 109154. Make this code not suck as much, don't use GetPrimaryFrame() when there's no need to. r=jkeiser@iname.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107826 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 08:25:16 +00:00
jst%netscape.com
ad66f47ab5 Checking in Fabian's <hidday@geocities.com> patch for bug 105640. Add support for IE's document.compatMode property. r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107824 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 07:36:19 +00:00
sicking%bigfoot.com
bc75854c14 Make checkboxes without value attribute work.
b=109122 r=bz sr=jst a=asa (for drivers)


git-svn-id: svn://10.0.0.236/trunk@107732 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 06:14:52 +00:00
dbaron%fas.harvard.edu
b941398e09 Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard
git-svn-id: svn://10.0.0.236/trunk@107639 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu
77c9718bde Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750
git-svn-id: svn://10.0.0.236/trunk@107591 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 07:06:31 +00:00
joki%netscape.com
e4bbbe83de Fix for 71705, stop right click from triggering onclick handlers in base html content, though not in xml/xul/chrome. reviewed a while ago, lost in tree. r:saari,sr:hyatt
git-svn-id: svn://10.0.0.236/trunk@107585 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:29:29 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
karnaze%netscape.com
b87047f2a5 bug 57300 - treat the height attribute on a row similarly to a style height. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@107492 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:00:10 +00:00
rods%netscape.com
843ec68778 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107448 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 12:18:51 +00:00
jst%netscape.com
ba5a80f5bd Fixing bug 108232. Don't flush like mad in the form code now that form state is kept in the content elements and not in the frames. r=jkeiser@iname.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107444 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 09:10:07 +00:00
hyatt%netscape.com
192c50dc19 103097, fire custom events when link elts are added/removed. Helping out the link toolbar folks. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@107443 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 09:02:55 +00:00
jkeiser%iname.com
5c1f007583 Fix from jst@netscape.com to URL-escape A NAME (bug 87996)
git-svn-id: svn://10.0.0.236/trunk@107439 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 07:14:40 +00:00
jkeiser%iname.com
e280789a88 Make only text/password/file/hidden elements reset when value attribute is
changed.  (bug 108526).  r=rpotts@netscape.com, sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@107435 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 05:41:47 +00:00
jst%netscape.com
77961e0d07 Checking in workaround for blocker bug 108526. Don't force a reset of an input if there's no parent since this causes checkboxes and radio buttons to be reset before all their attributes are added. r=sicking@bigfoot.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@107359 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 23:20:05 +00:00
bzbarsky%mit.edu
8e5d7cf707 Fix the strings returned by .newValue/.prevValue for mutation events
(get rid of extra quotes, always set .prevValue if it exists).  Bug
107526, r=fabian, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@107329 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 13:19:10 +00:00
jst%netscape.com
59f4f0adf1 Fixing blocker bug 108198. Make setAttribute('value') change .value until .value is set by JS or user. Patch by John Keiser <jkeiser@iname.com>, r/sr=hyatt@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107321 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:50:21 +00:00
jst%netscape.com
464f592ef1 Removing pointless GetIndex() call that does nothing but slow us down. r=jkeiser@iname.com, r=bzbarsky@mit.edu, sr=me.
git-svn-id: svn://10.0.0.236/trunk@107315 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:15:14 +00:00
jst%netscape.com
425fc3a0b6 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 08:13:48 +00:00
seawood%netscape.com
76780820f4 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696


git-svn-id: svn://10.0.0.236/trunk@107199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:29:05 +00:00
jst%netscape.com
d489aa86fc Fixing bug 108174. --disable-bidi build bustage. Patch from jkeiser@iname.com, r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107198 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:25:29 +00:00
aaronl%netscape.com
7cc86dcab7 Bug 107858. Active Accessibility: Radio button and checkbox statechange events not working. r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@107134 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 00:16:42 +00:00
darin%netscape.com
e61d7118d7 a=leaf, bustage fix!
git-svn-id: svn://10.0.0.236/trunk@107117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 20:17:18 +00:00
jst%netscape.com
474e0aed63 Fix problem in the formrewrite changes, the new code ends up doing a flush on the document from within DemoteContainer() in the sink which ends up notifying the document about some peices of content more than once. This causes duplicated content on some pages. r=jkeiser@iname.com. sr=myself.
git-svn-id: svn://10.0.0.236/trunk@107100 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 11:28:20 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
jst%netscape.com
09b081e767 Fixing bug 52120. Make mozilla pass the expected arguments to window.onerror. r=jkeiser@iname.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107067 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 04:49:07 +00:00
hyatt%netscape.com
3646e122c1 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00
jst%netscape.com
639d748f26 Fixing bustage, this was lost in a patch...
git-svn-id: svn://10.0.0.236/trunk@106906 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:58:28 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
jst%netscape.com
8d2569a64b Fixing topembed bug 106105. Clear our document.body cache when resetting a document, and make sure the right things are flushed when position and size related properties are accessed. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106875 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:52:52 +00:00
jst%netscape.com
611fab96b0 Fixing blocker bug 107627. Put back the embed elements attribute mapping code that was lost when the embed element was combined with nsHTMLSharedLeafElement.cpp. r=bzbarsky@mit.edu, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106839 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 21:03:31 +00:00
kin%netscape.com
9673ca95ec Backout glazman's fix for bug 107567, pending investigation
on why it causes the tinderbox Leak count to go up.

a=beard@netscape.com,jj@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 19:03:46 +00:00
glazman%netscape.com
8c9c7abf8d Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin
git-svn-id: svn://10.0.0.236/trunk@106832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 15:53:25 +00:00