Bug 169612 - Computed value of display:contents is wrong
Summary: Computed value of display:contents is wrong
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 10
Hardware: All OS X 10.11
: P2 Major
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar
Depends on: 157477
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-14 10:23 PDT by Mats Palmgren
Modified: 2021-03-25 16:04 PDT (History)
6 users (show)

See Also:


Attachments
Testcase (175 bytes, text/html)
2017-03-14 10:23 PDT, Mats Palmgren
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mats Palmgren 2017-03-14 10:23:27 PDT
Created attachment 304391 [details]
Testcase

STR
1. load the attached testcase and look at the output in the console

ACTUAL RESULTS
"contents"
"inline"

EXPECTED RESULTS
""
"block"

Safari does not support display:contents (the rendered red border proves that)
so 'contents' should be rejected as a valid value for the 'display' property.
Comment 1 Radar WebKit Bug Importer 2017-03-15 21:57:54 PDT
<rdar://problem/31082273>
Comment 2 Tim Nguyen (:ntim) 2021-03-25 16:04:09 PDT
This looks fixed in Safari 14 & STP.