Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
24352f9317
Bug 930843 part.2 NS_UI_ACTIVATE event should be trusted event even if it's caused by an untrusted event r=smaug
2015-08-22 13:02:39 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
William Chen
148ff86273
Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz
2015-08-14 10:52:38 -07:00
Robert O'Callahan
e0c16e6fbc
Bug 1184842. Preparse class attribute values in Element::BeforeSetAttr. r=peterv
...
--HG--
extra : commitid : KVTSQfwhBot
extra : rebase_source : da0c24026074356610f77d81fa87861cd82f4c8f
2015-08-01 17:46:15 +12:00
Robert O'Callahan
a1da6d11df
Bug 1184842. Pass preparsed attribute values to nsNodeUtils::AttributeWillChange. r=peterv
...
--HG--
extra : commitid : DTJHf8BqlZS
extra : rebase_source : 36b264f69be235b9095bf95634bd263f6124a711
2015-07-22 15:53:35 +12:00
Robert O'Callahan
d5d49432af
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Robert O'Callahan
4339caede4
Bug 1184842. Add aOldValue parameter to nsNodeUtils::AttributeChanged. r=peterv
...
--HG--
extra : commitid : KqRNGrLrGkl
extra : rebase_source : 232a10b649b7c580a0ad3afa0a11a09cdb8b907d
2015-07-21 16:13:53 +12:00
Robert O'Callahan
27590d7e61
Bug 1184842. Make SetAttrAndNotify use the real old value instead of aOldValue when possible. r=bz
...
--HG--
extra : commitid : Kmg02dVtOG1
extra : rebase_source : 2cb6231765a2f914be9733a54698c665afcbb85c
2015-07-25 17:57:13 +12:00
Robert O'Callahan
34bc743227
Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv
...
--HG--
extra : commitid : 5EYBuEzNOek
extra : rebase_source : 52da7c8f8693834a9639f5ac65b758fb223c6f03
2015-07-22 14:09:41 +12:00
Xidorn Quan
460ed18474
Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
...
--HG--
extra : source : 790e3e8a52cac1ddabebf59bc98a2da0c52ba624
2015-07-21 20:50:20 +10:00
Franziskus Kiefer
b4e4b6d771
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00
Xidorn Quan
e5ea6fe8a3
Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug
...
--HG--
extra : source : 237250013b141f622112c0284e0db8a65fc28c3d
2015-07-19 10:30:52 +10:00
Olli Pettay
1b80a2239c
Bug 1184065, properly support WrapperCache on DestinationInsertionPointList, r=wchen
...
--HG--
extra : rebase_source : aa0bd44900473bbf03e56477a2041958944aa8c0
2015-07-18 01:16:43 +03:00
Brian Birtles
6fbabd8dad
Bug 1171817 part 14 - Add AnimationPtrComparator class; r=dbaron
...
Having created composite ordering methods for the different kinds of animations
this patch adds a Comparator class so that they can be used to sort an
array of such animations.
This patch uses this Comparator object to sort the results returned by
Element.getAnimations. For this case, the order in which we create animations
and transitions happens to almost perfectly correspond with the composite
ordering defined so that no sorting is necessary.
One exception is that some -moz-* transitions may be created after transitions
that they should sort before when sorting by transition property. In this
case the sorting added in this patch should ensure they are returned in the
correct sequence.
Unfortunately, we can't easily test this since the test files we have are
intended to be cross-browser (where -moz-* properties won't be supported).
Once we implement AnimationTimeline.getAnimations (bug 1150810) we'll have
a better opportunity to test this sorting. For now, the added tests in this
patch just serve as a regression test that the sorting hasn't upset the
already correct order (and an interop test in future once we move them to
web-platform-tests).
--HG--
extra : commitid : KkfoSE69B0F
extra : rebase_source : ee4e47f44281504eb4d35e0f6cc3392ee0cffb94
2015-06-09 11:13:54 +09:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Xidorn Quan
598078ac23
Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug
...
--HG--
extra : source : 6982222c120fbd6022b00aa81f3dc7fa76086b7c
2015-06-19 10:09:52 +10:00
Boris Zbarsky
75de7c95ec
Bug 1165851 part 1. Back out bug 1060938 and bug 1075702 pending spec changes because they are implementing a spec that's not web compatible. r=smaug
2015-06-16 12:17:57 -04:00
Xidorn Quan
97afd6bc25
Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug
...
--HG--
extra : source : ec89a08d30b7d8bb742d94200a1efc6882dc417b
2015-06-10 23:13:12 +12:00
Xidorn Quan
3116f3bf53
Bug 1157685 - Remove full-screen-api.content-only pref and its friends. r=smaug
...
--HG--
extra : source : 00be0263af62b29007d286d6d7dbac4ee4fdba01
2015-05-15 14:39:25 +12:00
Cameron McCormack
eacf3bc7dd
Bug 1160724 - Part 1: Resolve a properly parented style context when looking up -moz-binding of a display:none XUL/plugin element. r=dbaron
2015-05-05 14:00:28 +10:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Brian Birtles
13834006d7
Bug 1154615
part 6 - Rename references to players within layout/; r=jwatt
...
We will rename CSSAnimationPlayer/CSSTransitionPlayer in a separate patch
2015-04-21 10:22:10 +09:00
Brian Birtles
8f5fbac8a9
Bug 1154615
part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt
2015-04-21 10:22:10 +09:00
Brian Birtles
5c7929fd2a
Bug 1154615
part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
...
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.
--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Jonathan Watt
2e0ff82e9d
Bug 1145246, part 1 - Rename Animatable.getAnimationPlayers() to Animatable.getAnimations(), but leave the old name an an alias for the new. r=birtles, r=smaug
2015-03-20 18:20:32 +00:00
Boris Zbarsky
17e46d2f65
Bug 1145017. Use the new proto setup for custom element prototypes when possible. r=wchen,bholley
...
Note that with this patch I'm also changing the priority order of the given
proto and the custom proto; the former takes priority. This makes sense to me:
if the caller is doing |new Foo| they really should get something with
Foo.prototype as its proto. This should not be a problem for custom elements
in general so far, because nodes/elements are mostly not constructible anyway.
For now. When they become that way, I think this is the behavior we'll want.
2015-03-20 00:34:08 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
William Chen
0e7b8a00b1
Bug 1130028 - Custom elements, set registered prototype in compartment of caller of registerElement. r=mrbkap
2015-03-02 09:48:30 -08:00
Tooru Fujisawa
de4b4e39c8
Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug
2015-03-18 05:42:14 +09:00
Cameron McCormack
7edb0d374f
Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles
2015-03-14 16:34:40 +11: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
Andrea Marchesini
77d676cf4b
Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
L. David Baron
3f721f200d
Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles
2015-02-19 21:22:05 +13:00
L. David Baron
82ec6020a1
Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles
2015-02-17 11:15:05 +13:00
William Chen
d6b6640c64
Bug 1087460 - Part 2: Call attached and detached callback when attached and detached to/from the composed document. r=smaug
2015-02-09 10:01:24 -08:00
William Chen
bf1efa0c19
Bug 1087460 - Part 1: Make GetComposedDoc() work in UnbindFromTree. r=smaug
2015-02-09 10:01:23 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Boris Egorov
5eea3bd16f
Bug 1070015 - Throw error if attr object of different element passed; r=bz
...
In the beginning of Element::removeAttributeNode() we check that attr object
passed to it belongs to the same element (comparing attr.GetElement and this).
If it is different element, throw NotFoundError.
Mochitest to check new behavior included.
--HG--
extra : rebase_source : 8582d119a99d23d121ad9f7fe5b184668641bf80
2015-01-25 20:39:05 +06:00
Tooru Fujisawa
64b2cf34d6
Bug 229925 - Do not dispatch event to label target if interactive content is found between the event target and the label. r=smaug
2015-01-21 05:39:28 +09:00
Anuj Agarwal
dd5974bda1
Bug 1075702 - Fixed implementation of Element.setAttributeNode(). r=bz
2015-01-15 05:12:00 +01: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
William Chen
0a78fbdfc3
Bug 1113959 - Do not enqueue custom element attached and detached callbacks when there is no browsing context. r=smaug
2014-12-22 22:35:32 -08: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
Mats Palmgren
994ddfd821
Bug 907396 - Frame manager support for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00