Andrew McCreight
914755f396
Bug 1205424 - Use swap instead of NS_RELEASE in UnbindFromTree. r=baku
2015-09-18 09:16:00 +02:00
Masayuki Nakano
dc830de0c2
Bug 895274 part.102 Rename NS_MUTATION_ATTRMODIFIED to eLegacyAttrModified r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
93cf022e75
Bug 895274 part.72 Rename NS_UI_ACTIVATE to eLegacyDOMActivate r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
37dd5dab6e
Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
f6169391a6
Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
2a582b4461
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
2c0e55e339
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
5f60978161
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
004e5bb7df
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
40a4dbb5ca
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
c621fb4df5
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
d56a7cc348
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
William Chen
161ace8311
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
a0a56fc159
Bug 1184842. Preparse class attribute values in Element::BeforeSetAttr. r=peterv
2015-08-01 17:46:15 +12:00
Robert O'Callahan
9fb2247b78
Bug 1184842. Pass preparsed attribute values to nsNodeUtils::AttributeWillChange. r=peterv
2015-07-22 15:53:35 +12:00
Robert O'Callahan
99701808fc
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Robert O'Callahan
1feb908b60
Bug 1184842. Add aOldValue parameter to nsNodeUtils::AttributeChanged. r=peterv
2015-07-21 16:13:53 +12:00
Robert O'Callahan
b7cc251745
Bug 1184842. Make SetAttrAndNotify use the real old value instead of aOldValue when possible. r=bz
2015-07-25 17:57:13 +12:00
Robert O'Callahan
5fc079e9ea
Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv
2015-07-22 14:09:41 +12:00
Xidorn Quan
9fa68fd695
Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
2015-07-21 20:50:20 +10:00
Franziskus Kiefer
5282901ef0
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00
Xidorn Quan
dc0f32b794
Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug
2015-07-19 10:30:52 +10:00
Olli Pettay
b4fe0d6666
Bug 1184065, properly support WrapperCache on DestinationInsertionPointList, r=wchen
2015-07-18 01:16:43 +03:00
Brian Birtles
a44ee78b26
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).
2015-06-09 11:13:54 +09:00
Dragana Damjanovic
c7fc0a288e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Xidorn Quan
b9d94d30b0
Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug
2015-06-19 10:09:52 +10:00
Boris Zbarsky
2c051d62ba
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
918608426d
Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug
2015-06-10 23:13:12 +12:00
Xidorn Quan
92362298fc
Bug 1157685 - Remove full-screen-api.content-only pref and its friends. r=smaug
2015-05-15 14:39:25 +12:00
Cameron McCormack
214f939d12
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
96161fc227
Bug 1158425 - Rename _SYNTH event names. r=smaug
2015-05-01 22:06:00 -04:00
Andrew McCreight
aeff7c99ee
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
ef887403cb
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
42b3a896fd
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
eb570dc2df
Bug 1154615 part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt
2015-04-21 10:22:10 +09:00
Brian Birtles
6033b2c86d
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.
2015-04-21 10:22:09 +09:00
Jonathan Watt
49b12af674
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
60ca8ac291
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
54c64f20a9
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
d336ec30e7
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
8eab6f064e
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
f984425c1b
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
1ba6aaedda
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
Andrea Marchesini
e5bca26bf2
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
454d9140a2
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
88d26a6cac
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
dbad586939
Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles
2015-02-17 11:15:05 +13:00
William Chen
1ae95ff1e0
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
9a0a3578e2
Bug 1087460 - Part 1: Make GetComposedDoc() work in UnbindFromTree. r=smaug
2015-02-09 10:01:23 -08:00
Nicholas Nethercote
6ee3666899
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