RESOLVED DUPLICATE of bug 156178 117716
Web Inspector: JS PrettyPrinting has incorrect indentation for switch inside single line if statement
https://bugs.webkit.org/show_bug.cgi?id=117716
Summary Web Inspector: JS PrettyPrinting has incorrect indentation for switch inside ...
Joseph Pecoraro
Reported 2013-06-17 14:10:21 PDT
TEST INPUT: if (true) switch (x) { case 1: if (true) "statement"; a = b; break; case 2: if (true) "statement"; a = b; break; case 3: if (true) "statement"; a = b; break; } EXPECTED: -- Same as the original input -- ACTUAL: if (true) switch (x) { case 1: if (true) "statement"; a = b; break; case 2: if (true) "statement"; a = b; break; case 3: if (true) "statement"; a = b; break; }
Attachments
Radar WebKit Bug Importer
Comment 1 2013-06-17 14:11:02 PDT
Joseph Pecoraro
Comment 2 2016-04-04 14:49:00 PDT
This will be fixed by Bug 156178. *** This bug has been marked as a duplicate of bug 156178 ***
Note You need to log in before you can comment on or make changes to this bug.