Summary: | REGRESSION (r94016): Element with visibility:hidden but visible descendant may not be properly repainted | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | hrant.novikov | ||||||||
Component: | Layout and Rendering | Assignee: | Julien Chaffraix <jchaffraix> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ap, hyatt, jchaffraix, simon.fraser, webkit.review.bot | ||||||||
Priority: | P1 | Keywords: | HasReduction, Regression | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
URL: | http://stackoverflow.com/questions/8568673/is-there-a-bug-in-chromes-css-visibility-rendering | ||||||||||
Attachments: |
|
Description
hrant.novikov
2012-01-11 16:50:55 PST
Regression range: <http://trac.webkit.org/log/trunk/?rev=94017&stop_rev=94008>, meaning it's <http://trac.webkit.org/changeset/94016>. Created attachment 122290 [details]
test case
Same test as an attachment.
Created attachment 122758 [details]
Proposed fix: correct the optimization to not forget some cases.
Is this different to the fix I made yesterday, http://trac.webkit.org/changeset/105471 ? (In reply to comment #4) > Is this different to the fix I made yesterday, http://trac.webkit.org/changeset/105471 ? Yes. This bug does not involve composited layers at all and is about scrolling. Simon, could you look at this patch when you have a minute? I really would like to knock this regression out. Comment on attachment 122758 [details] Proposed fix: correct the optimization to not forget some cases. View in context: https://bugs.webkit.org/attachment.cgi?id=122758&action=review > LayoutTests/fast/layers/scroll-no-visible-content-but-visible-descendant.html:28 > +<div style="overflow: hidden; visibility: hidden;" id="outerDiv"> > + <div style="position: relative; background: red; visibility: visible;"></div> > + <div style="position: relative; overflow: hidden; visibility: visible;"> > + <div style="background: green"></div> > + </div> I'd prefer the style to not be inline, and use descriptive class names. Created attachment 124438 [details]
Patch for landing
Comment on attachment 124438 [details] Patch for landing Clearing flags on attachment: 124438 Committed r106191: <http://trac.webkit.org/changeset/106191> All reviewed patches have been landed. Closing bug. |