Closed
Bug 168740
Opened 22 years ago
Closed 22 years ago
value of content property repeated :after label
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 141289
People
(Reporter: sean, Assigned: dbaron)
Details
Attachments
(1 file)
421 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
The value of the content property set in a rule whose selector is the
label:after pseudo element is repeated in the display.
Reproducible: Always
Steps to Reproduce:
1. Create a document according to the details and the testcase
2. View the document
3. Observe that the generated content incorrectly occurs twice when the page is
viewed.
Actual Results:
generated content appears twice
Expected Results:
generated content should appear once
Here's a testcase:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Strict 1.0//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>label after content test</title>
<style type="text/css">
label:after {
content: ': ';
}
</style>
</head>
<body>
<form>
<label for="inputElement">inputElement</label>
<input type="text" id="inputElement" name="inputElement" />
</form>
</body>
</html>
Assignee | ||
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 141289 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 2•22 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•