[Webkit-unassigned] [Bug 129157] New: Background color of a div masks content of child divs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 21 11:12:03 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=129157
Summary: Background color of a div masks content of child divs
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: Macintosh
OS/Version: Mac OS X 10.9
Status: NEW
Severity: Major
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: antoine.mercadal at inframonde.eu
[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't work
1.1. Observe that only a grey box is visible on a big red background
1.2 click the "Remove Color" 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 "Add Color" button, for some reasons the text is masked (by a bg color, of an ancestor div...)
Do not click on "Hide Box", this button is here to demonstrate the bug in Google's Blink, where the almost same bug, but hiding the box actually makes it work, while in safari, it doesn'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="TNTabView". 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
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list