CSS zoom for pseudo-element's images is applied twice
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: ntrrgc, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
Steps to reproduce:
Here is the code for the repro:
<!DOCTYPE html>
<html>
<head>
<title>CSS zoom ::before image</title>
</head>
<body>
<div class="icon"></div>
<div class="icon zoom"></div>
<style>
.icon {
width: 400px;
height: 400px;
background-color: rgb(225, 223, 214);
margin-right: 5px;
display: inline-block;
vertical-align: top;
}
.icon::before {
display: block;
content: url(icon.png);
width: 100px;
height: 100px;
background-color: rgb(239, 215, 152);
}
.zoom::before {
zoom: 2;
}
</style>
</body>
</html>
Actual results:
The image in the second div::before is scaled to 4 times its size.
Expected results:
The image in the second div::before should have been scaled to 2 times its size.
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
Comment 1•9 months ago
|
||
Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=9a3212e6834b651665697e4814a642085e31f22d&tochange=a7519f7b264ccb39d5a6f9ff1f9371f3febedebf
Comment 2•9 months ago
|
||
Set release status flags based on info from the regressing bug 1876541
| Assignee | ||
Comment 3•9 months ago
|
||
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 4•9 months ago
|
||
Updated•9 months ago
|
Updated•8 months ago
|
Comment 7•8 months ago
|
||
| bugherder | ||
Updated•8 months ago
|
Comment 9•8 months ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox142towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 10•8 months ago
|
||
I think the fix is trivial-ish but it's an old regression, so...
Description
•