[Webkit-unassigned] [Bug 37208] New: css content set on INPUT pseudo-classes (like :after) do not render

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 7 08:27:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37208

           Summary: css content set on INPUT pseudo-classes (like :after)
                    do not render
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marques at displague.com


An INPUT element will not render content supplied in the style-sheet's :after
or :before pseudo-class for the element.

<html><head><style>#test:before {content:"before"} #test:after
{content:"after"}</style></head><body><form><input id="test"
type="text"></form></body></html>

Of Chrome, IE8, Firefox, and Opera, only Opera rendered the "before" and
"after" text as expected.


Reproducible: Always

Steps to Reproduce:
1. Create an INPUT element
2. Try to add style-sheet content via a :before or :after pseudo-class
Actual Results:  
The pseudo-class content is not rendered.

Expected Results:  
The pseudo-class content should be rendered.

http://www.w3.org/TR/CSS2/selector.html#before-and-after
http://www.w3.org/TR/CSS2/generate.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list