Avoid setting inline style for the element when reset applied

Followup: Ic3baa18b01a972f08e51e84217e82d0939e674c0 and
	Iff522e0016d8284dc785580e6eb3dd2967c58289
Bug: 39992

Change-Id: Ifd8c4629f5512f6d54fc0a19d3b8d2bec4db23c0