aaronleventhal%moonset.net
96b12f64e9
Bug 253391. Any element with tabindex explicity specified can be focused via .focus(). r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@160133 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 13:00:36 +00:00
aaronleventhal%moonset.net
7461104ae0
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159798 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 21:12:43 +00:00
jst%mozilla.jstenback.com
fd939e414e
Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@159235 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 05:24:40 +00:00
jst%mozilla.jstenback.com
09ef2ba206
Fixing remaining part of bug 245131. Use nsTextFragment::AppendTo() in more places now that we can. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@159187 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:43:12 +00:00
aaronleventhal%moonset.net
526c59be60
Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00
tor%cs.brown.edu
bcbc310507
Bug 235826 - <svg:script> implementation.
...
Patch by alex@croczilla.com , r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158808 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 22:52:03 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
c45ddb2b9e
Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@156547 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 20:58:12 +00:00
bryner%brianryner.com
7247372aa3
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
dce306232a
Add a version of CheckLoadURI that takes a source principal instead of a source
...
URI. Update a bunch of callers to use it. Bug 233108, r=caillon, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
38926b22f3
Fix some misspelled comments. Bug 106386, patch by Alex Vincent
...
<ajvincent@juno.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154750 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:27:25 +00:00
sicking%bigfoot.com
e4632ed495
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
darin%meer.net
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
8de1fe9d5a
Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153777 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:22:02 +00:00
sicking%bigfoot.com
611753ba16
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
sicking%bigfoot.com
600f8acfd4
Bug 236612: Kill nsGenericContainerElement.
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@153595 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 23:13:50 +00:00
bryner%brianryner.com
62dee43850
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com
533ab4c378
Fixing bug 233137. Work around the problem with reparenting XPConnect wrappers for XUL elements by just not doing it, like we used not to before the fix for bug 197427 was checked in. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@153251 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:57:28 +00:00
dbaron%dbaron.org
12c3f84553
Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153235 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
d0464befea
Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@153183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:55:18 +00:00
sicking%bigfoot.com
f53242a13f
Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
...
r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@153025 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 19:00:43 +00:00
bzbarsky%mit.edu
4d7fce5e2d
Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@152967 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:51:10 +00:00
bzbarsky%mit.edu
c509f2dd71
Make sure to retarget events when they leave native anonymous content. Also
...
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target). Bug
233286, r+sr=bryner, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@152789 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 04:45:18 +00:00
sicking%bigfoot.com
be3303fe00
Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@152607 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 19:36:43 +00:00
peterv%propagandism.org
3e7ac82893
Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
sicking%bigfoot.com
c702ec4334
Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@152585 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu
38a6e197cd
Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
...
by pushing the relevant helpers up to nsGenericElement.. Remove referrer code
in nsSVGDocument, since nsDocument handles that. Bug 233370,
r=alex@croczilla.com , sr=jst
git-svn-id: svn://10.0.0.236/trunk@152562 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 20:48:20 +00:00
jst%mozilla.jstenback.com
c9137dbff8
Fixing regression bug 233191. Make sure we fire the correct document notifications when inserting/appending children to a DOM node through the DOM APIs. r=mscott@mozilla.org, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@152406 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 02:26:10 +00:00
jst%mozilla.jstenback.com
637405526a
Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@152361 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 06:48:30 +00:00
bryner%brianryner.com
018aeefc0d
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
neil%parkwaycc.co.uk
c8f1704c27
Don't retarget events that are bubbling back out of content anonymous to the original target b=196755 r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@152032 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:14:53 +00:00
sicking%bigfoot.com
2d7b04ac1f
More bug 195350 work: Make html use new nsAttrAndChildArray class.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151849 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 19:22:05 +00:00
sicking%bigfoot.com
737987f531
Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00
dbaron%dbaron.org
0f455ecf07
Make HasMutationListeners less repetitive by making the repeated part its own function. b=230938 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@151344 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 02:21:32 +00:00
bryner%brianryner.com
3d8a7179f8
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
caillon%returnzero.com
901c1795b6
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@150910 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 00:36:01 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
bryner%brianryner.com
98fb7d2529
deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@149340 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 05:27:37 +00:00
bryner%brianryner.com
05acc6f72e
Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148976 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu
d7a72652a6
Refactor child element handling such that we don't duplicate event-firing code
...
all over (now we just do it in nsGenericElement and nsXULElement). Bug 223349,
r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@148807 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 02:15:28 +00:00
peter%propagandism.org
3ba29338bc
Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148564 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 13:47:29 +00:00
dbaron%dbaron.org
220a62afce
Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148493 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:40:33 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
e081726408
Fix handling of id attrs to not assume that they are named "id" as much. Bug
...
208744, r=caillon, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@148205 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:16:42 +00:00