[Webkit-unassigned] [Bug 231516] New: [GTK][WPE] fast/css/calc-parsing.html test fails for the hypot() function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 11 10:23:32 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231516

            Bug ID: 231516
           Summary: [GTK][WPE] fast/css/calc-parsing.html test fails for
                    the hypot() function
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: agoldmints at igalia.com

Some of the hypot() subtests are failing on GTK and WPE, though interestingly not all the GTK and WPE bots. In particular, certain cases that should be errors are instead being parsed successfully:

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/css/calc-parsing-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/css/calc-parsing-actual.txt
@@ -193,12 +193,12 @@
 PASS getComputedStyle(element).getPropertyValue('width') is "999px"

 element.style["width"] = "hypot(2px, 40%)"
-PASS element.style['width'] is "999px"
-PASS getComputedStyle(element).getPropertyValue('width') is "999px"
+FAIL element.style['width'] should be 999px. Was hypot(2px, 40%).
+FAIL getComputedStyle(element).getPropertyValue('width') should be 999px. Was 40.046875px.

 element.style["width"] = "hypot(2px, 3)"
-PASS element.style['width'] is "999px"
-PASS getComputedStyle(element).getPropertyValue('width') is "999px"
+FAIL element.style['width'] should be 999px. Was hypot(2px, 3).
+FAIL getComputedStyle(element).getPropertyValue('width') should be 999px. Was 3.59375px.

 element.style["width"] = "hypot(3, ,4)"
 PASS element.style['width'] is "999px"
@@ -453,12 +453,12 @@
 PASS getComputedStyle(element).getPropertyValue('min-width') is "999px"

 element.style["min-width"] = "hypot(2px, 40%)"
-PASS element.style['min-width'] is "999px"
-PASS getComputedStyle(element).getPropertyValue('min-width') is "999px"
+FAIL element.style['min-width'] should be 999px. Was hypot(2px, 40%).
+FAIL getComputedStyle(element).getPropertyValue('min-width') should be 999px. Was 40.04996871948242px.

 element.style["min-width"] = "hypot(2px, 3)"
-PASS element.style['min-width'] is "999px"
-PASS getComputedStyle(element).getPropertyValue('min-width') is "999px"
+FAIL element.style['min-width'] should be 999px. Was hypot(2px, 3).
+FAIL getComputedStyle(element).getPropertyValue('min-width') should be 999px. Was 3.605551242828369px.

 element.style["min-width"] = "hypot(3, ,4)"
 PASS element.style['min-width'] is "999px"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211011/600888e5/attachment.htm>


More information about the webkit-unassigned mailing list