New issue
Advanced search Search tips

Issue 898247 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Sometimes background failed to paint on both the scrolling container and contents layers

Project Member Reported by wangxianzhu@chromium.org, Oct 23

Issue description

Chrome Version: ToT
OS: All

What steps will reproduce the problem?
(1) Open the attached test case

What is the expected result?
The two divs should look identical except for the scrollbars.

What happens instead?
The top div misses the background overlapping with the dashed border.

 
background-on-both-layers.html
424 bytes View Download
Description: Show this description
Owner: flackr@chromium.org
Status: Started (was: Available)
https://chromium-review.googlesource.com/c/chromium/src/+/1297173
Status: Fixed (was: Started)
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8bdabacf5fad45ba3ece42a2f75df13234a66302

commit 8bdabacf5fad45ba3ece42a2f75df13234a66302
Author: Robert Flack <flackr@chromium.org>
Date: Tue Oct 23 21:19:31 2018

Consider non-solid borders see-through for background paint location.

Backgrounds must paint under the border when the border is not solid
even if the border color is opaque.

Bug:  898247 
Change-Id: I1eed15b9c17b22cd0ddba65073638a1f8a16c30d
Reviewed-on: https://chromium-review.googlesource.com/c/1297173
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602100}
[modify] https://crrev.com/8bdabacf5fad45ba3ece42a2f75df13234a66302/third_party/blink/renderer/core/layout/layout_box_model_object.cc
[modify] https://crrev.com/8bdabacf5fad45ba3ece42a2f75df13234a66302/third_party/blink/renderer/core/paint/paint_layer_scrollable_area_test.cc

Sign in to add a comment