Commit Graph
15 Commits
Author SHA1 Message Date
Julian Descottes 888af123e8 Bug 1443923 - part1: Return script location for shadow host in NodeActor form;r=bgrins
MozReview-Commit-ID: CLmOqqAa123
2018-07-05 09:47:56 +02:00
Belén Albeza eec05e72ba Bug 1473901 - show shadow root mode. r=bgrins
MozReview-Commit-ID: Axt9W0uX4FB
2018-07-11 14:53:51 +02:00
Julian Descottes 9e691865a0 Bug 1465873 - part6: Allow selection and breadcrumbs to walk from shadowRoot to host element;r=bgrins
By returning the shadow root as the parentNode of some elements, the breadcrumbs could no longer
display the chain of elements correctly, because shadowRoot.parentNode is null.

This changeset:
- returns the host actor ID as part of the shadowRoot form
- adds a parentOrHost convenience method on the node form
- uses said method in selection and breadcrumbs when walking up the ancestor chain

I don't think we should unconditionally return the host element as the parentNode of the
shadow root, because that is too disconnected from the reality.

MozReview-Commit-ID: JLeDb4VuT1q
2018-06-28 13:11:08 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Boris Zbarsky 8a166e6246 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Patrick Brosset 69083c6a14 Bug 1460223 - Handle computedStyle.display failures for non-elements; r=gl
MozReview-Commit-ID: 9raK8Tkl4GI
2018-05-15 10:20:03 +02:00
Alexandre Poirot 2ed4e3ab48 Bug 1453385 - Remove NodeActor custom form attributes. r=Honza
This feature introduced in bug 1036949 is not longer used as it was designed for XUL add-ons.
The setFormProperty method was prevently Node's form from getting correctly
serialized between processes.

MozReview-Commit-ID: AiNnHSkwsEM
2018-04-11 08:54:27 -07:00
Julian Descottes 9d4b9615ea Bug 1053898 - Update NodeActor with new properties to detect slotted nodes in markup-view;r=bgrins
Instead of filtering light DOM nodes in the actor, return enough information
for the markup-view to filter out the nodes itself. The nodes will be displayed
in a later changeset when the markup view can accommodate several containers
for a single nodeFront.

MozReview-Commit-ID: LFKYU24BLZB
2018-03-06 18:31:46 +01:00
Julian Descottes 71c313579d Bug 1053898 - Update markup view to display shadow roots as #shadow-root;r=bgrins
MozReview-Commit-ID: 36Zr2P6j6W6
2018-03-05 16:41:43 +01:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Gabriel Luong 391b22aa00 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Dorel Luca 312fe57be7 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Gabriel Luong 41fc3aff17 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Alexandre Poirot 7e1be13a0a Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
MozReview-Commit-ID: B5l1X4pc2Kf
2017-10-03 17:19:56 +02:00
Alexandre Poirot 48d30de94b Bug 1399589 - Move NodeFront to its own module. r=jdescottes
MozReview-Commit-ID: EVeaFmqAmKL
2017-10-02 17:14:38 +02:00