Bug 116621 - fast/replaced/preferred-widths.html is flaky
Summary: fast/replaced/preferred-widths.html is flaky
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2013-05-22 10:17 PDT by Ryosuke Niwa
Modified: 2018-03-28 13:06 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-05-22 10:17:35 PDT
http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=fast%2Freplaced%2Fpreferred-widths.html

e.g.
http://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/9097

--- /Volumes/Data/slave/mountainlion-release-tests-wk2/build/layout-test-results/fast/replaced/preferred-widths-expected.txt
+++ /Volumes/Data/slave/mountainlion-release-tests-wk2/build/layout-test-results/fast/replaced/preferred-widths-actual.txt
@@ -1,12 +1,31 @@
 Test the effect of percentages widths on the preferred widths of replaced elements.
 
 
-PASS
+FAIL:
+Expected 130 for width, but got 40. 
+Expected 130 for height, but got 30. 
+Expected 120 for width, but got 30. 
+Expected 120 for height, but got 20. 
+
+<div class="container" data-expected-width="130" data-expected-height="130">
+    <img class="min-content" src="resources/square-blue-100x100.png" style="width: 10px; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
+</div>
  
-PASS
+FAIL:
+Expected 130 for width, but got 40. 
+Expected 130 for height, but got 30. 
+Expected 120 for width, but got 30. 
+Expected 120 for height, but got 20. 
+
+<div class="container" data-expected-width="130" data-expected-height="130">
+    <img class="max-content" src="resources/square-blue-100x100.png" style="width: 10px; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
+</div>
  
 FAIL:
 Expected 130 for width, but got 30. 
+Expected 130 for height, but got 30. 
+Expected 120 for width, but got 40. 
+Expected 120 for height, but got 20. 
 
 <div class="container" data-expected-width="130" data-expected-height="130">
     <img class="min-content" src="resources/square-blue-100x100.png" style="width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
@@ -14,18 +33,54 @@
  
 FAIL:
 Expected 130 for width, but got 30. 
+Expected 130 for height, but got 30. 
+Expected 120 for width, but got 40. 
+Expected 120 for height, but got 20. 
 
 <div class="container" data-expected-width="130" data-expected-height="130">
     <img class="max-content" src="resources/square-blue-100x100.png" style="width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
 </div>
  
-PASS
+FAIL:
+Expected 75 for height, but got 30. 
+Expected 65 for height, but got 20. 
+
+<div class="container" data-expected-width="55" data-expected-height="75">
+    <img src="resources/square-blue-100x100.png" style="min-width: 25px; width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="65" data-expected-height="65">
+</div>
  
-PASS
+FAIL:
+Expected 75 for height, but got 30. 
+Expected 65 for height, but got 20. 
+
+<div class="container" data-expected-width="55" data-expected-height="75">
+    <img src="resources/square-blue-100x100.png" style="min-width: 25px; width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="65" data-expected-height="65">
+</div>
  
-PASS
+FAIL:
+Expected 50 for height, but got 30. 
+Expected 40 for height, but got 20. 
+
+<div class="container" data-expected-width="30" data-expected-height="50">
+    <img src="resources/square-blue-100x100.png" style="width: 100%; border: 5px solid grey; padding: 5px;" data-expected-width="40" data-expected-height="40">
+</div>
  
-PASS
+FAIL:
+Expected 50 for height, but got 30. 
+Expected 40 for width, but got 20. 
+Expected 40 for height, but got 20. 
+
+<div class="container" data-expected-width="30" data-expected-height="50">
+    <img src="resources/square-blue-100x100.png" style="max-width: 100%; border: 5px solid grey; padding: 5px;" data-expected-width="40" data-expected-height="40">
+</div>
  
-PASS
+FAIL:
+Expected 130 for width, but got 30. 
+Expected 150 for height, but got 30. 
+Expected 140 for width, but got 40. 
+Expected 140 for height, but got 20. 
 
+<div class="container" data-expected-width="130" data-expected-height="150">
+    <img src="resources/square-blue-100x100.png" style="min-width: 100%; border: 5px solid grey; padding: 5px;" data-expected-width="140" data-expected-height="140">
+</div>
+
Comment 1 Alexey Proskuryakov 2016-06-12 22:39:14 PDT
This test lays out in flaky ways even when simply opening it in Safari and reloading several times. Seems like a very real bug.
Comment 2 Ryan Haddad 2016-10-10 14:10:51 PDT
Marked test as flaky on mac in http://trac.webkit.org/projects/webkit/changeset/207022
Comment 3 Alicia Boya García 2018-03-28 08:08:41 PDT
The problem affects other platforms as well, I'll move the change to the global TestExpectations.
Comment 4 Alicia Boya García 2018-03-28 13:05:51 PDT
Moved to global expectations in https://trac.webkit.org/changeset/230034/webkit