Incorrect Page Layout

VERIFIED FIXED in M13

Status

()

Core
HTML: Parser
P3
normal
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: quake2guy, Assigned: harishd)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

19 years ago
In milestone 7, www.q3arena.com was displayed correctly. It does not have the correct layout now. I suspect that this has to do with frames and/or image maps.
Also, the text is displayed as the wrong color after a few paragraphs meaning that the site has become unreadable(black on black). Just tryin' to help.

Andrew Stern                     quake2guy@hotmail.com
http://andrewstern.freeservers.com

Comment 1

19 years ago
Here's a reduced test case:

<html>
<head>
<base href="http://www.q3arena.com/">
</head>
<body bgcolor="black">
<span style="font-family: Verdana; font-size: 8pt; color: white;
text-decoration: none">
SOCKS proxy:
<blockquote>text in blockquote</blockquote>
</span>
</body>
</html>

Updated

19 years ago
Assignee: troy → rickg
Component: Layout → Parser

Comment 2

19 years ago
What's happening is that the BLOCKQUOTE is getting moved outside of the SPAN tag
and so there's no associated style info that says that the text should be white
and of a particular font

Here's a dump of the content model:

html refcount=3<
  head refcount=2<
    base href=http://www.q3arena.com/ refcount=3<>
  >
  body bgcolor=black refcount=3<
    Text refcount=3<\n\n\n\n\n\n>
    span style=font-family: Verdana; font-size: 8pt; color: white; text-decorati
on: none;  refcount=3<
      Text refcount=3<\nSOCKS proxy:\n>
    >
    blockquote refcount=3<
      Text refcount=3<text in blockquote>
    >
    Text refcount=3<\n\n\n\n\n\n>
  >
>

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 3

19 years ago
Ok -- I've fixed this by making spans act like blocks. The W3C says spans are
inline -- but hey, you can't argue with navigator. (I'll update the DTD to do
the right thing in non-quirks mode).

Updated

19 years ago
Status: RESOLVED → VERIFIED
Created attachment 1985 [details]
testcase for standard mode

Updated

18 years ago
Status: VERIFIED → REOPENED
In standard mode, SPAN element SHOULD NOT contain the BLOCKQUOTE element.
But SPAN contains BLOCKQUOTE even if we are in standard mode.
reopen.

Updated

18 years ago
Resolution: FIXED → ---

Comment 6

18 years ago
Clearing FIXED resolution due to Reopen.

Updated

18 years ago
Assignee: rickg → harishd
Status: REOPENED → NEW

Comment 7

18 years ago
Harish -- this bug needs to be handled by updating the elementtable using quirks
mode. I'll leave it to you.
(Assignee)

Updated

18 years ago
Target Milestone: M11
(Assignee)

Updated

18 years ago
Target Milestone: M11 → M12
(Assignee)

Updated

18 years ago
Target Milestone: M12 → M14

Updated

18 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago18 years ago
Resolution: --- → FIXED

Comment 8

18 years ago
Fixed by landing of residual style handling.

Updated

18 years ago
Status: RESOLVED → VERIFIED

Comment 9

18 years ago
With the Jan 05 build, this problem has been fixed.
You need to log in before you can comment on or make changes to this bug.