[Webkit-unassigned] [Bug 191265] New: .innerHTML() on <style> elements is inconsistent with other browsers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 5 09:04:46 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=191265
Bug ID: 191265
Summary: .innerHTML() on <style> elements is inconsistent with
other browsers
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jase.williams at gmail.com
Created attachment 353867
--> https://bugs.webkit.org/attachment.cgi?id=353867&action=review
Chrome Dev Tools showing Keyframes are parsed
* Steps to Replicate: *
* Navigate to https://codepen.io/jasonwilliams1/pen/NEqWbG using Safari
* Notice the marquee doesn't move
* Description *
Adding @Keyframes to a <style> tag via `.innerHTML()' doesn't seem to work on Safari browsers. Tested on Version 11.1.2 (13605.3.8)
This does however, work on:
Chrome Chrome 70.0.3538
FireFox Developer Edition 64.0b5 (64-bit)
Microsoft Edge 41.16299.15.0
Although .innerHTML() isn't an ideal way of adding styles to an <style> element, this does work in some browsers and not others.
The attachment shows that chrome understands the stylerules once applied
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181105/1ca2e329/attachment.html>
More information about the webkit-unassigned
mailing list