Bobby Holley
1d6f2ecf7c
Bug 1296509 - Devirtualize and inline GetShadowRoot. r=smaug
2016-08-19 14:43:51 -07: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
Boris Zbarsky
fe8d1921e1
Bug 921834. Add support for .dataset on SVGElement. r=bkelly
2016-08-11 16:56:34 -04:00
Daosheng Mu
8083dbd7bd
Bug 778654 - Implement and move tabIndex functions to Element class to avoid duplicate work.r=peterv,heycam
...
MozReview-Commit-ID: uetkJztNcn
--HG--
extra : transplant_source : U%E7va%AE%E6%FE%BDN.%28%AA%8F%19%1D%FF%26%E6%B7t
2016-05-24 12:22:17 +08: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
Emilio Cobos Álvarez
11ac7c1d96
Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
...
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(
MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
e54d13faa8
Bug 1288590: Add a function to get attribute info from an Element by index. r=bholley
...
MozReview-Commit-ID: AjgzhP3gwgV
2016-07-27 11:18:33 -07:00
Andrew McCreight
2f88762913
Bug 1287146 - Remove unused argument from NodeInfoChanged(). r=bkelly
2016-07-20 15:18:59 -07:00
Emilio Cobos Álvarez
474ff66ca4
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Emilio Cobos Álvarez
580accea5d
Bug 1285474: stylo: Reuse some element restyle-related flags for Servo-styled nodes. r=bholley
...
MozReview-Commit-ID: 86FS1s725KL
2016-07-12 00:33:57 -07:00
Bobby Holley
ae4b3ffee8
Bug 1283620 - Add a namespaced overload of GetParsedAttr. r=mrbkap
2016-07-07 09:59:06 -07: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
Xidorn Quan
737139c4a7
Bug 1216049 part 2 - Remove Element::IsFullScreenAncestor() and replace its trivial callsites. r=smaug
...
MozReview-Commit-ID: F46GXziXTIR
--HG--
extra : source : 7f41b62bbdc368ae1cc8b85e24c3582868805bfc
2016-06-30 09:24:41 +10:00
Botond Ballo
4cd8a55cfc
Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
...
MozReview-Commit-ID: 7DV33kG2KNt
--HG--
extra : source : 3f7ad60ae16bce8cac317aee8d3ec6445354733c
2016-06-06 17:45:46 -04:00
Olli Pettay
b91ac5f5d1
Bug 1276938 - Optimize string usage in setAttribute when dealing with HTML elements, r=baku
...
--HG--
extra : rebase_source : dea4a4d25ff3cc7b2ca0ced76cafae8577d0f650
2016-05-31 18:56:20 +03:00
Boris Zbarsky
2b85094faf
Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham
2016-05-20 23:13:17 -04:00
Brian Birtles
90fb66a530
Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
...
MozReview-Commit-ID: GwLLY39l1KE
--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Boris Zbarsky
00cfdef4b1
Bug 1257849 part 2. Pass in the right set of supported tokens to the sandbox tokenlist implementation. r=bkelly
2016-05-04 23:41:24 -04:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01: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
Daisuke Akatsuka
ed48c0cba4
Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
...
--HG--
extra : rebase_source : 18299c47072d972e9b40c7e0f848584ac976e01e
2016-03-22 09:33:05 +09:00
Daisuke Akatsuka
c89239f3ad
Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
...
--HG--
extra : rebase_source : 3079ffea84919cb6b43dce8c28b256edddce4746
2016-03-22 09:33:02 +09:00
Boris Chiou
c0917bf747
Bug 1241784 - Part 1: Add a helper function for Element.animate(). r=birtles
...
Therefore, CSSPseudoElement.animate() can also use it.
2016-03-04 00:54:00 +01:00
Boris Chiou
1c9da6a517
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01: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
Brian Birtles
5358a5c81e
Bug 1096773 part 3 - Implement Animatable.animate(); r=bz
2016-01-29 12:37:52 +11:00
Boris Zbarsky
e7df3e8700
Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug
2016-01-05 15:05:23 -05:00
Hiroyuki Ikezoe
df09492fe4
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Nicholas Nethercote
3fae597767
Bug 1232852 (part 9) - Simplify ReleasePointerCaptureCaller. r=tn.
...
It doesn't need to store the nsIContent. It just needs to record if mPointerId
has been set. This is because ReleasePointerCapturingContent() doesn't use its
second parameter.
--HG--
extra : rebase_source : d31036c74b06143d88848f63165cd1f41b433102
2016-01-05 16:08:17 -08:00
Wes Kocher
52ed1e6ff2
Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
...
--HG--
extra : commitid : 2RDQomPsA9l
2016-01-05 15:14:48 -08:00
Boris Zbarsky
cb006d4926
Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug
2016-01-05 15:05:23 -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
Franziskus Kiefer
6bf24410e1
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
L. David Baron
a3eadb1b86
Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
...
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.
We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.
--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08: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
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Aryeh Gregor
5e39e259c1
Bug 492933 - getElementsByTagName should match on localName not tagName, r=smaug
...
dom-level2-core test changes by Ms2ger.
2015-10-15 10:03:30 -04:00
Olli Pettay
68663347da
Bug 1205466
, make HasApzAwareListeners check faster, r=masayuki
...
--HG--
extra : rebase_source : 41c94b02117a09785938349dc9ad513af9bf048b
2015-09-17 13:16:20 +03:00
Cameron McCormack
646a0c727a
Bug 1202512 - Part 1: Add Element flags to record whether an eRestyle_SomeDescendants restyle is pending for it. r=bzbarsky
2015-09-12 19:08:10 +10: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
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
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
Franziskus Kiefer
b4e4b6d771
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00