Unable to set CSSStyleRule.style
Confirmed Issue #12271447 • Assigned to Francois R.
Steps to reproduce
This is the edge version of https://bugs.webkit.org/show_bug.cgi?id=164537
Steps to reproduce:
- Load testcase https://bugs.webkit.org/attachment.cgi?id=312230
- Hit F12 and open the Console
- Reload (so you can see the Console.log statements printed by the attachment)
EXPECTED RESULTS:
The final console.log statement should say “After tweaking rule.style: CCC”
ACTUAL RESULTS:
It says BBB instead of CCC (indicating that rule.style assignment failed)
This is about this spec text:
https://drafts.csswg.org/cssom/#the-cssstylerule-interface
The “PutForwards=cssText” in the WebIDL there means that assignments into rule.style should be forwarded to rule.style.cssText (and they should succeed, given valid CSS).
Firefox Nightly 55 & Chrome Dev 60 give EXPECTED RESULTS. (Earlier versions do too, probably; those just happen to be the versions I’ve got handiest)
Edge 15 gives ACTUAL RESULTS.
You need to sign in to your Microsoft account to add a comment.
Sign in