Closed
Bug 1887638
Opened 6 months ago
Closed 5 months ago
Add a (rust crate) cssparser based CSS lexer on InspectorUtils
Categories
(DevTools :: Inspector, task)
DevTools
Inspector
Tracking
(firefox127 fixed)
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(2 files)
We should re-use the same parser that stylo is using in the first place
Assignee | ||
Comment 1•6 months ago
|
||
This new InspectorCSSParser makes use of the cssparser crate so DevTools end
up using the same code as the CSS engine.
Updated•6 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Updated•6 months ago
|
Attachment #9393039 -
Attachment description: Bug 1887638 - [devtools] Add InspectorUtils.getCSSParser method. r=emilio. → Bug 1887638 - [devtools] Add InspectorUtils.getCSSParser method. r=emilio,#devtools-reviewers.
Updated•6 months ago
|
Attachment #9393039 -
Attachment description: Bug 1887638 - [devtools] Add InspectorUtils.getCSSParser method. r=emilio,#devtools-reviewers. → Bug 1887638 - [devtools] Add InspectorCSSParser method. r=emilio,#devtools-reviewers.
Updated•6 months ago
|
Attachment #9393039 -
Attachment description: Bug 1887638 - [devtools] Add InspectorCSSParser method. r=emilio,#devtools-reviewers. → Bug 1887638 - [devtools] Add InspectorCSSParser. r=emilio,#devtools-reviewers.
Assignee | ||
Comment 2•5 months ago
|
||
In some cases, it can be more useful to only get the token value than the whole
token text (e.g. for 'Function`, where the value is the function name, while
the text includes the opening parenthesis)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d4cedbc852b9
[devtools] Add InspectorCSSParser. r=emilio,devtools-reviewers,frontend-codestyle-reviewers,bomsy.
https://hg.mozilla.org/integration/autoland/rev/978684d1d873
[devtools] Expose CSS token value in InspectorCSSToken. r=emilio.
Comment 4•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d4cedbc852b9
https://hg.mozilla.org/mozilla-central/rev/978684d1d873
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•