Commit Graph

81 Commits

Author SHA1 Message Date
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Robert Longson
5115e60502 Bug 589436 patch 2: Allow string-valued SVG attributes to be SMIL-animated. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Jonas Sicking
3bea0686f0 Bug 596385: Update FormData to latest spec. r=jst a=blocker 2010-09-15 15:52:02 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Masayuki Nakano
660981e020 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Masayuki Nakano
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Boris Zbarsky
bec14b24a7 Bug 577309 part 1. Fix the assertion in IsRootOfAnonymousSubtree to not fire on default insertion point content. r=sicking 2010-07-15 00:38:19 -04:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Peter Van der Beken
d062d2ec2d Part 9 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNode3Tearoff for all nodes. r=jst.
--HG--
extra : rebase_source : 4f073ae38036328091d2d4cf1e0ffbac2a06e98b
2010-04-19 17:41:37 +02:00
Peter Van der Beken
60b38d0d40 Part 7 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::IsEqualNode/CompareDocumentPosition/IsSameNode. r=jst.
--HG--
extra : rebase_source : d4722a28e8c913dcb6f9a1e7bf13261a12b60525
2010-04-19 17:40:17 +02:00
Peter Van der Beken
2d92228c9a Part 5 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsIDOM3Node namespace-related methods to nsINode. r=jst.
--HG--
extra : rebase_source : 9f4680ed3d8dec7001503c57f9d4bede74392b2f
2010-04-19 17:40:16 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Masayuki Nakano
6aa99dc4be Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Timothy Nikkel
2323e2a038 Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky 2010-04-16 13:15:28 -05:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert
1b7f3ee4bc Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Shawn Wilsher
149f5aac0a Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Shawn Wilsher
6ad05b1b1a Backed out changeset 018b79b00cac 2010-02-18 09:50:05 -08:00
Shawn Wilsher
0404720b47 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-17 14:04:33 -08:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Boris Zbarsky
a99f0f4f96 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
Boris Zbarsky
1ac691995c Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange. 2009-12-24 19:18:32 -05:00
Boris Zbarsky
3070cc66c6 Bug 500882 followup. For some frame types, we set the primary frame multiple times, to the same value. Fixes orange 2009-12-24 17:41:02 -05:00
Boris Zbarsky
1ca5801f4b Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Boris Zbarsky
b2e4054198 Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
3d4af5eb46 Bug 500882 part 1. Give nsIContent an nsIFrame member. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Jonas Sicking
1d81e23e8d Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Justin Lebar
b5b0c28999 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-25 12:50:26 -04:00
Paul O’Shannessy
25d9c99012 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar
b3e255230a Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Daniel Holbert
12ac4739b6 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
David Zbarsky
bef61061f8 Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Daniel Holbert
1fc13cfa2a whitespace-only: fix trailing whitespace recently introduced into nsIContent.h (from bug 499781) 2009-07-14 12:42:46 -07:00
Peter Van der Beken
ed0899f1ce Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Olli Pettay
e64efde796 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
fc5f3a87aa backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
d9072725ae Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
Blake Kaplan
54734b9d0b Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00