Closed
Bug 1421887
Opened 7 years ago
Closed 7 years ago
[BC] |ResetBStartStart| might introduce weird borders if we don't get the row index right.
Categories
(Core :: Layout: Tables, enhancement, P3)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: ywu, Assigned: ywu)
References
(Depends on 1 open bug, )
Details
Attachments
(3 files, 4 obsolete files)
1.74 KB,
text/html
|
Details | |
4.50 KB,
patch
|
ywu
:
review+
|
Details | Diff | Splinter Review |
4.12 KB,
patch
|
ywu
:
review+
|
Details | Diff | Splinter Review |
|ResetBStartStart| might introduce weird borders
Assignee | ||
Comment 1•7 years ago
|
||
Follow bug 1405929 comment 45 to further address the comments.
Assignee | ||
Comment 2•7 years ago
|
||
still have to make reftest.
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Attachment #8933197 -
Attachment is obsolete: true
Attachment #8939715 -
Flags: review?(dbaron)
Assignee | ||
Comment 5•7 years ago
|
||
Fail w/o patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d56c0e76be231b64414e1089dd216a82a7c0e965
Pass w/ patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4c73bce60ad92d13034413f6fc04ac4254545856
Attachment #8933577 -
Attachment is obsolete: true
Attachment #8939716 -
Flags: review?(dbaron)
Comment on attachment 8939715 [details] [diff] [review]
0001-Bug-1421887-fix-the-row-index-to-get-the-right-cell..patch
>+// XXX eLogicalSideBStart, eLogicalSideIEnd and eLogicalSideIStart
>+// have never been called. Consider to use them or remove them.
Two comments here:
The first is about the English. Rather than "Consider to use them or remove them." it should be "Consider using them or removing them." (Also, "have never been called" should really be "are not used".)
The second is about the meaning. I don't think suggesting using them makes sense; we shouldn't add uses of a function just because it's unused. So I think the only reasonable suggestion is not use them.
I'd suggest rewording to say something like:
// FIXME: The only value callers pass for aSide is eLogicalSideBEnd. Consider removing support for the other three values.
r=dbaron with that or similar
Attachment #8939715 -
Flags: review?(dbaron) → review+
Comment on attachment 8939716 [details] [diff] [review]
0002-Bug-1421887-add-reftest.-r-dbaron.patch
In the future, for cases like this, it might be better to make the reftest a little bit more different from the test, so that its rendering is more obviously correct, rather than using such similar tests. However, I'm struggling to come up with a good definition of what "cases like this" are -- in many cases, what you did here is the right approach, but I think it's probably a little riskier here due to the risk of both test and reference exercising a buggy codepath. But I'd need to think more about in what cases I think that's good advice, since it's certainly not true in general.
Anyway, r=dbaron, since this is fine.
Attachment #8939716 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to David Baron :dbaron: ⌚️UTC-8 from comment #7)
> Comment on attachment 8939716 [details] [diff] [review]
> 0002-Bug-1421887-add-reftest.-r-dbaron.patch
>
> In the future, for cases like this, it might be better to make the reftest a
> little bit more different from the test, so that its rendering is more
> obviously correct, rather than using such similar tests. However, I'm
> struggling to come up with a good definition of what "cases like this" are
> -- in many cases, what you did here is the right approach, but I think it's
> probably a little riskier here due to the risk of both test and reference
> exercising a buggy codepath. But I'd need to think more about in what cases
> I think that's good advice, since it's certainly not true in general.
I see. thank you.
Assignee | ||
Comment 9•7 years ago
|
||
Attachment #8939715 -
Attachment is obsolete: true
Attachment #8940071 -
Flags: review+
Assignee | ||
Comment 10•7 years ago
|
||
Attachment #8939716 -
Attachment is obsolete: true
Attachment #8940072 -
Flags: review+
Assignee | ||
Comment 11•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 12•7 years ago
|
||
Pushed by toros@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/888271e96fec
fix the row index to get the right cell. r=dbaron
https://hg.mozilla.org/integration/mozilla-inbound/rev/21060660b938
add reftest. r=dbaron
Keywords: checkin-needed
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/888271e96fec
https://hg.mozilla.org/mozilla-central/rev/21060660b938
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•