Closed
Bug 1838168
Opened 2 years ago
Closed 2 years ago
Add a test for pretty printing stylesheet with nested rules
Categories
(DevTools :: Style Editor, task, P3)
DevTools
Style Editor
Tracking
(firefox116 fixed)
RESOLVED
FIXED
116 Branch
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
I did some light testing and it does look like the auto pretty-printing of stylesheet does handle nested stylesheets nicely
For example, opening the styleeditor on data:text/html,<meta charset=utf8><style>h1 { color: gold; & { border: 1px; } }</style><h1>Hello</h1> will display:
h1 {
color: gold;
& {
border: 1px;
}
}
Let's have some tests with more complex nesting to makes sure everything is handled as expected
| Assignee | ||
Comment 1•2 years ago
|
||
Existing test is modified to be easier to read.
Depends on D181225
Updated•2 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6aaf9b487ab3
[devtools] Test automatic CSS pretty print with nested CSS. r=devtools-reviewers,ochameau.
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
| Assignee | ||
Updated•2 years ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•