[Webkit-unassigned] [Bug 13279] New: Block-element inside inline-element produces unexpected styling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 4 07:39:49 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=13279
Summary: Block-element inside inline-element produces unexpected
styling
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh Intel
URL: http://www.dreimiller.com/theday-test/theday-mod-2.html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Trivial
Priority: P5
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mcd at dreimiller.com
My local newspaper's web site [http://www.theday.com/] has some articles that
display entirely in italics in Safari, yet they render correctly in other Mac
browsers (Camino, Opera, Firefox) and on other OS platforms. I determined that
the articles that had that problem had a <p /> tag inside of a <span> tag
immediately preceeding the article body, which was also inside a span tag. I
simplied one of these pages (see the URL field on this report). There were two
things that caught my eye.
1) The page has a DOCTYPE of HTML 4.01 Transistional yet they are using XHTML
tags in their code.
2) They are using block-elements like <p /> inside of inline elements like
<span></span>.
I realize that this is technically not a bug since their code does not
validate. Just thought it was worth sharing since Safari handles the improper
code differently than other browsers. I've tested this in the current release
version of Safari as well as the latest nightly build and they both behave the
same.
Since the articles on their web site expire after 7 days I've posted the code
from one of their unaltered articles here for reference
[http://www.dreimiller.com/theday-test/TheDay.html}.
I've sent them this information and suggested that they change their tags from
span to div when they need to use block-elements but they haven't responded
yet.
-McD-
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list