Commit Graph

77 Commits

Author SHA1 Message Date
Xidorn Quan
6a9f5ff102 Bug 1289642 - Remove prefixed PointerLock API. r=smaug
MozReview-Commit-ID: BUSEojZNIgb

--HG--
extra : rebase_source : bfdf71d5244d3b0877712a63cb07cf119c2e6992
2016-12-19 12:40:02 +11:00
Boris Zbarsky
c892e11e49 Bug 1318117. Stop using IsCallerChrome in pointerlock API, fullscreen API, and documentURI getter. r=ehsan 2016-11-17 13:49:27 -05:00
Neil Deakin
fd181fe163 Bug 1311279, add a chrome-only setCapture method that can ignore the allowed state, r=smaug 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book
f378c398c9 Backed out changeset 1ba0d3288318 (bug 1311279) 2016-11-17 15:42:41 +01:00
Neil Deakin
4359bb41a3 Bug 1311279, add a chrome-only setCapture method that can ignore the allowed state, r=smaug 2016-11-17 09:28:27 -05:00
Ehsan Akhgari
1978fee9f2 Bug 1310385 - Remove support for UndoManager; r=smaug
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.

We can revive this from VCS history in the future if we decide
to start working on it again.  In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
Stone Shih
0936be8e70 Bug 1293175 - [Pointer Event] Add Element.hasPointerCapture API. r=smaug
--HG--
extra : rebase_source : 25dcafa70e5260259fd7703134b376c3351595c0
2016-08-10 15:31:43 +08:00
Kearwood (Kip) Gilbert
a900318dec Bug 1250244 - Part 1: Remove FullScreenOptions parameter from Element.RequestFullScreen,r=bz
MozReview-Commit-ID: 8wmexZT5SB4
2016-04-18 12:12:38 -07:00
Xidorn Quan
132b526f3a Bug 991899 part 3 - Disable prefixed PointerLock API by default. r=smaug
Given that Blink has removed prefixed PointerLock API for quite a while
without receiving compatibility issue, I'd suggest we try dropping the
prefixed version directly.

We will either pref the prefixed API on if we see enough compatibility
issue, or remove the whole bunch of prefixed PointerLock API after the
unprefixed API reaches release channel without issues.

MozReview-Commit-ID: ACC69nqSBiH

--HG--
extra : source : 22791c53b6a94c3de4eb7f38823afce89b0419e4
2016-07-28 17:15:21 +10:00
Xidorn Quan
b83b9e7406 Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
MozReview-Commit-ID: 3af2D9IWI1Q

--HG--
extra : source : 527777bea747fb8ab363960e41b0a1ddb26d7749
2016-07-28 17:15:21 +10:00
Brad Werth
e0d3269112 Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
--HG--
extra : rebase_source : 0c2a49236a2c71233a1ce6a92e50663b8a9f6238
2016-07-06 11:45:18 -07:00
Carsten "Tomcat" Book
1bb9877c16 Backed out changeset 3de5b79d7373 (bug 1241932) for bustage 2016-07-06 06:00:03 +02:00
Brad Werth
dd6149d032 Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey 2016-06-24 12:20:05 -07:00
Masatoshi Kimura
861cce408f Bug 1280545 - Remove [Deprecated="PrefixedFullscreenAPI"] annotations until we are ready to unprefix fullscreen API. r=smaug,xidorn
MozReview-Commit-ID: KXDujiWaYz9

--HG--
extra : rebase_source : 1950d6e3015ba6c0a04d4f0a61905303895d32b0
2016-06-30 20:12:14 +09:00
Carsten "Tomcat" Book
971c3b23c4 Backed out changeset bedd6091246e (bug 1280545) run into hg hook warning for webidl and backout for making autoland to m-c merge possible
--HG--
extra : rebase_source : b20dfb9614a316039f9443433db6f8c14a09d3af
2016-07-01 11:06:18 +02:00
Masatoshi Kimura
a89cca4051 Bug 1280545 - Remove [Deprecated="PrefixedFullscreenAPI"] annotations until we are ready to unprefix fullscreen API. r=xidorn
MozReview-Commit-ID: KXDujiWaYz9

--HG--
extra : rebase_source : 974322b4384b8d12959ea4af9ed87fa3256429cd
2016-06-30 20:12:14 +09:00
Xidorn Quan
eb882bc07f Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
MozReview-Commit-ID: KpjNFYYyCWh

--HG--
extra : rebase_source : 43eebf0398c3accbe2f901d482f9d4399bdf03e6
2016-05-02 14:26:04 +10:00
Aryeh Gregor
c1a60c58b4 Bug 1055776 - Move namespaceURI, prefix, localName from Node to Element; r=bz 2016-04-13 15:21:12 +03:00
Jocelyn Liu
ad2c3f5c70 Bug 811259 - Patch1: Implement Element.insertAdjacentText and Element.insertAdjacentElement. r=smaug
MozReview-Commit-ID: g54gUOBop7

--HG--
extra : rebase_source : 20d748bed16589a3d91c91711f3607888dd08801
2016-03-28 16:42:57 +08:00
Xidorn Quan
61f1684757 Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
--HG--
extra : source : aaf4d12b511ba25ba93e6135cb849a3264435f7c
2016-02-17 08:47:11 +08:00
Deepthi Venkitaramanan
008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Olli Pettay
b8e5626be9 Bug 1228634 - Implement Element.getAttributeNames, r=peterv
--HG--
extra : rebase_source : e5b4b880618e7d01eb8a806fcfb26539b659ceaf
2015-12-02 23:04:53 +02:00
Xidorn Quan
9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
Boris Zbarsky
5019244e1d Bug 1216193. Implement webkitMatchesSelector. r=khuey 2015-10-19 20:18:09 -04:00
Kearwood (Kip) Gilbert
b0c31cd0a6 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.

--HG--
extra : rebase_source : f511296dbdbfd97e3da391d2a0b67fd3f6edca6b
2015-02-19 16:03:07 -08:00
Vladimir Vukicevic
17154ace97 Bug 1117579; fullscreen broken on freeciv (throws with bogus requestFullScreen options); r=bz 2015-01-05 14:49:04 -05:00
Roshan Vidyashankar
2789701402 Bug 1058918 - Disable mozRequestFullScreen, mozRequestPointerLock, setPointerCapture in prerendering; r=jst 2014-12-21 11:59:48 -05:00
Vladimir Vukicevic
8d8ab4de9f 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
1f3b8f19a0 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
df62a59237 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-10-01 10:16:00 +02:00
Boris Zbarsky
6c258577ab 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
3f5f586cae Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +02:00
Kearwood (Kip) Gilbert
351eec0b98 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.

--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
2014-08-05 15:01:32 -07:00
Andrea Marchesini
2076b14085 Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
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