Bug 195026 - [css-values-3] computed value of 'z-index' when specified with calc() function and involving division of integers
Summary: [css-values-3] computed value of 'z-index' when specified with calc() functio...
Status: RESOLVED DUPLICATE of bug 260777
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://wpt.live/css/css-values/calc-z...
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2019-02-25 16:53 PST by Gérard Talbot
Modified: 2023-08-27 13:44 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot 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.
Comment 1 Radar WebKit Bug Importer 2019-02-26 10:42:51 PST
<rdar://problem/48405779>
Comment 2 Miriam Suzanne 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
Comment 3 Ahmad Saleem 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.
Comment 4 Ahmad Saleem 2023-08-27 13:44:33 PDT

*** This bug has been marked as a duplicate of bug 260777 ***