<?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>197067</bug_id>
          
          <creation_ts>2019-04-18 12:25:03 -0700</creation_ts>
          <short_desc>[css-grid] grid shorthand props contain invalid property values, same even when valid longhand property values provided</short_desc>
          <delta_ts>2019-11-27 05:02:42 -0800</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 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>204508</dup_id>
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Clint Ayres">clinton.ayres</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clinton.ayres</cc>
    
    <cc>jfernandez</cc>
    
    <cc>obrufau</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1528532</commentid>
    <comment_count>0</comment_count>
    <who name="Clint Ayres">clinton.ayres</who>
    <bug_when>2019-04-18 12:25:03 -0700</bug_when>
    <thetext>The following list of shorthand properties all exhibit the same error in that values stored in CSSStyleDeclaration object are invalid.

 - grid
 - grid-area
 - grid-column
 - grid-row
 - grid-template

Simple example for grid-area property:

```
const style = document.createElement(&apos;style&apos;);
document.head.appendChild(style);

style.sheet.insertRule(&apos;.surprise { grid-area: 1 / 2 / 3 / 4; }&apos;);
console.log(style.sheet.cssRules[0].style.gridArea);
```

expected:

```
&gt; &quot;1 / 2 / 3 / 4&quot;
```

actual:

```
&gt; &quot;1 2 3 4&quot;
```

The same type of issue occurs for each of the css grid shorthand properties. Seems possibly related to the char &apos;/&apos; but could be a bad signal too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529041</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-19 22:13:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/50068305&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529546</commentid>
    <comment_count>2</comment_count>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2019-04-23 02:48:44 -0700</bug_when>
    <thetext>I&apos;ll take a look</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1593853</commentid>
    <comment_count>3</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2019-11-27 05:02:42 -0800</bug_when>
    <thetext>The &apos;/&apos; problem has been fixed in bug 204508.
Other problems will be addressed in bug 204611.

*** This bug has been marked as a duplicate of bug 204508 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>