<?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>126195</bug_id>
          
          <creation_ts>2013-12-23 17:28:40 -0800</creation_ts>
          <short_desc>Lift integer restriction on border-image-width and border-image-outset</short_desc>
          <delta_ts>2022-08-20 14:44:48 -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>528+ (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>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>962666</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-23 17:28:40 -0800</bug_when>
    <thetext>Consider merging https://chromium.googlesource.com/chromium/blink/+/69945681720a72bd94a1cb34b3e30d1851aa08a0

border-image-{width,outset} should accept percentages, lengths,
numbers, and auto. A number represents a multiple of the computed
border-width, and should not be restricted to integral values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892685</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-20 12:30:37 -0700</bug_when>
    <thetext>Test Case - border-image-width-numbers-computed-style.html - https://jsfiddle.net/oxwa2m0d/show

*** Safari 15.6.1 on macOS 12.5.1 ***

FAIL elm.borderImageWidth should be 0 5.5 4.4 3.3. Was 0 5.5 4.400000095367432 3.299999952316284.
FAIL elm.borderImageOutset should be 2.5 0 1.4 1.9. Was 2.5 0 1.399999976158142 1.899999976158142.
PASS successfullyParsed is true

*** Safari Technology Preview 151 ***

PASS elm.borderImageWidth is &quot;0 5.5 4.4 3.3&quot;
PASS elm.borderImageOutset is &quot;2.5 0 1.4 1.9&quot;
PASS successfullyParsed is true

*** Chrome Canary 106 ***

PASS elm.borderImageWidth is &quot;0 5.5 4.4 3.3&quot;
PASS elm.borderImageOutset is &quot;2.5 0 1.4 1.9&quot;
PASS successfullyParsed is true

*** Firefox Nightly 105 ***

PASS elm.borderImageWidth is &quot;0 5.5 4.4 3.3&quot;
PASS elm.borderImageOutset is &quot;2.5 0 1.4 1.9&quot;
PASS successfullyParsed is true

________________

Test Case - border-image-width-numbers.html - https://jsfiddle.net/g4c019x5/show

*** Safari 15.6.1 on macOS 12.5.1 ***

Red splashes then &quot;Green&quot; box

*** Safari Technology Preview 151 ***

Red splashes then &quot;Green&quot; box

*** Chrome Canary 106 ***

Red splashes then &quot;Green&quot; box

*** Firefox Nightly 105 ***

Green box

______________

I think at least in STP 151 both issues are fixed now. Should we keep it open or this can be considered fix? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892699</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-20 14:44:48 -0700</bug_when>
    <thetext>Drawing red before the subresource png loads wouldn&apos;t be part of this issue, so marking resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>