Stylo: Inspector can't find matching selectors

RESOLVED FIXED

Status

()

RESOLVED FIXED
a year ago
a year ago

People

(Reporter: jryans, Assigned: ferjm)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
DevTools expects to query matching selectors via `inIDOMUtils.selectorMatchesElement`, but this API is not yet updated for Stylo.

This leads to 10 failures like:

* devtools/client/inspector/boxmodel/test/browser_boxmodel.js[1]

TEST-UNEXPECTED-FAIL | devtools/client/inspector/boxmodel/test/browser_boxmodel.js | .boxmodel-margin.boxmodel-left > span has the right value. - Got 0, expected auto

and similar failures in:

* devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel.js
* devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel_stylerules.js

[1]: https://treeherder.mozilla.org/logviewer.html#?job_id=107747687&repo=try&lineNumber=2230
(Assignee)

Updated

a year ago
Assignee: nobody → ferjmoreno
(Reporter)

Comment 1

a year ago
I believe some more tests are depending on this as well:

* devtools/client/inspector/shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js
* devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-04.js
Summary: Stylo: Box model can't find matching selectors → Stylo: Inspector can't find matching selectors
(Assignee)

Updated

a year ago
Depends on: 1378792
(Assignee)

Comment 2

a year ago
All these tests are passing after bug 1370502 landed.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.