Open imambungo opened 6 years ago
Confirm repro. Sorry for the late reply.
After examining the debug message, it's more likely a CSS styling issue. body tag without child node has more left-padding space, which is unexpected.
You may test it by moving whole <body></body>
to prior to head tag.
Probably looks like this:
Description
Wrong tag level in outline view.
Expected Behavior
The body tag should be in the same level as the head tag.
Actual Behavior
It take the body tag as a child of the head tag.
Possible Fix
It's happen when the body tag doesn't have any tag within it. I think the body tag should be the same level as the head tag because it is on the outside of the head tag.
Context
It's confusing, it's not just the body tag, but also all tag that doesn't have any tag within it.
Your Environment
Sorry for bad english.