Closed
Bug 547209
Opened 16 years ago
Closed 16 years ago
Need a syntax to set right -10px/em and bottom -10px/em in background-position
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 522607
People
(Reporter: cork, Unassigned)
Details
Attachments
(1 file)
|
2.24 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a2pre) Gecko/20100218 Minefield/3.7a2pre Firefox/3.6
Build Identifier:
When adding background images in an element usually you use extra pixels in the image to add offsets from the right. That is a waist of data and with gradients this isn't possible.
Reproducible: Always
Steps to Reproduce:
1. Load the attached testcase
2. Look at the extra markup in the code '<div class="right-bg"></div>'. This code is only needed to be able to place the gradients at an offset from the right
Actual Results:
You need to add extra markup to the html to be able to have backgrounds at en offset from the right.
Expected Results:
A syntax to express a px or em offset from the right or bottom of the element.
Comment 2•16 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•