| Summary: | [GTK][WPE] fast/css/calc-parsing.html test fails for the hypot() function | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Arcady Goldmints-Orlov <crzwdjk> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | nmouchtaris |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
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"