Boris Zbarsky
08d76ec702
Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj
2017-02-02 10:32:58 -05:00
Sebastian Hengst
4c5957bbd3
Backed out changeset c724fbd9c326 (bug 1332812) for build bustage. r=backout on a CLOSED TREE
2017-02-02 16:58:52 +01:00
Boris Zbarsky
b249de7c3a
Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj
2017-02-02 10:32:58 -05:00
Manish Goregaokar
5b55368eda
Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio
...
This introduces a basic framework for servo's style system to be able
to query the style of presentation attributes which it can then insert
into the cascade. It uses that framework to implement the size and
color attributes on <font>.
There are a number of improvements that can be done on top of this:
- Implement all other properties
- Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead
- Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this)
- Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko
I'd prefer for these to be done in separate steps.
MozReview-Commit-ID: GO60qfeZOfl
--HG--
extra : rebase_source : 516d369a8627e413983361aaf85ccb7132b0a06c
2017-01-19 15:56:53 -08:00
Jared Wein
072c1a6ba3
Bug 1323618 - Allow locking off of psuedo-classes through inIDOMUtils. r=heycam
...
MozReview-Commit-ID: DppYTmILpwy
--HG--
extra : rebase_source : c0befc8f86b92cfc88b537e520c3aa032846ba6a
2017-01-12 12:10:07 -05:00
Sebastian Hengst
7e8e7b64ec
Backed out changeset 6c4807171f00 (bug 1323618) on jaws' request. r=backout
2017-01-12 18:45:39 +01:00
Jared Wein
213d81f2f4
Bug 1323618 - Allow locking off of psuedo-classes through inIDOMUtils. r=heycam
...
This patch doesn't currently work. The test fails in two test cases. Right now the styles for a 'locked-off' psuedo class are still being applied.
MozReview-Commit-ID: DppYTmILpwy
* * *
[mq]: temp
MozReview-Commit-ID: 74iIOQumfrw
--HG--
extra : rebase_source : 276e694b61aaeb0cb55a963c793d58876a92546f
2017-01-12 12:10:07 -05:00
Boris Zbarsky
34c39939f2
Bug 1330060 part 1. Move GetInlineStyleDeclaration up to Element so it doesn't have to be virtual. r=bkelly
2017-01-11 19:03:16 -05:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Cameron McCormack
ce51bd51e0
Bug 1328832
- Part 1: Rename mozFlushType.h to FlushType.h. r=bzbarsky
...
MozReview-Commit-ID: 1ubwNkBEdfz
--HG--
rename : dom/base/mozFlushType.h => dom/base/FlushType.h
2017-01-05 14:54:02 +08:00
Cameron McCormack
cd875e79a6
Bug 1326023 - Make Element::GetBindingURL return a strong reference. r=smaug
...
MozReview-Commit-ID: 5QI6UuvwDrE
2016-12-28 17:50:44 +08:00
Tobias Schneider
eef5af1c91
Bug 1322717 - Disconnect/Unlink in the proper order to avoid crashes in mozilla::dom::DOMIntersectionObserver::UnlinkTarget. r=mrbkap
2016-12-08 18:54:07 -08:00
Cameron McCormack
72b73ba67c
Bug 1321284 - Part 4.1: Add function to determine if we need to traverse from a given node for restyling. r=bholley
...
MozReview-Commit-ID: 3MaLp9AOJKm
--HG--
extra : rebase_source : 7481fb118731cf544524e162c947ceef730bade4
2016-12-02 16:54:43 +08:00
Cameron McCormack
a72478f6c9
Bug 1321284 - Part 2: Add nsINode::GetFlattenedTreeParentNodeForStyle. r=bholley
...
MozReview-Commit-ID: AmDyeE21N8g
--HG--
extra : rebase_source : 7e0d8f40ce513283f7262dca332fddc1e92ff810
2016-12-01 14:55:09 +08:00
Bobby Holley
f8c9d884fc
Bug 1317016
- Basic infrastructure for RestyleHint-driven traversal. r=emilio
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08: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
Boris Zbarsky
061d3629f1
Bug 1318096 part 9. Remove XPCOM parentnode/childnode APIs. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
e13d617b08
Bug 1318096 part 8. Remove XPCOM element client* APIs. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
9f04732f13
Bug 1318096 part 7. Remove XPCOM element scroll* APIs. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
31c5bbddb2
Bug 1318096 part 5. Remove XPCOM mozMatchesSelector. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
e6adc66146
Bug 1318096 part 4. Remove the unused XPCOM setCapture/removeCapture. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
c8ec840cee
Bug 1318096 part 3. Remove the unused XPCOM fullscreen API. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
dfab9956ca
Bug 1318096 part 2. Remove the unused XPCOM pointerlock API. r=froydnj
2016-11-17 13:49:27 -05:00
Boris Zbarsky
0187a18084
Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj
2016-11-17 13:49:26 -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
Stone Shih
1ed10ff082
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Xidorn Quan
60ba3c835d
Bug 1294299 part 2 - Use DeclarationBlock for SMIL override style. r=heycam
...
MozReview-Commit-ID: 573o5vmC81z
--HG--
extra : source : c284764640e86b9bf63f976b79aa66252f8b635d
2016-11-03 14:41:02 +11:00
Tobias Schneider
5b2ef3c1db
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Hiroyuki Ikezoe
556f24d093
Bug 1309198 - Hold a strong ref of the element for Element::GetAnimations. r=smaug
...
MozReview-Commit-ID: JP7EbGa8zsI
2016-10-19 07:40:15 +09:00
Xidorn Quan
05ef8466c6
Bug 1309109 part 5 - Store ServoDeclarationBlock rather than RawServoDeclarationBlock in nsAttrValue. r=heycam
...
MozReview-Commit-ID: HWqgjwif1qF
--HG--
extra : source : cf3b1baff3d1d6233c72e32cf01cd28a2b344ebf
2016-10-18 15:29:03 +11: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
John Dai
48b937b61e
Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
...
MozReview-Commit-ID: 3gYTaRVcV0y
--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
Stone Shih
ad4a2218e7
Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
...
MozReview-Commit-ID: 1aRwP7FsiB0
--HG--
extra : rebase_source : 9b63b22c4356d02ce3ae49996cdb10e53b9ab43c
2016-10-05 15:16:02 +08:00
Edgar Chen
eaa3aed9dd
Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
...
MozReview-Commit-ID: 10NPmzTRogc
--HG--
extra : rebase_source : 9f4b5b79f1ef4d65a457066b079a338fd3895c40
2016-09-01 15:11:32 +08:00
Edgar Chen
67946850ab
Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
...
MozReview-Commit-ID: 9gTSFrYW7o3
--HG--
extra : rebase_source : f123f21aadaa18641ddd7fa7fa67eb27a4152f83
2016-08-30 11:48:53 +08:00
Stone Shih
b6697d07aa
Bug 1294335 - [Pointer Event] Refine setPointerCapture / releasePointerCapture to follow the algorithm defined in the spec. f=bevistseng, r=smaug
2016-08-12 09:49:31 +08:00
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