Boris Zbarsky
c939aa4301
Bug 886308. Implement Element.matches. r=heycam
2014-08-01 23:37:09 -04:00
Brian Birtles
4a5b988a87
Bug 1032573 part 5 - Add GetAnimationPlayers to Element; r=bz
...
This patch adds the WebIDL definitions and implementation of
getAnimationPlayers on Element.
It does not include the full definition of AnimationPlayer but only readonly
versions of the currentTime and startTime attributes since these are easy
to implement and enable identifying the different animations that are returned
for the sake of testing.
Web Animations defines getAnimationPlayers as only returning the animations that
are either running or will run in the future (known as "current" animations).
This will likely change since it seems desirable to be able query animations
that have finished but are applying a forwards fill. For now, however, this
patch makes us only return animations that have not finished.
This patch also removes an assertion in ElementAnimation::GetLocalTime that
would fail if called on a finished transition. This assertion is no longer
necessary since an earlier patch in this series removed the overloading of
the animation start time that meant calling this on a finished transition
was unsafe. Furthermore, this assertion, if it were not removed, would fail
if script holds onto a transition and queries its start time after it
completed.
2014-07-16 09:02:31 +09:00
William Chen
9ffebc939f
Bug 1000199 - Enable web components for certified apps. r=gabor,smaug
2014-07-07 19:02:03 -07:00
Ms2ger
a39cee4de3
Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz
2014-05-30 09:36:53 +02:00
William Chen
ccc506dc38
Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap
2014-05-21 23:11:53 -07:00
Maksim Lebedev
2af751cef5
Bug 968148 - Implement PointerCapture for pointer events. r=smaug
...
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Boris Zbarsky
4ffa18ba5a
Bug 938355 part 2. Relax the restriction on [Pure] not mixing with [Throws] and annotate some more things as [Pure]. r=peterv
2013-12-02 09:50:34 -05:00
William Chen
d22dcd56b5
Bug 806506 - Part 1: Implement ShadowRoot interface with DOM accessor methods. r=mrbkap,ehsan
2013-12-02 02:26:11 -08:00
Boris Zbarsky
e4913a06ef
Bug 938294 part 4. Add more [Pure] annotations on Node/Element/Document. r=peterv
2013-11-25 20:59:39 -05:00
Boris Zbarsky
3df9d7aaed
Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust
2013-11-25 20:59:39 -05:00
Boris Zbarsky
4a33ba78e7
Bug 932501. Drop nextElementSibling/previousElementSibling from DocumentType. r=smaug
2013-11-17 00:10:19 -05:00
Boris Zbarsky
20b04d6057
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Peter Van der Beken
20d1345d89
Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
...
--HG--
extra : rebase_source : 9cfba32241add4c79d67fb0323178228b00bf631
2013-10-08 17:51:15 +02:00
Ed Morley
80176a649f
Backed out changeset dddecb33b337 (bug 922160)
2013-10-23 15:51:18 +01:00
Peter Van der Beken
bb44a6154b
Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
...
--HG--
extra : rebase_source : f43383fb1447174ef8f791240ddfe27052ef0aa3
2013-10-08 17:51:15 +02:00
Olli Pettay
986245e7be
Bug 923913 - Make Element.inner/outerHTML [Pure], r=bz
...
--HG--
extra : rebase_source : 81556c5031279cee3f33639a47f4fb83e2743403
2013-10-08 22:25:01 +03:00
Robert O'Callahan
20613a55bc
Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
...
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Fabrice Desré
38808b7cf4
Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun
2013-09-30 10:32:02 -07:00
Olli Pettay
9283cd2a76
Bug 916879, remove SetterThrows from eventhandlers, r=emk
2013-09-17 14:01:28 +03:00
Boris Zbarsky
68ca6691d8
Bug 909863. Add support for the [SameObject] extended attribute in WebIDL. r=khuey
2013-08-29 00:30:05 -04:00
Boris Zbarsky
276a31d596
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
7c21303600
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
38eb5bd229
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Scott Johnson
8fce66a029
Bug 878931: Add a FontSizeInflation() method to Element in order to retrieve font size inflation to use during reflow-on-zoom. [r=kats,mounir]
...
The reflow-on-zoom behavior needs a more robust determination of the font size inflation, so
that it can adjust its behavior depending on whether font size inflation has been
enabled for a given element's text. This patch also modifies the behavior of reflow-
on-zoom such that it will zoom in to piece of text, with reflow, if the minimum
specified font size in the font size inflation preferences is greater than the
current font size, with font size inflation, of the element.
2013-07-02 09:04:27 -05:00
Ms2ger
184931f9b9
Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz
2013-04-26 08:48:27 +02:00
Ms2ger
b3380bd0d9
Bug 856629 - Part b: Implement ChildNode.remove(); r=bz
2013-04-13 09:08:47 +02:00
Aryeh Gregor
b26de96c21
Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz
2013-04-04 15:01:11 +03:00
Andrea Marchesini
3d17116fda
Bug 851470 - Attr to WebIDL. r=Ms2ger
2013-04-09 17:29:47 +02:00
Ms2ger
4ec472b450
Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking
2013-03-17 09:51:34 +01:00
Ms2ger
371e929457
Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz
2013-03-17 08:55:16 +01:00
Ms2ger
89fffd12a6
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Boris Zbarsky
183ebb351b
Bug 835417 part 4. Flag a bunch of DOM getters as [Pure]. r=peterv
2013-01-29 17:53:53 -05:00
Boris Zbarsky
8d0e59d7f2
Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey
2013-01-10 10:49:07 -05:00
William Chen
f34fa488f4
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Boris Zbarsky
3b7f2fb148
Bug 816425. Mark a few more things [Constant] in IDL, especially ImageData.width/height. r=peterv
2012-12-25 14:00:15 -08:00
Peter Van der Beken
e8da992624
Fix for bug 811701 (Move innerHTML/outerHTML/insertAdjacentHTML from HTMLElement to Element). r=bzbarsky.
2012-12-23 18:38:41 -08:00
Peter Van der Beken
7d77272a5e
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Ed Morley
563634fe75
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00
Peter Van der Beken
46c89ae29b
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
d6d6c3d26a
Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
...
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken
c15e9ce14c
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken
b2ba5959ec
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Peter Van der Beken
ed510d3506
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00