[Webkit-unassigned] [Bug 73573] New: Typing in a text box doesn't work as expected after applying a non-matching css style rule
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 1 10:38:57 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73573
Summary: Typing in a text box doesn't work as expected after
applying a non-matching css style rule
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://www.gocomics.com/peanuts-holiday-countdown
OS/Version: All
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: fam.lam at live.nl
CC: fam.lam at live.nl
(Doesn't happen in Chrome, fails in Safari 5.1.1 and 5.1.2 [didn't test other versions])
Reproduction steps
1. go to http://www.gocomics.com/peanuts-holiday-countdown. Log in with user: adblocktest password: abcdef
2. Type in the comment field: abc,,,cba (don't copy-paste: type)
3. paste the following in the address bar to insert the style element:
javascript:var c=document.createElement("style");c.innerText='div[style]{}';document.documentElement.insertBefore(c,null);
4. Repeat step 2
Before:
The text shows up as expected
After:
The text shown in the textbox is "abc,cba"
Additional information:
- Adding the attribute 'type="text/css"' to the <style> element doesn't help
- The CSS selector doesn't match anything on the page. (and if it would, it doesn't add any rules, it's just {} )
OS: Windows 7 (but also confirmed on OS X 10.5.8)
Extensions: none
--
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