<?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>153730</bug_id>
          
          <creation_ts>2016-01-31 15:12:00 -0800</creation_ts>
          <short_desc>Gradients without unit specifiers are not interoperable</short_desc>
          <delta_ts>2022-09-29 18:08:55 -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>CONFIGURATION CHANGED</resolution>
          
          
          <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="Dean Jackson">dino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1160681</commentid>
    <comment_count>0</comment_count>
      <attachid>270350</attachid>
    <who name="Dean Jackson">dino</who>
    <bug_when>2016-01-31 15:12:00 -0800</bug_when>
    <thetext>Created attachment 270350
Test case

See https://code.google.com/p/chromium/issues/detail?id=569703
which is talking about whether 0 should be handled as 0deg.

However, it&apos;s even worse. See the examples in the attached file, where
linear-gradient(95deg, red, blue) is ok
but
linear-gradient(95, red, blue) is parsed with 3 colours.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160682</commentid>
    <comment_count>1</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2016-01-31 15:12:42 -0800</bug_when>
    <thetext>smfr says there are also differences in quirks v standards mode</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160683</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-01-31 15:13:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/24430627&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160684</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2016-01-31 15:14:35 -0800</bug_when>
    <thetext>Implementing https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk per spec would maybe fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1233356</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2016-09-26 03:06:29 -0700</bug_when>
    <thetext>cdumez, want to take a stab at this? :-)

Chromium passes the tests
http://w3c-test.org/quirks-mode/hashless-hex-color.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1233465</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-09-26 10:55:23 -0700</bug_when>
    <thetext>Possibly related: bug 155874</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900610</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-23 05:40:31 -0700</bug_when>
    <thetext>There is no difference in attached test case across all other browsers (Chrome Canary 108, Firefox Nightly 107 and Safari Technology Preview 154).

First two square / rectangular has gradient from top to bottom starting from bad and third square / rectangular from the right side to left with same pattern.

Is something further required? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902239</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-09-29 18:08:55 -0700</bug_when>
    <thetext>Let&apos;s say &quot;no&quot;, as identical rendering is interoperable. Someone can file a follow-up bug if needed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>270350</attachid>
            <date>2016-01-31 15:12:00 -0800</date>
            <delta_ts>2016-01-31 15:12:00 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>gradients.html</filename>
            <type>text/html</type>
            <size>606</size>
            <attacher name="Dean Jackson">dino</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICA8dGl0bGU+R3JhZGllbnRzPC90aXRsZT4K
ICA8c3R5bGU+CiAgZGl2IHsKICAgICAgd2lkdGg6IDE1MHB4OwogICAgICBoZWlnaHQ6IDE1MHB4
OwogICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7CiAgICAgIG1hcmdpbjogMTBweDsKICB9Cgog
IGRpdjpudGgtb2YtdHlwZSgxKSB7CiAgICAgIGJhY2tncm91bmQtaW1hZ2U6IGxpbmVhci1ncmFk
aWVudCgwZGVnLCByZWQsIGJsYWNrKTsKICB9CgogIGRpdjpudGgtb2YtdHlwZSgyKSB7CiAgICAg
IGJhY2tncm91bmQtaW1hZ2U6IGxpbmVhci1ncmFkaWVudCgwLCByZWQsIGJsYWNrKTsKICB9Cgog
IGRpdjpudGgtb2YtdHlwZSgzKSB7CiAgICAgIGJhY2tncm91bmQtaW1hZ2U6IGxpbmVhci1ncmFk
aWVudCg5NWRlZywgcmVkLCBibGFjayk7CiAgfQoKICBkaXY6bnRoLW9mLXR5cGUoNCkgewogICAg
ICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQoOTUsIHJlZCwgYmxhY2spOwogIH0K
CiAgPC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KPGRpdj48L2Rpdj4KPGRpdj48L2Rpdj4KPGRpdj48
L2Rpdj4KPGRpdj48L2Rpdj4KCgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>