Closed Bug 559426 Opened 14 years ago Closed 14 years ago

Rev3 Fedora permaorange: borders in layout/reftests/box-shadow/boxshadow-inner-basic.html

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: philor, Assigned: zwol)

References

Details

(Keywords: intermittent-failure)

Attachments

(5 files)

Attached file reftest log
RelEng is switching from running reftests on the old CentOS refplatform to the
Talos Rev3 Fedora 12 refplatform. Two of the consistent failures blocking the switch, which I'm guessing are a single thing, are layout/reftests/box-shadow/boxshadow-inner-basic.html and reftests/bugs/456219-1c.html, both of which are differing by a single pixel at the start/end of some curved borders.
No longer blocks: 558910
Hi all,
Could one of you (bzbarsky, dbaron, roc or zweinberg) have a look at the log and see if this test could be fixed?

If I got you access to a Fedora machine would it help to find out?
This looks like yet another curved seam aliasing problem (i.e. bug 466572).  I think I can fix boxshadow-inner-basic.html by rewriting the reference as an SVG file that performs exactly the same paint operation that the test does.  For 456219-1c.html, probably the most expedient thing is to add more dots to the mask images that are already in place; creating mask images is also a fallback option for boxshadow-inner-basic if I can't manage an exact match with SVG.

Any objections to this plan?
Attached patch partial patchSplinter Review
Here's the beginnings of a patch.  It *should* fix 456219c - I masked the pixels that the log says need masking, but I wasn't getting the failures on my machine anyway.  I *do* see the box-shadow failure, and there's changes to that test in here too, but after an hour of failing to get an exact match from SVG for the paint operations being done in PaintBoxShadowInner, I give up.  Maybe someone else can do something with this.  Perhaps it will be mventnor, since he seems to have written PaintBoxShadowInner.
Attachment #442272 - Flags: feedback?(dbaron)
Comment on attachment 442272 [details] [diff] [review]
partial patch

It's not clear to me what you want feedback on.  (Feel free to ask for feedback again, though.)
Attachment #442272 - Flags: feedback?(dbaron) → feedback-
Comment on attachment 442272 [details] [diff] [review]
partial patch

I see that "feedback" is not the same thing as "cry for help" now :)
Attachment #442272 - Flags: feedback-
This is the piece of attachment 442272 [details] [diff] [review] that should fix the 456219c failure; it can go in now, I think.
Attachment #443398 - Flags: review?(roc)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1273164808.1273166070.19050.gz&fulltext=1
Rev3 Fedora 12 mozilla-central opt test reftest on 2010/05/06 09:53:28  
s: talos-r3-fed-026

Have you given a try to borrow one of the Fedora Rev3 machines?
(In reply to comment #10)
> 
> Have you given a try to borrow one of the Fedora Rev3 machines?

That's not the problem - I can reproduce the failure on my own hardware just fine.  The problem is that I have not been able to get an SVG file to match the drawing operations done by -moz-box-shadow.  I think mventnor has a better chance of being able to do it, since he wrote the -moz-box-shadow code in the first place.
Based on analysis of the log in comment 10, it looks like we need still more pixels masked.
Attachment #444475 - Flags: review?(roc)
Hm, there seems to be another patch for the 456219 failures over in bug 564274.
I managed to nail down an SVG reference that actually does draw everything just as the HTML does, with a little help from cairo-trace.  See long cranky comment in the new file for gory details.
Assignee: nobody → zweinberg
Status: NEW → ASSIGNED
Attachment #444524 - Flags: review?(roc)
Comment on attachment 444524 [details] [diff] [review]
SVG reference for boxshadow-inner-basic.html - works now

We probably should fix that bezier conversion for 'A', eh?
Attachment #444524 - Flags: review?(roc) → review+
Will land either later tonight (PDT) or tomorrow morning depending on how the tree behaves and what I decide to do after dinner.

> We probably should fix that bezier conversion for 'A', eh?

I thought we already had a bug for this but couldn't find it, so I filed bug 564960.
Summary: Rev3 Fedora permaorange: borders in layout/reftests/box-shadow/boxshadow-inner-basic.html and reftests/bugs/456219-1c.html → Rev3 Fedora permaorange: borders in layout/reftests/box-shadow/boxshadow-inner-basic.html
Pushed:
http://hg.mozilla.org/mozilla-central/rev/49a4d88f4bc2
http://hg.mozilla.org/mozilla-central/rev/c1b073401621

but I'm going to leave this bug (and bug 5647274) open until I see the effect on the F12 reftest column.
Um, I meant bug 564274.
Per http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1273607328.1273608335.4170.gz the 456219-1 and boxshadow-inner-basic failures are resolved.  The remaining F12 reftest failures are:

REFTEST TEST-UNEXPECTED-FAIL | bugs/371043-1.html |
REFTEST TEST-UNEXPECTED-FAIL | bugs/393760-2.xml |
REFTEST TEST-UNEXPECTED-FAIL | bugs/449171-1.html |
REFTEST TEST-UNEXPECTED-FAIL | bugs/482592-1a.xhtml |
REFTEST TEST-UNEXPECTED-FAIL | bugs/482592-1b.xhtml |
REFTEST TEST-UNEXPECTED-FAIL | pagination/border-breaking-000-cols.xhtml |

Closing.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Blocks: 438871
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: