<input> color wrong after DOM relocation and disabled change

Not reproducible Issue #286212

Details

Created
Jun 4, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

==============

Take a look at this JSfiddle:

http://jsfiddle.net/36reW/2/](http://jsfiddle.net/36reW/2/)[http://jsfiddle.net/36reW/2/](http://jsfiddle.net/36reW/2/)

Click “Toggle & Move” and compare the color of the text in the two input fields.

Re-run the fiddle, and click “Toggle Disabled” followed by "Toggle & Move"; compare text color again.

Try editing the content of the moved input field, and observe it changed back to the correct color.

Alternatively, toggling “disabled” twice after moving the element will also do this.

So will selecting some of the text inside.

Note that if you change the javascript so that you toggle “disabled” before doing the appendChild() move instead of after, it makes no difference - the bug still occurs.

Expected Results:

==============

The color of the element’s text should always correctly reflect the value of its “disabled” property.

Actual Results:

==============

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Steps to Reproduce

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Jonathan H.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Jonathan H.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Status from “Won’t fix” to “Fixed”

      Changed Status from “Fixed” to “Won’t fix”

      Changed Status from “Won’t fix” to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in