Closed
Bug 348577
Opened 18 years ago
Closed 17 years ago
Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline)
Categories
(Core :: MathML, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: rbs, Assigned: wgianopoulos)
References
Details
(Keywords: regression)
Attachments
(4 files, 3 obsolete files)
10.17 KB,
image/png
|
Details | |
3.73 KB,
image/png
|
Details | |
18.50 KB,
patch
|
rbs
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
18.44 KB,
patch
|
Details | Diff | Splinter Review |
Currently <mtable> is implemented with wrappers that force it to behave as an inline-table. Its implementation should be revisited when display:inline-table is supported (bug 18217). This might also led to removing the code added for bug 344281.
Comment 1•17 years ago
|
||
nsIFrame::GetBaseline() now positions non-inline blocks above the baseline, so the ascent of the mtable is being ignored and they appear twice as high as they should be. Using display: inline-table fixes this.
Flags: blocking1.9?
Priority: -- → P2
Comment 2•17 years ago
|
||
Karl - should this block?
Comment 3•17 years ago
|
||
If this bug is not fixed, then contents of matrices will be misaligned, as seen on the right, which should look like the matrix on the left. So I think this should block.
Assignee: rbs → mozbugz
Status: NEW → ASSIGNED
Comment 4•17 years ago
|
||
There shouldn't be empty space to the right of the bottom half of the brace.
Comment 5•17 years ago
|
||
... and this is not hard to fix.
Comment 6•17 years ago
|
||
The symptoms above are a regression from bug 367332 because it is since those changes that non-inline frames don't really have a baseline (which is reasonable), but without changes in bug 367332 we wouldn't have had inline-table to fix this. Now we need to use inline-table to get the desired baseline.
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Updated•17 years ago
|
Summary: Implement MathML <mtable> with display:inline-table → Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline)
Assignee | ||
Comment 7•17 years ago
|
||
This is a work-in-progress. Still some things to iron out.
Assignee: mozbugz → wgianopoulos
Assignee | ||
Comment 8•17 years ago
|
||
Comment on attachment 295545 [details] [diff] [review] WIP patch Oops. uploaded the wrong file
Attachment #295545 -
Attachment is obsolete: true
Assignee | ||
Comment 9•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 10•17 years ago
|
||
Attachment #295546 -
Attachment is obsolete: true
Assignee | ||
Comment 11•17 years ago
|
||
This patch includes the code to backout bug 344281 and bug 355993.
Attachment #295624 -
Attachment is obsolete: true
Attachment #295628 -
Flags: superreview?(bzbarsky)
Attachment #295628 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #295628 -
Flags: review? → review?(rbs)
Comment 12•17 years ago
|
||
Comment on attachment 295628 [details] [diff] [review] patch v2 >Index: layout/base/nsCSSFrameConstructor.h >- * positioned or floated, in which case its placeholder will be in .. >+ * positioned, in which case its placeholder will be in aChildItems). Please don't lose the "or floated" part. The rest of this looks great! sr=bzbarsky
Attachment #295628 -
Flags: superreview?(bzbarsky) → superreview+
Attachment #295628 -
Flags: review?(rbs) → review+
Assignee | ||
Comment 13•17 years ago
|
||
Addresses review comments.
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 14•17 years ago
|
||
Checked in, thanks very much! 1.1447 mozilla/layout/base/nsCSSFrameConstructor.cpp 1.250 mozilla/layout/base/nsCSSFrameConstructor.h 1.22 mozilla/layout/mathml/base/src/nsMathMLmrowFrame.cpp 1.15 mozilla/layout/mathml/base/src/nsMathMLmrowFrame.h 1.72 mozilla/layout/mathml/base/src/nsMathMLmtableFrame.cpp 1.37 mozilla/layout/mathml/content/src/mathml.css
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
You need to log in
before you can comment on or make changes to this bug.
Description
•