Bug 201560 - Web Inspector: CSS Formatter: the closing } of nested @media aren't indented
Summary: Web Inspector: CSS Formatter: the closing } of nested @media aren't indented
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-06 14:05 PDT by Devin Rousso
Modified: 2019-09-06 21:20 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.82 KB, patch)
2019-09-06 14:09 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-09-06 14:05:28 PDT
```
   @media print{@media screen{body{color:red;}}}
```

should be formatted as

```
    @media print {
        @media screen {
            body {
                color: red;
            }
        }
    }
```

but instead appears as

```
    @media print {
        @media screen {
            body {
                color: red;
            }
    }
    }
```
Comment 1 Devin Rousso 2019-09-06 14:09:01 PDT
Created attachment 378233 [details]
Patch
Comment 2 Joseph Pecoraro 2019-09-06 20:37:24 PDT
Comment on attachment 378233 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2019-09-06 21:19:58 PDT
Comment on attachment 378233 [details]
Patch

Clearing flags on attachment: 378233

Committed r249607: <https://trac.webkit.org/changeset/249607>
Comment 4 WebKit Commit Bot 2019-09-06 21:19:59 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-09-06 21:20:17 PDT
<rdar://problem/55139438>