Closed Bug 1375150 Opened 7 years ago Closed 7 years ago

Stylo: Inspector can't find matching selectors

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jryans, Assigned: ferjm)

References

Details

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: nobody → ferjmoreno
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
Depends on: 1378792
All these tests are passing after bug 1370502 landed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.