Closed
Bug 1159990
Opened 11 years ago
Closed 11 years ago
Replace nsIntRect with some specific structure for table damage areas
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
Details
Attachments
(1 file)
|
70.65 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Currently we use nsIntRect for table damage areas, but the terms X and Y could be confusing when we want to make table work for vertical writing modes. (It should have been confusing for RTL table I suppose.)
I propose that, instead of nsIntRect, we create a new structure, nsTableArea, and replace the fields with
x -> StartCol
y -> StartRow
width -> ColCount
height -> RowCount
XMost -> EndCol
YMost -> EndRow
We could stil use nsIntRect for the internal storage (since we could reuse code for UnionRect), but convert the wording to make more sense.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8599674 -
Flags: review?(roc)
Attachment #8599674 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Comment 4•11 years ago
|
||
Assignee: nobody → quanxunzhen
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•