06:02 | <Domenic> | You can still apply CSS using <?xml-stylesheet?>?? Really? Amazing... https://www.w3.org/Style/Examples/001/doc.xml |
08:09 | <annevk> | I attempted to define that in CSSOM at one point, it should maybe move to HTML |
08:17 | <zcorpan> | Brings back memories... https://www.w3.org/TR/xml-stylesheet/ |
08:17 | <zcorpan> | Wonder if xml-stylesheet in doctype internal subset is interoperable yet |
08:54 | <annevk> | zcorpan: wait what? What does that look like? |
08:57 | <zcorpan> | annevk: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/11194 |
08:59 | <zcorpan> | "For potential xml-stylesheet processing instructions that are in the [children] property of a document type declaration information item, xml-stylesheet processors may report to the application the parsing result of invoking the rules for parsing pseudo-attributes from a string, using the processing instruction information item's [content] property as the string. [Definition: If it is not reported to the application, the processing instruction information item is said to be ignored.]" |
09:01 | <zcorpan> | I wanted to change that to "must not" but that was not allowed according to the WG because some processors didn't ignore them and we'd have to change the version to 2.0 to make such an incompatible change, and then we'd have to introduce versioning because how would processors know which version to use?? |
09:02 | <annevk> | Ugh. Should probably have forked. |
09:02 | <zcorpan> | Worked around it in CSSOM by only processing xml-stylesheets that are children of the document: https://w3c.github.io/csswg-drafts/cssom/#prolog |
09:03 | <zcorpan> | But maybe we can drop CSS support completely, don't know how much it's used |
09:04 | <annevk> | zcorpan: it seems to be supported in Chromium and WebKit btw, not Gecko |
09:05 | <zcorpan> | https://bugs.chromium.org/p/chromium/issues/detail?id=929629 |
12:30 | <annevk> | Ah nice, WebKit bug too. Perhaps it needs some WPT incentive |
21:59 | <Domenic> | https://www.w3.org/Style/Examples/001/doc.xml works in Gecko though? |
22:00 | <Domenic> | I guess you are talking about the <!DOCTYPE html [<?...?>]> pattern specifically |