Hi Team, While looking into WPT Test cases failure, I noticed that we fail `SVG` one while passing CSS one. So just raising so we can investigate and fix it. WPT Test Case (Live Link) - http://wpt.live/svg/styling/style-sheet-interfaces.svg WPT Test Case: https://wpt.fyi/results/svg/styling/style-sheet-interfaces.svg?label=master&label=experimental&aligned Thanks!
Interesting stuff in Web-standard: https://drafts.csswg.org/cssom/#requirements-on-user-agents-implementing-the-xml-stylesheet-processing-instruction
We do fail on `ownerNode` and if I look into `CSSStyleSheet` Interface: https://drafts.csswg.org/cssom/#the-stylesheet-interface Web-Spec says: readonly attribute (Element or ProcessingInstruction)? ownerNode; While we have: readonly attribute Node ownerNode; ___ We don't have it nullable and also not taking ProcessingInstruction into account. I know in the past, I learnt that ProcessingInstruction is also node type. So it is covered by Node but I remember looking into Mozilla Firefox and Chromium / Blink and it was nullable at least.
<rdar://problem/122574381>