Closed Bug 155959 Opened 22 years ago Closed 22 years ago

input:before { content: ...; } causes submission problems for text inputs

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 152090
mozilla1.2alpha

People

(Reporter: david_emmerson, Assigned: alexsavulov)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a+) Gecko/20020627
BuildID:    2002062713

Adding a style such as input:before { content: "* "; } causes the text inputs to
break. On submisson, the text in the input is not passed to the action url.

Reproducible: Always
Steps to Reproduce:
1. Go to test url
2. Enter some text into the field
3. Submit the form

Actual Results:  Name=

Expected Results:  Name=text%20in%20box
As with bug 155957, this works in NS 6.2.3 and is a regression if confirmed.
Confirming this one, using trunk build 2002070504 - WinXP.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Sounds like inappropriate use of GetPrimaryFrameFor in the form control code
that was exposed by the fix to bug 141054.
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
-->
Assignee: rods → alexsavulov
Priority: -- → P3
Target Milestone: --- → mozilla1.2alpha

*** This bug has been marked as a duplicate of 152090 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.