Bug 191507 - [css-grid] Incorrect layout when using absolutely positioned grid containers and relative sized tracks
Summary: [css-grid] Incorrect layout when using absolutely positioned grid containers ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-10 16:13 PST by Javier Fernandez
Modified: 2021-03-22 13:08 PDT (History)
6 users (show)

See Also:


Attachments
Test case to reproduce the issue (811 bytes, text/html)
2018-11-10 16:13 PST, Javier Fernandez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Fernandez 2018-11-10 16:13:13 PST
Created attachment 354481 [details]
Test case to reproduce the issue

Steps to reproduce the issue:

1- load the attached test case

What is the expected behavior?
The grid case is rendered like the flexible box one.
Firefox, Edge and Chrome have this behavior.

What went wrong ?
The grid row tracks are sized as if they were auto, ignoring the percentage value.
Comment 1 Lauro Moura 2021-03-22 13:08:25 PDT
Since r272302, the test case shows up like the other browsers and the layout test is passing[1].

[1] https://results.webkit.org/?suite=layout-tests&test=fast%2Fcss-grid-layout%2Fpositioned-grid-container-percentage-tracks.html