Updating style tag's textContent resets disabled flag
Reported by
b...@simpla.io,
Nov 23 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 Steps to reproduce the problem: 1. Add a style tag to the head / body 2. Set `disabled` to true on that style tag 3. Set textContent to any valid CSS value in that style tag What is the expected behavior? The styles should not be applied to the document, and the disabled property on the style tag should be true. What went wrong? The style tag's disabled property is reset back to false, and the stylesheet is applied to the document. Did this work before? N/A Does this work in other browsers? No The exact same behaviour can be seen in FireFox, Safari and Safari Mobile. The behaviour doesn't appear to exist in IE 11 or Edge. Chrome version: 54.0.2840.98 Channel: stable OS Version: OS X 10.12.1 Flash Version: Shockwave Flash 23.0 r0 https://jsbin.com/dopawirici/edit?html,output
,
Nov 24 2016
Confirmed. Priority is low because 'disabled' property is no standardized. https://html.spec.whatwg.org/multipage/semantics.html#the-style-element
,
Nov 24 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 27 2017
,
Nov 27
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 3
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ligim...@chromium.org
, Nov 23 2016