Bug 163324 - SVGStyleElement.sheet is undefined
Summary: SVGStyleElement.sheet is undefined
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 10
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on: 242802
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-12 02:00 PDT by akarienta
Modified: 2022-07-15 09:17 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akarienta 2016-10-12 02:00:50 PDT
Property sheet of SVGStyleElement is undefined in Safari Version 10.0 (11602.1.50.0.10). It works properly in Google Chrome Version 53.0.2785.143 (64-bit).

More information including minimal example can be found here: https://github.com/cburgmer/rasterizeHTML.js/issues/158
Comment 1 Christoph Burgmer 2016-10-12 06:27:30 PDT
See https://jsfiddle.net/cburgmer/smea222j/1/ for a test case. The developer console in Chrome reports a parsed rule, while Safari fails for both.
Comment 2 Ahmad Saleem 2022-07-14 09:50:33 PDT
I am able to reproduce this bug in Safari 15.5 on macOS 12.4 based on attached JSFiddle from Comment 01, all other browser output parsed rules but Safari show "undefined". Thanks!
Comment 3 Ryosuke Niwa 2022-07-14 15:37:55 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2430
Comment 4 EWS 2022-07-14 23:37:00 PDT
Committed 252491@main (737ccae0f467): <https://commits.webkit.org/252491@main>

Reviewed commits have been landed. Closing PR #2430 and removing active labels.
Comment 5 Radar WebKit Bug Importer 2022-07-14 23:38:15 PDT
<rdar://problem/97058018>