See https://github.com/w3c/csswg-drafts/issues/548 We need to have styleSheets defined on ShadowRoot.
<rdar://problem/46333290>
Created attachment 356117 [details] Adds the support
Created attachment 356129 [details] Fixed the build
Comment on attachment 356129 [details] Fixed the build Attachment 356129 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/10210311 New failing tests: imported/w3c/web-platform-tests/css/cssom/selectorText-modification-restyle-002.html imported/w3c/web-platform-tests/css/css-scoping/stylesheet-title-002.html
Created attachment 356144 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 356129 [details] Fixed the build Attachment 356129 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/10210315 New failing tests: imported/w3c/web-platform-tests/css/cssom/selectorText-modification-restyle-002.html imported/w3c/web-platform-tests/css/css-scoping/stylesheet-title-002.html
Created attachment 356145 [details] Archive of layout-test-results from ews105 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 356129 [details] Fixed the build Attachment 356129 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/10210493 New failing tests: imported/w3c/web-platform-tests/css/cssom/selectorText-modification-restyle-002.html imported/w3c/web-platform-tests/css/css-scoping/stylesheet-title-002.html
Created attachment 356152 [details] Archive of layout-test-results from ews115 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 356129 [details] Fixed the build Attachment 356129 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/10210822 New failing tests: imported/w3c/web-platform-tests/css/cssom/selectorText-modification-restyle-002.html imported/w3c/web-platform-tests/css/css-scoping/stylesheet-title-002.html
Created attachment 356157 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Created attachment 356210 [details] Rebaselined the tests
r=me
Thanks!
Committed r238758: <https://trac.webkit.org/changeset/238758>