Daosheng Mu
81d88710d1
Bug 778654 - Implement and move tabIndex functions to Element class to avoid duplicate work.r=peterv,heycam
...
MozReview-Commit-ID: uetkJztNcn
2016-05-24 12:22:17 +08:00
Xidorn Quan
fc4359c93c
Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
...
MozReview-Commit-ID: 3af2D9IWI1Q
2016-07-28 17:15:21 +10:00
Emilio Cobos Álvarez
4370c8cc29
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
11887b0155
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
3d743b65d0
Bug 1287146 - Remove unused argument from NodeInfoChanged(). r=bkelly
2016-07-20 15:18:59 -07:00
Emilio Cobos Álvarez
948a479bad
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
dbe717975b
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
c50bf4526e
Bug 1283620 - Add a namespaced overload of GetParsedAttr. r=mrbkap
2016-07-07 09:59:06 -07:00
Brad Werth
adc62526b9
Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
2016-07-06 11:45:18 -07:00
Carsten "Tomcat" Book
9a37bd4379
Backed out changeset 3de5b79d7373 (bug 1241932) for bustage
2016-07-06 06:00:03 +02:00
Brad Werth
0c294da58f
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
a3d1caac95
Bug 1216049 part 2 - Remove Element::IsFullScreenAncestor() and replace its trivial callsites. r=smaug
...
MozReview-Commit-ID: F46GXziXTIR
2016-06-30 09:24:41 +10:00
Botond Ballo
01d6b24053
Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
...
MozReview-Commit-ID: 7DV33kG2KNt
2016-06-06 17:45:46 -04:00
Olli Pettay
549b4b4d5b
Bug 1276938 - Optimize string usage in setAttribute when dealing with HTML elements, r=baku
2016-05-31 18:56:20 +03:00
Boris Zbarsky
da1b7b9d44
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
43944667cb
Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
...
MozReview-Commit-ID: GwLLY39l1KE
2016-05-13 09:40:52 +09:00
Boris Zbarsky
025b67248c
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
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Jocelyn Liu
3ac1885ee7
Bug 811259 - Patch1: Implement Element.insertAdjacentText and Element.insertAdjacentElement. r=smaug
...
MozReview-Commit-ID: g54gUOBop7
2016-03-28 16:42:57 +08:00
Daisuke Akatsuka
33c8db0323
Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
2016-03-22 09:33:05 +09:00
Daisuke Akatsuka
050b3a8d65
Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
2016-03-22 09:33:02 +09:00
Boris Chiou
18983f91ad
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
6d44338773
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01:00
Xidorn Quan
8cad72a020
Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
2016-02-17 08:47:11 +08:00
Deepthi Venkitaramanan
b00793a3d8
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
5cf254b510
Bug 1096773 part 3 - Implement Animatable.animate(); r=bz
2016-01-29 12:37:52 +11:00
Boris Zbarsky
62f6be2b51
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
190c095a55
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Nicholas Nethercote
d24fbafe54
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.
2016-01-05 16:08:17 -08:00
Wes Kocher
310dffb532
Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
2016-01-05 15:14:48 -08:00
Boris Zbarsky
7bf0a0913b
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
8e0678884d
Bug 1228634 - Implement Element.getAttributeNames, r=peterv
2015-12-02 23:04:53 +02:00
Franziskus Kiefer
aacb932dec
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
L. David Baron
e4cee74a1d
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.
2015-11-09 15:57:16 +08:00
Xidorn Quan
e5b3283179
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
2015-10-27 13:38:02 +09:00
Boris Zbarsky
1a76d19bef
Bug 1216193. Implement webkitMatchesSelector. r=khuey
2015-10-19 20:18:09 -04:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Aryeh Gregor
351c69458d
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
c52f81f93e
Bug 1205466, make HasApzAwareListeners check faster, r=masayuki
2015-09-17 13:16:20 +03:00
Cameron McCormack
6eaea62895
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
e53abc8443
Bug 1184842. Preparse class attribute values in Element::BeforeSetAttr. r=peterv
2015-08-01 17:46:15 +12:00
Robert O'Callahan
e53ead4eb4
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
de72cbdf19
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
04b3027303
Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv
2015-07-22 14:09:41 +12:00
Franziskus Kiefer
7be01504dd
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00
Olli Pettay
8d921bb529
Bug 1184065, properly support WrapperCache on DestinationInsertionPointList, r=wchen
2015-07-18 01:16:43 +03:00
Tom Tromey
79ed652fcb
Bug 1165184 - Move nsChildContentList to its own header. r=peterv
2015-05-19 06:33:00 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
789a3bf96e
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