The theme developer spans have too much white space around them causing rendering problems, especially when adding custom themes that aren't fully CSS based.
This also causes some other items to fail on odd ways.

I have attached a patch which removes the extra unneeded white space, and I can't see any downsides to it.

CommentFileSizeAuthor
devel-whitespace.patch818 bytesDeeHants

Comments

moshe weitzman’s picture

they are there for readability of the source. which browser interprets white space as meaningful? and even a single line break is problematic?

DeeHants’s picture

They all treat white space as at least one rendered space.
This happened to be affecting the custom theme I was working on where it comma separated multiple items rather than relying on divs and CSS.
I'm not 100% sure what else it effected but it changed the styling as well using different/larger fonts, among other things.

moshe weitzman’s picture

Project: Devel » Theme developer
Version: 6.x-1.10 » 6.x-1.x-dev
Component: devel_themer » Code
effulgentsia’s picture

Status: Active » Fixed

Ultimately, the goal is to not use spans at all: #425716: Use comments instead of spans to markup theme calls. But until then, you can now add $conf['devel_themer_no_whitespace'] = TRUE; to your settings.php file to remove that whitespace.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.