Closed Bug 36156 Opened 24 years ago Closed 24 years ago

left-aligned text in cells gets centered instead

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: spam, Assigned: karnaze)

References

()

Details

(Keywords: regression)

Build ID 2000041716 M16
Seems all text that should be right-aligned in cells at above URL gets centered
instead.
LEFT aligned...dang..
Summary: right-aligned text in cells gets centered instead → left-aligned text in cells gets centered instead
hmm looked at the source: the text isn't explicitly left-aligned but all other
browsers displays it as left-aligned. There's a <DIV ALIGN="justify"> there -
perhaps a clue.
rickg checked in some stuff for DTD recognition.  Looks like this broke
something here: the doctype of this page is HTML 4.0 Transitional, but
apparently it gets parsed in standard mose (where <CENTER> menas text-align:
center, which inherits into the TABLE cells).  Confirming, and reassigning.
Assignee: karnaze → rickg
Status: UNCONFIRMED → NEW
Component: HTMLTables → Parser
Ever confirmed: true
Keywords: regression
QA Contact: chrisd → janc
This isn't a parser bug. In the new world, the transitional DTD (without 
strict.dtd URI) is handled as a standard-mode document, meaning we throw out nav 
quirks. Removing the doctype (or using a doctype the enables quirks) is your 
anwser.

I'm forwarding the layout but to karnaze.
Assignee: rickg → karnaze
Which doctypes now trigger quirks mode? loose.dtd doesn't seem to.
well hooray - with build ID 2000-041908 it's business as usual - no unexpected
centered text on freshmeat.net. But is this a fix or a mishap?
After some discussion in n.p.m.layout, transitional dtd gets processed in quirks
mode again.  So I'll mark this, hm, FIXED.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
This was fixed in the next build, ages ago, and page still looks OK.
Verifying. 2000-072113
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.