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)
Websites
planet.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Waldo, Assigned: reed)
References
()
Details
Attachments
(2 files)
See screenshot. That's Firefox 3.5.x, but a WebKit nightly and Opera 10 display the same as well at a glance.
| Assignee | ||
Comment 1•17 years ago
|
||
I asked gavin why the CSS for #content wasn't applying, but he didn't know. :/
Comment 2•17 years ago
|
||
The html is looking for a class and needs to be looking for an ID I think.
Comment 4•17 years ago
|
||
I could have been more clear, I guess.
<div class="content"> should be changed to <div id="content"> I think
| Assignee | ||
Comment 5•17 years ago
|
||
Asa r smrt.
r50829
Assignee: asa → reed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 7•17 years ago
|
||
Is everything bold for anyone else? Is it supposed to be?
Comment 8•17 years ago
|
||
(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)?
Comment 9•17 years ago
|
||
I still see class="content" wrapping each of the individual entries. that can't be right.
| Reporter | ||
Comment 10•17 years ago
|
||
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.
Comment 11•17 years ago
|
||
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.
| Assignee | ||
Comment 12•17 years ago
|
||
I'm around and working on the site...
Sam, any idea why the parser allowed <strong/>? Seems like a bug.
| Assignee | ||
Comment 13•17 years ago
|
||
(In reply to comment #12)
> Sam, any idea why the parser allowed <strong/>? Seems like a bug.
... where "parser" is html5lib, that is.
Comment 14•17 years ago
|
||
No, no idea, but just switch the doctype for now.
Comment 15•17 years ago
|
||
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)
| Assignee | ||
Comment 16•17 years ago
|
||
(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
Comment 17•17 years ago
|
||
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.
Comment 18•17 years ago
|
||
Site seems down. I'm getting an apache default page of some sort.
Comment 19•17 years ago
|
||
Reed is "playing" and has broken it at the moment. He's working with IT to fix it.
Comment 20•17 years ago
|
||
Comment 21•17 years ago
|
||
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).
Comment 22•17 years ago
|
||
I'm not seeing that at all. Try hard refreshing?
Comment 23•17 years ago
|
||
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.)
Comment 24•17 years ago
|
||
Tony, are you zoomed in on this page? Can you reproduce on a new profile?
Comment 25•17 years ago
|
||
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.
Comment 26•17 years ago
|
||
(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.
Comment 27•17 years ago
|
||
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.
Description
•