We don’t currently compute style for active slots. While slots have have implicit display:contents and don’t create boxes themselves the style should still inherit to slotted children. Basically <slot style=“color:red”></slot> should work as expected.
rdar://problem/25238498
Created attachment 275495 [details] patch
Comment on attachment 275495 [details] patch Attachment 275495 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1092099 New failing tests: fast/shadow-dom/css-scoping-shadow-slot-style.html editing/execCommand/justify-right-then-indent-with-problematic-body.html
Created attachment 275496 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 275495 [details] patch Attachment 275495 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1092104 New failing tests: fast/shadow-dom/css-scoping-shadow-slot-style.html editing/execCommand/justify-right-then-indent-with-problematic-body.html
Created attachment 275497 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 275495 [details] patch Attachment 275495 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1092102 New failing tests: fast/shadow-dom/css-scoping-shadow-slot-style.html editing/execCommand/justify-right-then-indent-with-problematic-body.html
Created attachment 275498 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 275495 [details] patch Attachment 275495 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1092115 New failing tests: fast/shadow-dom/css-scoping-shadow-slot-style.html editing/execCommand/justify-right-then-indent-with-problematic-body.html
Created attachment 275499 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 275500 [details] patch
https://trac.webkit.org/r198990