Closed Bug 514534 Opened 17 years ago Closed 17 years ago

Planet text is full-width rather than the width of the area it was intended to fill

Categories

(Websites :: planet.mozilla.org, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Waldo, Assigned: reed)

References

()

Details

Attachments

(2 files)

Attached image p.m.o in 3.5.x —
See screenshot. That's Firefox 3.5.x, but a WebKit nightly and Opera 10 display the same as well at a glance.
I asked gavin why the CSS for #content wasn't applying, but he didn't know. :/
The html is looking for a class and needs to be looking for an ID I think.
I could have been more clear, I guess. <div class="content"> should be changed to <div id="content"> I think
Asa r smrt. r50829
Assignee: asa → reed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Is everything bold for anyone else? Is it supposed to be?
(In reply to comment #7) > Is everything bold for anyone else? Is it supposed to be? Yes, everything is bold. Probably not; who's working on this (Reed and whom else)?
I still see class="content" wrapping each of the individual entries. that can't be right.
You sure that's not the QMO entry's fault (or, rather, Planet's fault for sanitizing poorly)? Looks like a <strong> is being given self-closing syntax, but that doesn't actually work, so the entire rest of the page is bolded.
That's indeed what it looks like. View source gives this: <strong>============================================</strong><br/> <strong/><br/> <strong>This area will be updated as the day approaches.</strong><br/> and that middle line seems to be the problem.
I'm around and working on the site... Sam, any idea why the parser allowed <strong/>? Seems like a bug.
(In reply to comment #12) > Sam, any idea why the parser allowed <strong/>? Seems like a bug. ... where "parser" is html5lib, that is.
No, no idea, but just switch the doctype for now.
Doctype won't make a difference, but mime type would. This isn't html5lib's fault. Take a look at the atom feed, and you will see the problem. The final output is produced from the atom feed. If your template is xslt, I can provide a quick fix. Otherwise it will take a fixup in the python code... unfortunately, I'm traveling at the moment, and will look at it when I get back. (Feel free to ping me if I forget)
(In reply to comment #15) > If your template is xslt, I can provide a quick fix. Otherwise it will take a > fixup in the python code... unfortunately, I'm traveling at the moment, and > will look at it when I get back. (Feel free to ping me if I forget) The template is xslt. I fixed the mime-type, so it's looking better now. http://viewvc.svn.mozilla.org/vc/projects/planet/branches/planet/theme/index.html.xslt?view=co
Something like the following will delete all <strong> elements that have no children (untested): <xsl:template match='xhtml:strong[not(*)]'/> Placement isn't crucial, but I would personally put it somewhere near the "Remove stray atom elements" bit.
Site seems down. I'm getting an apache default page of some sort.
Reed is "playing" and has broken it at the moment. He's working with IT to fix it.
Depends on: 514653
No longer depends on: 514653
Explantion for attachment at Comment #20: Planet.mozilla text is still intruding into right sidebar. Unlike the original post, where the text was behind the sidebar, in this instance text is in front. Been like this for at least 48 hours. In illustration FF window occupies approx half the screen (22" HD monitor at 1920x1080 resolution). Image taken from FF 3.5, but is the same on Minefield downloaded 15 mins ago [Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20090905 Minefield/3.7a1pre] Appears same in default theme and in 'Basic Brushed' (in FF3.5.2).
I'm not seeing that at all. Try hard refreshing?
Yes. Same presentation appears on each of the three machines in my household, and with different profiles on each. In one case the body text is behind the first few cm of the sidebar (like the pix in the original bug), but appears in front as the screen scrolls down. All my machines are running XP Sp3 and FF 3.5.2. Issue has only appeared since theme update. (If its any help, Mozilla.org site displays OK.)
Tony, are you zoomed in on this page? Can you reproduce on a new profile?
Kurt As I said above, I could replicate on three separate machines, and on a number of profiles. But... tonight all three machines and all profiles tested are showing the page correctly. Fingers crossed - its no longer an issue.
(In reply to comment #25) > Kurt > As I said above, I could replicate on three separate machines, and on a number > of profiles. > But... tonight all three machines and all profiles tested are showing the page > correctly. > > Fingers crossed - its no longer an issue. I asked if you could reproduce using a new profile because you may have common things on all three of those profiles (e.g. zoom settings, extensions, font size, etc.). If you see the bug again, please file a new bug as the one this was originally filed for has been fixed.
I've made a more comprehensive fix: http://intertwingly.net/blog/2009/09/09/Venus-Updates
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: