dbaron%fas.harvard.edu
5c317da98a
Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038
...
git-svn-id: svn://10.0.0.236/trunk@74966 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:37:44 +00:00
jst%netscape.com
a607a900c8
Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@74071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:15:27 +00:00
rods%netscape.com
d804eae647
setting parent to null to make sure there are no dnagling pointers from children
...
to their parents
b=44266, r=jst
git-svn-id: svn://10.0.0.236/trunk@74036 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 22:17:38 +00:00
karnaze%netscape.com
71bc897032
bug 39799 - map NS_STYLE_TEXT_ALIGN_CENTER to align=center, r=syd.
...
git-svn-id: svn://10.0.0.236/trunk@73762 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:42:57 +00:00
jst%netscape.com
a5659583f9
Fixing nsbeta2+ bug 37051, always set the form associated with a form control as the parent of the form controls script object, this meks form controls always be in the scope of the form they're in. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@73464 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:50:06 +00:00
nisheeth%netscape.com
3ac334fdb1
r=vidur, jst. Fix for bug 9076. The nodeName property is now case sensitive for XHTML elements and folded to uppercase for HTML elements.
...
git-svn-id: svn://10.0.0.236/trunk@73249 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:05:16 +00:00
jst%netscape.com
18d9bb2095
Fixing nsbeta2+ bug 41953, form element regressions. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@73061 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:12:24 +00:00
waterson%netscape.com
0c6159b166
Fix nsAReadableString assertions. r=jst.
...
git-svn-id: svn://10.0.0.236/trunk@73053 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 08:49:04 +00:00
pinkerton%netscape.com
1313748708
if cmd-key (meta) is down, open link in a new window r/a=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@71857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 02:56:21 +00:00
waterson%netscape.com
62f4fbbcad
Bug 10373. Percent-encode URLs using the document's original character when returning the 'href' attribute. Cache the computed value once that's been done. Change event code to use GetHref() instead of raw GetAttribute() call. r=buster,warren,erik,attinasi,...
...
git-svn-id: svn://10.0.0.236/trunk@71124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:48:02 +00:00
jst%netscape.com
1e61aed599
Fixing silly regression I introduced last week when checking in some temporary DOM Level 2 code, HTML element names were not properly uppercased in the DOM. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@71052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 20:00:23 +00:00
harishd%netscape.com
8418999fec
Implemented DumpContent() for parser regression test.
...
r=rickg
a=rickg
git-svn-id: svn://10.0.0.236/trunk@70920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:42 +00:00
jst%netscape.com
6472af28e8
Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
joki%netscape.com
32e51cfc6e
More support for onresize and onscroll, bug 960
...
git-svn-id: svn://10.0.0.236/trunk@70364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:53:58 +00:00
jst%netscape.com
b13543b1c3
Redo to fix for 35321 and fix 35319.
...
git-svn-id: svn://10.0.0.236/trunk@70256 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:09:00 +00:00
jst%netscape.com
05b84c1c86
Fixing nsbeta2+ bug #35321 (button.setAttribute('disabled', false) disables button instead of enabling it).
...
git-svn-id: svn://10.0.0.236/trunk@70241 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:03:10 +00:00
jst%netscape.com
e4d9d527e8
Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
...
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
jst%netscape.com
5ee82cc838
Cleaning up GetNodeName() in preparation for swiching mozilla over to a DOM Level 2 compliant .nodeName property.
...
git-svn-id: svn://10.0.0.236/trunk@69956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:22:25 +00:00
shaver%mozilla.org
f792546214
Significantly reduce the amount of time we blow on style reresolution by
...
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those. In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away. Fixed 38378, r=brendan, booyah.
Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code. Fixed 21879, r=brendan, boo_yah_.
git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
jst%netscape.com
63ee09a339
Fix .innerHTML regression (from the XIF converter update), and add a null document check.
...
git-svn-id: svn://10.0.0.236/trunk@69789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:07:36 +00:00
mjudge%netscape.com
9f85d6b917
fixing warnings and some redundant code
...
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
2974c17256
nsIXifconverter from nsXifConverter
...
git-svn-id: svn://10.0.0.236/trunk@69547 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:07 +00:00
jst%netscape.com
45c41da01c
Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter.
...
git-svn-id: svn://10.0.0.236/trunk@69414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:46:59 +00:00
jst%netscape.com
6a6910e73a
Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201.
...
git-svn-id: svn://10.0.0.236/trunk@69265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:49:16 +00:00
jst%netscape.com
0f0b4d6367
Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
jst%netscape.com
7d56950918
XPCOM methods that return a success call *must* set their output parameters, this fixes part of the crash in bug 35257 (crash setting selectedIndex for SELECT not in DOM tree).
...
git-svn-id: svn://10.0.0.236/trunk@68880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:01:25 +00:00
attinasi%netscape.com
2b8dd98033
QuirkMode: support for background="" to override the table inheriting the background down to the cells.
...
git-svn-id: svn://10.0.0.236/trunk@68504 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:48:38 +00:00
erik%netscape.com
7430aa9ab0
bug 26237; added support for HTML LANG attribute -- it now uses the fonts
...
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
git-svn-id: svn://10.0.0.236/trunk@68421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:04:36 +00:00
jst%netscape.com
11ac5cc7a6
Fixing bug 35276, flush all pending reflow notifications before requsting geometry from the frames, this makes the HTML element properties offsetXXX correct values even if requested immediately after a reflow was generated.
...
git-svn-id: svn://10.0.0.236/trunk@68393 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:25:49 +00:00
jst%netscape.com
09a726c20d
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
...
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
jst%netscape.com
f59ae4bac2
The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
...
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
pierre%netscape.com
cdcf7d8bca
9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
...
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
joki%netscape.com
8aabc79a05
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
jst%netscape.com
65876f7f11
Updating the DOM interface CSSStyleDeclaration to DOM Level 2.
...
git-svn-id: svn://10.0.0.236/trunk@66556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:50:56 +00:00
nisheeth%netscape.com
ce05c41617
Fix for bug 30091. nsFormControlList::NamedItem() was doing a linear walk through the form control list. Now it uses a hash table lookup. This greatly reduces the time for the screen to update when one clicks on the Program list box on the Bugzilla query page.
...
git-svn-id: svn://10.0.0.236/trunk@66429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 07:49:07 +00:00
scc%netscape.com
8a7f53cc88
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
jst%netscape.com
231ff5a791
Fixing #35605 , avoid accessing a null pointer in GetOffsetParent()!
...
git-svn-id: svn://10.0.0.236/trunk@65812 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:52:03 +00:00
jst%netscape.com
3fb4d7189f
Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606 .
...
git-svn-id: svn://10.0.0.236/trunk@64879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:36:16 +00:00
attinasi%netscape.com
9657bf7bed
Implemented Style Size Dump. r=rickg b=26565
...
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
warren%netscape.com
9fa657f1cd
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
pollmann%netscape.com
812fff3d93
Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@63981 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:55 +00:00
jst%netscape.com
42a4f6989e
Make the value of "dir" attributes more accessible through the DOM, this fixes #32617 . r=troy
...
git-svn-id: svn://10.0.0.236/trunk@63787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:46:33 +00:00
nisheeth%netscape.com
9317eafd78
r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
...
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
karnaze%netscape.com
ef33586f26
bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
...
git-svn-id: svn://10.0.0.236/trunk@63493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:39:22 +00:00
attinasi%netscape.com
d039db6c10
Fixed build breakage - local API change snuck in to my checkin.
...
git-svn-id: svn://10.0.0.236/trunk@63198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:37:00 +00:00
attinasi%netscape.com
39a3c92b6b
Removed code that was causing a reframe when the class of an element changed. This is unnecessary and causes performance problems (reframes are expensive). b=21225 r=dcone,pierre
...
git-svn-id: svn://10.0.0.236/trunk@63187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:04:21 +00:00
norris%netscape.com
fab29b0e70
Files:
...
caps/idl/nsICertificatePrincipal.idl
caps/idl/nsIPrincipal.idl
caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com
Files:
caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com
Files:
caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com
Files:
dom/public/nsDOMPropEnums.h
dom/public/nsDOMPropNames.h
dom/src/base/nsGlobalWindow.cpp
modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com
Files:
dom/src/base/nsJSUtils.cpp
dom/src/base/nsJSUtils.h
dom/src/base/nsJSEnvironment.cpp
dom/tools/JSStubGen.cpp
layout/base/src/nsDocument.cpp
layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com
Files:
layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 06:32:42 +00:00
troy%netscape.com
eb4d44f03f
b=28635, a=rickg@netscape.com, r=vidur@netscape.com
...
Reduced the number of nsString objects allocated
git-svn-id: svn://10.0.0.236/trunk@61491 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 15:45:43 +00:00
vidur%netscape.com
0b6a16f8cb
Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@61025 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:25:07 +00:00