Commit Graph

235 Commits

Author SHA1 Message Date
Bobby Holley
a3a4332575 Bug 1331322 - Stop using a node bit for HasExplicitBaseURI. r=bholley
This is only called during URI resolution, and the proptable bit should make
this relatively fast.
2017-01-20 18:17:13 -08:00
Phil Ringnalda
a6b8226a11 Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
Bobby Holley
268e4dc2bb Bug 1331322 - Add a flag to indicate that a node is native anonymous content. r=bholley 2017-01-20 18:28:46 -08:00
Bobby Holley
eee1ffbb7b Bug 1331322 - Move MAY_HAVE_CLASS to mBoolFlags. r=bholley
This fits a bit better with the other stuff, and allows us to add our new NAC
bit with the other NAC related bits, which also happens to be a field that
Servo already has easy access to.
2017-01-20 18:24:41 -08:00
Bobby Holley
82d82ab9fb Bug 1331322 - Stop using a node bit for HasExplicitBaseURI. r=bholley
This is only called during URI resolution, and the proptable bit should make
this relatively fast.
2017-01-20 18:17:13 -08:00
Boris Zbarsky
ddd36677e5 Bug 1335368 part 22. Get rid of IsCallerChrome in geometry utils. r=dholbert 2017-02-01 15:43:59 -05:00
Boris Zbarsky
d066dd2644 Bug 1335368 part 5. Stop using IsCallerChrome in nsINode. r=bholley 2017-02-01 15:43:36 -05:00
Boris Zbarsky
24f13892a5 Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug 2017-01-17 23:52:29 -05:00
John Dai
fd22813d0d Bug 1269155 - Revise Node.rootNode to Node.getRootNode. r=smaug 2017-01-16 01:46:00 +08:00
Cameron McCormack
4d3500f51e Bug 1321284 - Part 2: Add nsINode::GetFlattenedTreeParentNodeForStyle. r=bholley
MozReview-Commit-ID: AmDyeE21N8g
2016-12-01 14:55:09 +08:00
Bobby Holley
3775205e64 Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Boris Zbarsky
8bef5cc522 Bug 1319255 part 2. Stop doing casts to HTMLContentElement* simply based on tag. r=wchen 2016-11-22 22:41:51 -05:00
Boris Zbarsky
2545e5355a Bug 1319255 part 1. Stop doing casts to HTMLShadowElement* simply based on tag. r=wchen 2016-11-22 22:41:51 -05:00
Boris Zbarsky
3ffbb28d02 Bug 1318476. Remove various unused nsIDOMNode stuff. r=froydnj 2016-11-18 16:38:29 -05:00
Boris Zbarsky
dd01d89c2f Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj 2016-11-17 13:49:26 -05:00
Xidorn Quan
27c60f0f0e Bug 1313262 - Devirtualize nsINode::{Get,Set,Delete,Unset}Property. r=peterv
MozReview-Commit-ID: B16VcIZKBs1
2016-10-27 12:40:34 +11:00
Manish Goregaokar
3c4e94b990 Bug 1308234 - Fix signatures of Servo_ functions to match servo glue; r=emilio
MozReview-Commit-ID: K0k93JoFVKb
2016-10-06 20:58:01 +05:30
Bobby Holley
ace7380088 Bug 1304913 - Have Servo manage node data directly without FFI calls. r=Manishearth
MozReview-Commit-ID: H8f8VP18TbM
2016-09-23 15:58:48 -07:00
Andrea Marchesini
644851fc2b Bug 1301254 - nsINode::GetBaseURI() should be fallible, r=smaug 2016-09-20 14:02:33 +02:00
Nicholas Nethercote
8eaacb0d8b Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz. 2016-09-08 14:17:58 +10:00
Bobby Holley
2317c7eb1c Bug 1292662 - Use accessors to unset stylo dirty bits. r=heycam
I often find myself wanting to hook them for logging etc, and this makes the
API symmetric with the setters.
2016-08-25 21:36:57 -07:00
Bobby Holley
fbf5ab3289 Bug 1292279 - Explicitly handle dirtiness in BindToTree. r=heycam
Doing this in SetInDoc is kind of gross, and it leads to nice symmetry with
UnbindFromTree.
2016-08-25 21:34:27 -07:00
Ryan VanderMeulen
65e0550627 Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Xidorn Quan
a87b549cbc Bug 1296173 part 2 - Rename the servo binding functions. r=bholley
MozReview-Commit-ID: Gxqx52v3sDQ
2016-08-23 13:14:27 +10:00
Alexander Surkov
599cc64318 Bug 1296769 - introduce a11y API, r=smaug, yzen 2016-08-23 14:15:15 -04:00
Bobby Holley
e55613ed13 Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Bobby Holley
b360d83801 Bug 1289624 - Switch to UniquePtr for managing ServoNodeData. r=heycam 2016-07-27 13:34:55 -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
6fdfeb30ce Bug 1285474: stylo: Add nsINode method for knowing if the current document is using Servo's style back-end. r=bholley
MozReview-Commit-ID: 3sRE7BZj1tu
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
Stone Shih
8300bd626d Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug 2016-05-06 18:39:10 +08:00
Jocelyn Liu
9ea64b5760 Bug 911477 - Implement DOM4 methods: prepend(), append(), before(), after() and replaceWith(). r=bz
MozReview-Commit-ID: A6SklLqXZtv
2016-04-12 10:48:14 +08:00
Andrea Marchesini
3dbd611f48 Bug 1266194 - Implement boolean or EventListenerOptions as 3rd param to addEventListener, r=smaug 2016-04-26 16:23:17 +08:00
Jonathan Watt
570328a826 Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
947f9705a7 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
d714197cfc Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
John Dai
0791be58f8 Bug 1256299 - Remove redundent trailing spaces. r=bz 2016-03-25 18:23:53 +08:00
John Dai
a54ef80c27 Bug 1256299 - Implement Node.isSameNode. r=bz 2016-03-25 18:23:50 +08:00
Ehsan Akhgari
5c66492286 Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv 2016-03-23 14:24:56 -04:00
Sebastian Hengst
24467d4d4c Backed out changeset 01eff93538c8 (bug 1257208) for failing Reftest dir_auto-set-contained-dir-L.html and others. r=backout 2016-03-23 18:35:20 +01:00
Ehsan Akhgari
6b3fd8225c Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv 2016-03-23 11:48:23 -04:00
Jocelyn Liu
2b9b21811c Bug 1254956 - Implement Node.rootNode. r=Ms2ger,smaug
MozReview-Commit-ID: HeV3qnngbTx
2016-03-16 09:49:10 +08:00
Carsten "Tomcat" Book
1e48102bf6 Backed out changeset 5eb1f8858a31 (bug 1254956) for testfailures in rootNode.html 2016-03-21 09:20:37 +01:00
Jocelyn Liu
52a3b3d092 Bug 1254956 - Implement Node.rootNode. r=smaug
MozReview-Commit-ID: HeV3qnngbTx
2016-03-16 09:49:10 +08:00
Jonathan Watt
da976e41f9 Bug 1220822 follow-up - Fix typo in nsINode::OwnerDoc() documention. r=mats
MozReview-Commit-ID: Gs9p5UTjqZQ
2016-02-29 23:46:51 +00:00
Bobby Holley
d3e2403dcb Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz 2016-02-23 17:28:50 -08:00
Sebastian Hengst
014e456d7b Backed out changeset 59ee7ae2519d (bug 1250767) 2016-02-24 22:50:51 +01:00
Bobby Holley
3dff50cefe Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz 2016-02-24 13:01:15 -08:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Jonathan Watt
4e44f75050 Bug 1220822 - Rewrite the nsINode::OwnerDoc comment to not contradict itself and relate it to HTML5 terms. r=baku 2015-10-02 17:16:49 +01:00