WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
94720
r126257
broke css3/flexbox/flexitem.html
https://bugs.webkit.org/show_bug.cgi?id=94720
Summary
r126257 broke css3/flexbox/flexitem.html
Mark Lam
Reported
2012-08-22 09:33:58 PDT
Change in rev 126257 (
https://bugs.webkit.org/show_bug.cgi?id=94237
) caused a regress in css3/flexbox/flexitem.html on platform mac. See
http://build.webkit.org/results/Apple%20Lion%20Debug%20WK1%20(Tests)/r126303%20(2117)/css3/flexbox/flexitem-pretty-diff.html
.
Attachments
Patch
(7.38 KB, patch)
2012-08-29 12:37 PDT
,
Tony Chang
ojan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Shezan Baig
Comment 1
2012-08-22 09:46:37 PDT
Hmm, I can understand the reasons for different widths in the last test case, and I believe this will be fixed by
bug 94604
, but it's odd that the widths of the blue-100 and green-10 images would be affected by this change. I'll look to see if there's any mac specific code in the image layout, but I don't have a mac so my debugging will be limited to code inspection. Ojan, do you have any idea why the widths of these image would be affected by this change?
Ojan Vafai
Comment 2
2012-08-22 11:58:33 PDT
***
Bug 94675
has been marked as a duplicate of this bug. ***
Ojan Vafai
Comment 3
2012-08-22 12:01:57 PDT
I don't think this is platform-specific. Instead, I think you're additions to the test exposed a race condition on the images actually loading. Notice that the height of the image that's supposed to stretch is also wrong. It's clearly not the C++ change that caused the failure. Also, it consistently passes on Chromium Linux release and is flaky on Chromium Linux debug:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=css3%2Fflexbox%2Fflexitem.html
I'm not really sure where the race is though. We don't check the dimensions of the flex items until the body's onload event, which AFAIK should happen after all the images/iframes have loaded.
Mark Lam
Comment 4
2012-08-22 12:39:32 PDT
css3/flexbox/flexitem.html has been skipped in
r126337
(
https://bugs.webkit.org/show_bug.cgi?id=94723
). Please revert
r126337
when this issue is resolved. Thanks.
Ojan Vafai
Comment 5
2012-08-22 14:35:45 PDT
I can't get this to fail locally for me with a Chromium Linux debug build. :(
Ojan Vafai
Comment 6
2012-08-24 16:57:43 PDT
This test now passed for GTK and Chromium release. It fails or is flaky on all the Chromium debug bots. Seem like we should try unskipping it for other ports.
Ojan Vafai
Comment 7
2012-08-24 18:13:26 PDT
Specifically, we should unskip for mac and mark the Chromium failure as debug only. Qt and EFL were already skipping this test for other reasons, so I think we should leave those alone.
Tony Chang
Comment 8
2012-08-29 12:37:00 PDT
Created
attachment 161285
[details]
Patch
Tony Chang
Comment 9
2012-08-29 14:23:20 PDT
Committed
r127050
: <
http://trac.webkit.org/changeset/127050
>
Jessie Berlin
Comment 10
2012-08-30 13:24:06 PDT
(In reply to
comment #9
)
> Committed
r127050
: <
http://trac.webkit.org/changeset/127050
>
All the Mac platforms are now reporting this css3/flexbox/flexitem-stretch-image.html as an unexpected pass:
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r127166%20(374)/results.html
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127171%20(433)/results.html
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r127166%20(447)/results.html
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK2%20(Tests)/r127171%20(439)/results.html
http://build.webkit.org/results/Apple%20Lion%20Debug%20WK1%20(Tests)/r127166%20(2386)/results.html
http://build.webkit.org/results/Apple%20Lion%20Release%20WK1%20(Tests)/r127171%20(3007)/results.html
http://build.webkit.org/results/Apple%20Lion%20Debug%20WK2%20(Tests)/r127167%20(2977)/results.html
http://build.webkit.org/results/Apple%20Lion%20Release%20WK2%20(Tests)/r127165%20(2770)/results.html
I am going to remove it from platform/mac/TestExpectations
Ojan Vafai
Comment 11
2012-08-30 13:27:52 PDT
(In reply to
comment #10
)
> (In reply to
comment #9
) > > Committed
r127050
: <
http://trac.webkit.org/changeset/127050
> > > All the Mac platforms are now reporting this css3/flexbox/flexitem-stretch-image.html as an unexpected pass: >
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r127166%20(374)/results.html
>
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127171%20(433)/results.html
>
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r127166%20(447)/results.html
>
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK2%20(Tests)/r127171%20(439)/results.html
>
http://build.webkit.org/results/Apple%20Lion%20Debug%20WK1%20(Tests)/r127166%20(2386)/results.html
>
http://build.webkit.org/results/Apple%20Lion%20Release%20WK1%20(Tests)/r127171%20(3007)/results.html
>
http://build.webkit.org/results/Apple%20Lion%20Debug%20WK2%20(Tests)/r127167%20(2977)/results.html
>
http://build.webkit.org/results/Apple%20Lion%20Release%20WK2%20(Tests)/r127165%20(2770)/results.html
> > I am going to remove it from platform/mac/TestExpectations
Sounds good. There's clearly a subtle race condition here. This same patch caused it to start failing on the Chromium Mac debug bots, which is what we were hoping for since the point of this test was to expose this race.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug