Closed
Bug 1065887
Opened 10 years ago
Closed 10 years ago
Uppercase with pseudo :first-letter not working if pseudo :before is used
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 693914
People
(Reporter: ballanz89, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Steps to reproduce:
I have a navigation item that shows up a refresh icon after I'm hover it. Chrome and IE render the first-letter uppercase and Firefox don't, due to the pseudo :before and its "content".
.navigation-item.selected:before {
font-family: 'fontAwesome';
content: "\f021";
font-size: 14px;
position: absolute;
left:-22px;
}
.navigation-item:first-letter {
text-transform: uppercase;
}
.navigation-item.selected:not(.accordion-item):hover {
text-indent: 30px;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
-o-transition: all .4s ease;
-ms-transition: all .4s ease;
transition: all .4s ease;
-webkit-transition-delay: .5s;
/* Safari */
transition-delay: .5s;
}
Actual results:
Firs-letter of the navigation item not uppercase
Expected results:
First-letter uppercase
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•