WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
231516
[GTK][WPE] fast/css/calc-parsing.html test fails for the hypot() function
https://bugs.webkit.org/show_bug.cgi?id=231516
Summary
[GTK][WPE] fast/css/calc-parsing.html test fails for the hypot() function
Arcady Goldmints-Orlov
Reported
2021-10-11 10:23:32 PDT
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"
Attachments
Add attachment
proposed patch, testcase, etc.
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