<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>169612</bug_id>
          
          <creation_ts>2017-03-14 10:23:27 -0700</creation_ts>
          <short_desc>Computed value of display:contents is wrong</short_desc>
          <delta_ts>2021-03-25 16:04:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari 10</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>FromImplementor, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>157477</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mats Palmgren">MatsPalmgren_bugz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>emilio</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>samuelmtimbo</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1287652</commentid>
    <comment_count>0</comment_count>
      <attachid>304391</attachid>
    <who name="Mats Palmgren">MatsPalmgren_bugz</who>
    <bug_when>2017-03-14 10:23:27 -0700</bug_when>
    <thetext>Created attachment 304391
Testcase

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

ACTUAL RESULTS
&quot;contents&quot;
&quot;inline&quot;

EXPECTED RESULTS
&quot;&quot;
&quot;block&quot;

Safari does not support display:contents (the rendered red border proves that)
so &apos;contents&apos; should be rejected as a valid value for the &apos;display&apos; property.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1288456</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-03-15 21:57:54 -0700</bug_when>
    <thetext>&lt;rdar://problem/31082273&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743961</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-03-25 16:04:09 -0700</bug_when>
    <thetext>This looks fixed in Safari 14 &amp; STP.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>304391</attachid>
            <date>2017-03-14 10:23:27 -0700</date>
            <delta_ts>2017-03-14 10:23:27 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>xx.html</filename>
            <type>text/html</type>
            <size>175</size>
            <attacher name="Mats Palmgren">MatsPalmgren_bugz</attacher>
            
              <data encoding="base64">PGRpdiBpZD0ieCIgc3R5bGU9ImRpc3BsYXk6IGNvbnRlbnRzOyBib3JkZXI6IDFweCBzb2xpZCBy
ZWQiPmFhYTwvZGl2PgoJPHByZT48c2NyaXB0PgoJICBjb25zb2xlLmxvZyh4LnN0eWxlLmRpc3Bs
YXkpOwoJICBjb25zb2xlLmxvZyhnZXRDb21wdXRlZFN0eWxlKHgpLmRpc3BsYXkpOwoJPC9zY3Jp
cHQ+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>