Closed
Bug 846144
Opened 11 years ago
Closed 11 years ago
border-radius not respected on element with background-image: url(), background-size 100%, and at least one transform set.
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: prodigysim, Assigned: mattwoodrow)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files)
1.01 KB,
text/html
|
Details | |
4.07 KB,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20130226 Firefox/21.0 Build ID: 20130226042022 Steps to reproduce: See attached file for a test case. Create an element with the following: 1. Non-zero border-radius with no border (width/style/etc) 2. Background-image in use with a "url()" based value 3. background-size set to "cover", "contain", or "100% [100%]" 4. transform set to any value other than "none". Tested with "scale(1)", "rotate(0deg)", and "translate(0,0)" Actual results: When all of these conditions are met, the border-radius setting is not respected in FF21. Remove the background-size setting or the transform and the issue disappears--as demonstrated in the first two elements in the attached test case. The last element in the test case, which has all the conditions met, gets rendered as a square instead of as a circle. Expected results: Element should be rendered as a circle (respecting border-radius). In my test case, previous versions of firefox (19/20 tested, windows) rendered all three elements as circles.
Attachment #719294 -
Attachment mime type: text/plain → text/html
Last good nightly: 2013-02-14 First bad nightly: 2013-02-15 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=aceeea086ccb&tochange=953b1db7a246
Keywords: regression,
testcase
Reduced range: Last good inbound: 55a453689fb1 First bad inbound: 6b975147c015 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=55a453689fb1&tochange=6b975147c015
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #719378 -
Flags: review?(roc)
Assignee | ||
Updated•11 years ago
|
tracking-firefox21:
--- → ?
Attachment #719378 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f015f387237
Blocks: 815591
Status: UNCONFIRMED → NEW
status-firefox20:
--- → unaffected
tracking-firefox22:
--- → ?
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6f015f387237
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
status-firefox22:
--- → fixed
Updated•11 years ago
|
Updated•11 years ago
|
status-firefox21:
--- → affected
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 719378 [details] [diff] [review] Don't optimize images to an ImageLayer if they have border-radius clipping [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 815591 User impact if declined: Incorrect background clipping in some cases Testing completed (on m-c, etc.): Been on m-c for a few days Risk to taking this patch (and alternatives if risky): Very low risk, just skips the GPU optimized path (and falls back to the regular code path) in situations where the GPU path can't draw the background correctly. String or UUID changes made by this patch: None
Attachment #719378 -
Flags: approval-mozilla-aurora?
Comment 7•11 years ago
|
||
Comment on attachment 719378 [details] [diff] [review] Don't optimize images to an ImageLayer if they have border-radius clipping Approving uplift of a low risk patch, fixing a Fx21 regression.
Attachment #719378 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 719378 [details] [diff] [review] Don't optimize images to an ImageLayer if they have border-radius clipping NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: see bug 815591 Testing completed: landed on central for a while Risk to taking this patch (and alternatives if risky): see bug 815591 String or UUID changes made by this patch: none
Attachment #719378 -
Flags: approval-mozilla-b2g18?
Updated•11 years ago
|
Attachment #719378 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Comment 11•11 years ago
|
||
Backed out for reftest failures. And a reminder, the tree rules still state that people who push to release branches are expected to watch and star their pushes... https://hg.mozilla.org/releases/mozilla-b2g18/rev/7508c5a1026b
Comment 13•11 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 Verified on Firefox 21.0b5, on Windows 7, 64 bits using the provided testcase.
Comment 14•11 years ago
|
||
Maria, can you confirm that you were able to reproduce this bug on an older build? Specifically the Nightly from 2013-02-15 should reproduce this bug. I ask because the bug was reported against Windows 8 and you are testing on Windows 7.
Comment 15•11 years ago
|
||
I'm sorry, I didn't see it was specifically for Windows 8.
Comment 16•11 years ago
|
||
I downloaded the Nightly from 2013-02-05 and tested this bug there, for completeness: nope, I'm not able to reproduce it there. Sorry again for the mistake!
Comment 17•11 years ago
|
||
It's okay, thanks for following up.
You need to log in
before you can comment on or make changes to this bug.
Description
•