Bug 195026

Summary: [css-values-3] computed value of 'z-index' when specified with calc() function and involving division of integers
Product: WebKit Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, miriam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/css/css-values/calc-z-index-fractions-001.html

Gérard Talbot (no longer involved)
Reported 2019-02-25 16:53:13 PST
Tests ----- calc() and 5 divisions involving integers http://w3c-test.org/css/css-values/calc-integer.html testing z-index: calc(3 / 2) and testing z-index: calc(-3 / 2) http://w3c-test.org/css/css-values/calc-z-index-fractions-001.html Test results - - - - - - https://wpt.fyi/results/css/css-values/calc-integer.html?label=stable https://wpt.fyi/results/css/css-values/calc-integer.html?label=master https://wpt.fyi/results/css/css-values/calc-z-index-fractions-001.html?label=stable https://wpt.fyi/results/css/css-values/calc-z-index-fractions-001.html?label=master Safari 12, Safari Technological Preview and Epiphany Technological Preview (Epiphany Technological Preview 3.31.90-45-ga15d70306 with WebKitGTK 2.23.3) fail all the tests.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-02-26 10:42:51 PST
Miriam Suzanne
Comment 2 2019-05-21 14:22:20 PDT
This will be a very important feature for using custom properties with grids. It has been fixed in Firefox already. Here is a est-case with calc() in the grid-column-end property: https://codepen.io/mirisuzanne/pen/rgYKrd?editors=1100
Ahmad Saleem
Comment 3 2022-10-01 15:14:00 PDT
Safari Technology Preview 154 is still failing this test: http://w3c-test.org/css/css-values/calc-z-index-fractions-001.html and so do Firefox Nightly 107.
Ahmad Saleem
Comment 4 2023-08-27 13:44:33 PDT
*** This bug has been marked as a duplicate of bug 260777 ***
Note You need to log in before you can comment on or make changes to this bug.