2855 Commits

Author SHA1 Message Date
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
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00
harishd%netscape.com
b06c32fe16 Make sure to not reevaluate a SCRIPT when demoting FORM. Patch proposed by |vidur|. b=96861, r=harishd, sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117524 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:13:12 +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
peterv%netscape.com
50fecb115d Back-out of fix for bug 123899 (document.body.innerHTML is broken). This caused bug 132673 and a bunch of duplicates. Tp might go up slightly but that's just because we stop dropping some content.
git-svn-id: svn://10.0.0.236/trunk@117479 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:15:15 +00:00
bryner%netscape.com
8b0b1784d6 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc.
git-svn-id: svn://10.0.0.236/trunk@117391 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu
71d51343f1 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@117359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 01:08:17 +00:00
dbaron%fas.harvard.edu
83983b4622 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@117351 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:13:20 +00:00
dbaron%fas.harvard.edu
e208ee6015 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@117350 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:04:39 +00:00
dbaron%fas.harvard.edu
b447eec349 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@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +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
andreas.otte%debitel.net
6151a1f374 fix bug 94096 [Content-Base Header should not be supported] remove
support for header that was only part of a draft for http 1.1,
r=harishd, sr=jst, a=scc


git-svn-id: svn://10.0.0.236/trunk@117220 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:24:48 +00:00
caillon%returnzero.com
c56a306976 Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00
dp%netscape.com
682459c176 bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@117158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 06:28:16 +00:00
jfrancis%netscape.com
7897ddf7d9 fix for 98622: <big>/<small> not copied if partially selected
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117108 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:31:26 +00:00
bryner%netscape.com
71a03d2a1d Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase.
git-svn-id: svn://10.0.0.236/trunk@117039 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 07:33:51 +00:00
bryner%netscape.com
f8019ea98c Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@117008 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 23:28:48 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bryner%netscape.com
8763a125c1 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +00:00
peterv%netscape.com
2ccc2317a7 Bug 123899 (document.body.innerHTML is broken). Don't notify the document twice about content modification from script. r=Fabian, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 13:22:27 +00:00
badami%netscape.com
da14c60c9d forget datas - If no basehref is specified in head but one is in the body use the one in the body.
bug 121481 r=harishd sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116949 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:23 +00:00
bzbarsky%mit.edu
7b5174cb18 |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.


git-svn-id: svn://10.0.0.236/trunk@116901 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:38:08 +00:00
hidday%geocities.com
2785da72ed Fixing bug 26528 "cloneNode() doesn't copy event handlers".
r=brendan@mozilla.org sr=jst@netscape.com a=asa@mozilla.org
This patch causes event handlers set as attributes on an element
to be registered as event handlers on the cloned element as well.
This patch also fixes bug 71937 "value of cloned input
type=button is not displayed correctly".


git-svn-id: svn://10.0.0.236/trunk@116855 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 13:46:33 +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
bzbarsky%mit.edu
121c744834 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116810 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:09:15 +00:00
bzbarsky%mit.edu
92d735e650 Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116781 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 05:08:23 +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
bzbarsky%mit.edu
e998568382 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu
0076b3d38d Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739
git-svn-id: svn://10.0.0.236/trunk@116716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:24:08 +00:00
rginda%netscape.com
1a75e8fba1 Bug 131241, "missing null check in nsHTMLInputElement.cpp"
r=jkeiser, sr=jst, a=asa
null check mDocument in ::Select()


git-svn-id: svn://10.0.0.236/trunk@116690 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 03:28:23 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
bryner%netscape.com
83c1061fc3 Fixing crash regression bug 131032. r=jkeiser, sr=ben, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116620 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 04:02:19 +00:00
bryner%netscape.com
22fc00b640 Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116476 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 10:12:33 +00:00
jkeiser%netscape.com
9ed7ccc48f Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:08:56 +00:00
bzbarsky%mit.edu
92cd4ef616 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@116460 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:33:09 +00:00
bryner%netscape.com
97fd40e754 Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116424 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:49:23 +00:00
bzbarsky%mit.edu
e74ceedc1d Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@116422 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:16:22 +00:00
bzbarsky%mit.edu
ea8a36ff35 Fix hang when style.cssText is set to an unrecognized value. Bug
129927, r=dbaron, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116404 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:28:27 +00:00
jkeiser%netscape.com
5a35aacad7 Make all inputs honor CHECKED attribute (bug 129969). r=rods@netscape.com, sr=jst@netscape.com, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@116375 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 07:05:05 +00:00
dbaron%fas.harvard.edu
376570f0c9 Bug 125624: null-check pres shell since |nsIPresShell::Destroy| may have been triggered by handling the event (which causes the |nsIPresContext::GetShell| call to return null). Patch from Andrew Schultz <ajschult@eos.ncsu.edu>. r=jkeiser sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@116284 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 01:11:42 +00:00
bzbarsky%mit.edu
884cc3df92 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 19:04:15 +00:00
dbaron%fas.harvard.edu
27328a7fcd Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042.
git-svn-id: svn://10.0.0.236/trunk@116126 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:25:59 +00:00
jkeiser%netscape.com
da2627ead4 Move radio buttons to content (bug 108308). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116076 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:53:40 +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
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
kmcclusk%netscape.com
8cc792af65 Sample the system clock only once out of every 200 tokens when in the low frequency parser interruption mode to improve page load time on large pages. bug 124697 r=harishd sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@115895 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:00:48 +00:00
radha%netscape.com
de9260d595 Fix for bug 123140. wyciwyg:// appears on urlbar for JS dynamic pages. r=mcafee, sr=alecf a=asa.
git-svn-id: svn://10.0.0.236/trunk@115745 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:53:18 +00:00
bzbarsky%mit.edu
6cd8bbc150 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:44:41 +00:00
morse%netscape.com
1bd627dc7c bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:49:30 +00:00
morse%netscape.com
c30bfac365 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00