<?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>190753</bug_id>
          
          <creation_ts>2018-10-19 09:12:52 -0700</creation_ts>
          <short_desc>&apos;all&apos; shorthand not serialized in cssText</short_desc>
          <delta_ts>2022-10-09 14:15:59 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=190496</see_also>
    
    <see_also>https://github.com/web-platform-tests/wpt/pull/36290</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>216170</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Oriol Brufau">obrufau</reporter>
          <assigned_to name="Oriol Brufau">obrufau</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1470876</commentid>
    <comment_count>0</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2018-10-19 09:12:52 -0700</bug_when>
    <thetext>Run this code:

  document.body.style.cssText = &quot;all: inherit&quot;;
  document.body.style.cssText;

Expected result:

  &quot;all: inherit;&quot;

Actual result:

  &quot;color: inherit; display: inherit; font-family: inherit; font-feature-settings: inherit; .....

Specifications:
https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block
https://drafts.csswg.org/css-cascade/#all-shorthand

Works in Firefox and Chromium.

This would be fixed by bug 190496.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887032</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-27 04:03:22 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari 15.6 on macOS 12.5 and all other browsers (Chrome Canary 106 and Firefox Nightly 105) show expected output from Comment 0. While Safari show &quot;Actual Result&quot; from Comment 0. Just wanted to update latest results. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887217</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-27 17:59:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/97694235&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902876</commentid>
    <comment_count>3</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-10-03 09:38:55 -0700</bug_when>
    <thetext>I no longer think this needs bug 190496. Probably it&apos;s just a matter of adding CSSPropertyAll into the &apos;shorthands&apos; vector in  StyleProperties::asTextInternal.
https://searchfox.org/wubkat/rev/e8e9be7353991aee7df45aa62f0e0148f16e6f9f/Source/WebCore/css/StyleProperties.cpp#1616</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903419</commentid>
    <comment_count>4</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-10-05 07:38:28 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5029</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904391</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-09 14:15:57 -0700</bug_when>
    <thetext>Committed 255329@main (4481e38af645): &lt;https://commits.webkit.org/255329@main&gt;

Reviewed commits have been landed. Closing PR #5029 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>