WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 37241
78162
With opaque borders, RenderBoxModelObject should avoid tiled drawing of the background image
https://bugs.webkit.org/show_bug.cgi?id=78162
Summary
With opaque borders, RenderBoxModelObject should avoid tiled drawing of the b...
Matthew Delaney
Reported
2012-02-08 15:23:01 PST
Consider these two cases: 1) data:text/html,%3Cdiv%20style=%22height:300px;width:300px;background-image:-webkit-repeating-linear-gradient(top%20left,%20red%2010%25,%20blue%2030%25);border:10px%20solid%22%3E 2) data:text/html,%3Cdiv%20style=%22height:300px;width:300px;background-image:-webkit-repeating-linear-gradient(top%20left,%20red%2010%25,%20blue%2030%25);border:10px%20solid%20transparent%22%3E The only difference is that 1) has a black fully-opaque border and 2) is transparent. In either case, we always draw in the 9-tile case (with the tiles behind the border). Most often, borders are opaque which would save us a bit of work to avoid drawing the full pattern.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-02-08 17:34:47 PST
<
rdar://problem/10832889
>
Simon Fraser (smfr)
Comment 2
2012-02-08 23:47:51 PST
*** This bug has been marked as a duplicate of
bug 37241
***
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