Commit Graph

53 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
10aca51e67 Bug 945584: Part 8 - Implement Scroll Snapping for Middle Mouse Button Scrolls (v2 Patch), r=roc, r=bz
- Implemented scroll snapping at the end of a middle-mouse-button scroll.
- As this scrolling occurs within chrome Javascript, chrome-only DOM methods
  had to be added: window.MozScrollSnap and element.MozScrollSnap
- Bug 1137937 tracks implementation of a replacement for these chome-only DOM methods,
  to be replaced with a web accessible API.
2015-02-19 16:03:07 -08:00
Vladimir Vukicevic
d956c16852 Bug 1117579; fullscreen broken on freeciv (throws with bogus requestFullScreen options); r=bz 2015-01-05 14:49:04 -05:00
Roshan Vidyashankar
451b54e1f5 Bug 1058918 - Disable mozRequestFullScreen, mozRequestPointerLock, setPointerCapture in prerendering; r=jst 2014-12-21 11:59:48 -05:00
Vladimir Vukicevic
448de69ce1 Bug 1036606 - Extend mozRequestFullScreen to accept an options dict with a vrDisplay member; r=bz 2014-07-09 12:30:22 -07:00
Kearwood (Kip) Gilbert
bcd6568c00 Bug 1045754 - Part 1 - Implement updated CSSOM-View smooth-scrolling specification. r=bz
- Added new WebIDL dictionary, ScrollToOptions.  This dictionary extends
  ScrollOptions by adding "left" and "top", specifying the scroll offset.
  This will be later extended with more members to allow scroll offsets to be
  specified with logical axes.
- Implemented Window.Scroll, Window.ScrollTo, Window.ScrollBy, Element.Scroll,
  Element.ScrollTo, and Element.ScrollBy functions that accept ScrollToOptions
  as a single parameter.
- Removed ScrollOptions dictionary parameter from existing Window.Scroll,
  Window.ScrollTo, and Window.ScrollBy functions as these have been replaced
  with functions accepting a single parameter, ScrollToOptions.
- Added new WebIDL dictionary, ScrollIntoViewOptions.  This dictionary
  extends ScrollOptions by adding "block", specifying whether the element
  start or end will be scrolled into view.
- Replaced Element.ScrollIntoView(bool,ScrollOptions) with
  Element.ScrollIntoView(ScrollIntoViewOptions) to match updated
  CSSOM-View scroll-behavior specification.
2014-10-01 10:47:56 -07:00
Nick Lebedev
fd9f29889f Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-10-01 10:16:00 +02:00
Boris Zbarsky
c53d3eaac9 Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey 2014-09-24 09:11:29 -04:00
Giovanni Sferro
4362fae1f3 Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +02:00
Kearwood (Kip) Gilbert
b9eaa36e5a Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.
2014-08-05 15:01:32 -07:00
Andrea Marchesini
cc34830cde Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug 2014-08-25 10:25:34 +01:00
Boris Zbarsky
fda79eb5fe Bug 886308. Implement Element.matches. r=heycam 2014-08-01 23:37:09 -04:00
Brian Birtles
1c4769e88c 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
b24a3e7f93 Bug 1000199 - Enable web components for certified apps. r=gabor,smaug 2014-07-07 19:02:03 -07:00
Ms2ger
aeb91b286b Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
William Chen
9f779846b7 Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap 2014-05-21 23:11:53 -07:00
Maksim Lebedev
5a1f19ec5f Bug 968148 - Implement PointerCapture for pointer events. r=smaug 2014-04-04 10:09:10 -07:00
Boris Zbarsky
7ea9af8ac1 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
1fa1645d78 Bug 806506 - Part 1: Implement ShadowRoot interface with DOM accessor methods. r=mrbkap,ehsan 2013-12-02 02:26:11 -08:00
Boris Zbarsky
a06aa7660c Bug 938294 part 4. Add more [Pure] annotations on Node/Element/Document. r=peterv 2013-11-25 20:59:39 -05:00
Boris Zbarsky
1a1bdf52bf Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust 2013-11-25 20:59:39 -05:00
Boris Zbarsky
41c55c248b Bug 932501. Drop nextElementSibling/previousElementSibling from DocumentType. r=smaug 2013-11-17 00:10:19 -05:00
Boris Zbarsky
45b3df4eb0 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
eafa9f5458 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz. 2013-10-08 17:51:15 +02:00
Ed Morley
936a36cab4 Backed out changeset dddecb33b337 (bug 922160) 2013-10-23 15:51:18 +01:00
Peter Van der Beken
899f1f47fc Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz. 2013-10-08 17:51:15 +02:00
Olli Pettay
c7a6ab13ac Bug 923913 - Make Element.inner/outerHTML [Pure], r=bz 2013-10-08 22:25:01 +03:00
Robert O'Callahan
893dc0fcc3 Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey 2013-09-20 22:21:03 +12:00
Fabrice Desré
4562281cad Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun 2013-09-30 10:32:02 -07:00
Olli Pettay
6faa270649 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Boris Zbarsky
0801664304 Bug 909863. Add support for the [SameObject] extended attribute in WebIDL. r=khuey 2013-08-29 00:30:05 -04:00
Boris Zbarsky
70f4b8c311 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
5f3c3b8553 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
ed26663e9e 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
f64bd62834 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
64d6f0a330 Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Ms2ger
7e52d18b41 Bug 856629 - Part b: Implement ChildNode.remove(); r=bz 2013-04-13 09:08:47 +02:00
Aryeh Gregor
748b76f5d2 Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz 2013-04-04 15:01:11 +03:00
Andrea Marchesini
10c112305f Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Ms2ger
799d666e72 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Ms2ger
15a21e9c25 Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz 2013-03-17 08:55:16 +01:00
Ms2ger
b8e501d12e Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey 2013-03-10 09:00:33 +01:00
Boris Zbarsky
bb15360eaf Bug 835417 part 4. Flag a bunch of DOM getters as [Pure]. r=peterv 2013-01-29 17:53:53 -05:00
Boris Zbarsky
de8eb984f0 Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey 2013-01-10 10:49:07 -05:00
William Chen
e91c84cb44 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Boris Zbarsky
26caf9d91e 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
69db9b33d9 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
784a7a72f3 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Ed Morley
f45aca1e19 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
f6f3144c82 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Ehsan Akhgari
195229396e 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