<?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>261649</bug_id>
          
          <creation_ts>2023-09-16 22:12:29 -0700</creation_ts>
          <short_desc>CSS container-type does not work correctly on &lt;html&gt; element</short_desc>
          <delta_ts>2023-10-24 00:47:01 -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 16</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=245656</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Šime Vidas">sime.vidas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bramus</cc>
    
    <cc>dev</cc>
    
    <cc>heycam</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1977887</commentid>
    <comment_count>0</comment_count>
    <who name="Šime Vidas">sime.vidas</who>
    <bug_when>2023-09-16 22:12:29 -0700</bug_when>
    <thetext>Steps to reproduce: 

1. Use Safari on desktop
2. Switch to classic scrollbars (Appearance &gt; Show scroll bars: Always)
3. Open https://codepen.io/simevidas/pen/bGOopaN?editors=0100
4. Click the “cause overflow” button

What should have happened: 

The gold bar should have decreased in width to fit into the smaller viewport width due to the classic scrollbar. That is what happens in Chrome and Firefox.

What happened:

The gold bar did not shrink and, as a result, it no longer fits into the viewport.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977924</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-09-17 11:38:57 -0700</bug_when>
    <thetext>Bug 245656 is somewhat related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979613</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-23 22:13:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/115946800&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>