<?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>129157</bug_id>
          
          <creation_ts>2014-02-21 11:09:12 -0800</creation_ts>
          <short_desc>Background color of a div masks content of child divs</short_desc>
          <delta_ts>2022-11-01 02:00:35 -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>525.x (Safari 3.2)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.9</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Mercadal">antoine.mercadal</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>983256</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Mercadal">antoine.mercadal</who>
    <bug_when>2014-02-21 11:09:12 -0800</bug_when>
    <thetext>[This is a copy of the Chromium Bug report I did yesterday: https://code.google.com/p/chromium/issues/detail?id=345532]

Reduction case

Steps to reproduce the problem:
1. Open index-debug.html the attached test case (use a small webserver or --disable-web-security to allow local XHR requests) simply double clicking on the file won&apos;t work

1.1. Observe that only a grey box is visible on a big red background
1.2 click the &quot;Remove Color&quot; Button (this will remove the background div bg color)
1.3 Observer that the text (that is inside a div inside the background div) become visible
1.4 click the &quot;Add Color&quot; button, for some reasons the text is masked (by a bg color, of an ancestor div...)

Do not click on &quot;Hide Box&quot;, this button is here to demonstrate the bug in Google&apos;s Blink, where the almost same bug, but hiding the box actually makes it work, while in safari, it doesn&apos;t)
For reeference, this is the Chromium bug report: https://code.google.com/p/chromium/issues/detail?id=345532

You can also play with the DOM inspector, to remove the red bg color, or set the overflow to be visible in the div with tag data-cappuccino-view=&quot;TNTabView&quot;. Both actions allows the text to be visible.

What is the expected behavior?
content of a div should not be masked by some weird stuff.


It fails almost the same way on latest version of Chrome 33, but works great on Firefox</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909520</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-11-01 02:00:35 -0700</bug_when>
    <thetext>Fixed in - https://src.chromium.org/viewvc/blink?revision=168634&amp;view=revision</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>