WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
103409
Use render box background over border draw strategy in cases with background-image
https://bugs.webkit.org/show_bug.cgi?id=103409
Summary
Use render box background over border draw strategy in cases with background-...
Justin Novosad
Reported
2012-11-27 07:23:44 PST
Use render box background over border draw strategy in cases with background-image
Attachments
Patch
(3.97 KB, patch)
2012-11-27 07:32 PST
,
Justin Novosad
no flags
Details
Formatted Diff
Diff
Patch
(5.47 KB, patch)
2012-12-05 11:25 PST
,
Justin Novosad
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Justin Novosad
Comment 1
2012-11-27 07:32:18 PST
Created
attachment 176264
[details]
Patch
Simon Fraser (smfr)
Comment 2
2012-11-27 08:49:40 PST
Comment on
attachment 176264
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=176264&action=review
> Source/WebCore/rendering/RenderBox.cpp:924 > + // If there is only one layer and no image, check whether the background color is opaque > + if (!fillLayer->next() && !fillLayer->hasImage()) { > + Color bgColor = style()->visitedDependentColor(CSSPropertyBackgroundColor); > + if (bgColor.isValid() && bgColor.alpha() == 255) > + return true; > + }
What about an alpha image plus an opaque color?
Justin Novosad
Comment 3
2012-11-27 09:21:58 PST
(In reply to
comment #2
)
> > What about an alpha image plus an opaque color?
That could lead to color bleeding of the background color at the anti-aliased edges of rounded corners, so we want to use the TransparencyLayer strategy in that case.
WebKit Review Bot
Comment 4
2012-11-27 18:13:18 PST
Comment on
attachment 176264
[details]
Patch
Attachment 176264
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/15025186
New failing tests: fast/backgrounds/gradient-background-leakage-2.html
WebKit Review Bot
Comment 5
2012-11-27 18:35:26 PST
Comment on
attachment 176264
[details]
Patch
Attachment 176264
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/15031059
New failing tests: fast/backgrounds/gradient-background-leakage-2.html
Justin Novosad
Comment 6
2012-12-05 11:25:40 PST
Created
attachment 177800
[details]
Patch
Justin Novosad
Comment 7
2012-12-12 07:57:55 PST
Review ping.
WebKit Review Bot
Comment 8
2012-12-12 09:12:38 PST
Comment on
attachment 177800
[details]
Patch Clearing flags on attachment: 177800 Committed
r137473
: <
http://trac.webkit.org/changeset/137473
>
WebKit Review Bot
Comment 9
2012-12-12 09:12:42 PST
All reviewed patches have been landed. Closing bug.
Adam Klein
Comment 10
2012-12-12 09:50:57 PST
Is there any chance that this would cause image diffs where background-image is not involved? I'm seeing slight diffs in the calendar picker after this change:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=platform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fcalendar-picker-appearance.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fcalendar-picker-appearance-ru.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fweek-picker-appearance-step.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fmonth-picker-appearance-step.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fweek-picker-appearance.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fmonth-picker-appearance.html%2Cplatform%2Fchromium%2Ffast%2Fforms%2Fcalendar-picker%2Fcalendar-picker-appearance-step.html
Adam Klein
Comment 11
2012-12-12 11:10:47 PST
Filed
bug 104825
to track the image diffs in calendar-picker.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug