Re: [webkit-dev] [svg] rect with invalid stroke value
Nikolas Zimmermann: We had 'none' for years, until compatibility bugs were raised, as Opera uses black as default stroke, if there is any error. Doesn’t seem to be the case any more, at least for Opera 10.53: http://livedom.validator.nu/?%3C!DOCTYPE%20html%3E%0D%0A%3Csvg%20width%3D'100'%20height%3D'100'%3E%3Ccircle%20cx%3D'50'%20cy%3D'50'%20r%3D'30'%20fill%3D'yellow'%20stroke%3D'xxx'%20stroke-width%3D'4'%2F%3E%3C%2Fsvg%3E Note the stroke=xxx. Firefox nightlies behave the same. -- Cameron McCormack ≝ http://mcc.id.au/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] XML Processor Profiles WebKit
The XML Processing Model Working Group at the W3C has been recently working on XML processor profiles as part of our subsequent work after the XProc recommendation. There is currently a draft at: http://www.w3.org/TR/xml-proc-profiles/ I distinctly want one of the XML processor profiles to be that which a web browser does when processing XML content. I've been doing some research as to how WebKit uses libXML to process XML and here's what I've reported back to the XProc working group so far: * does not read the external subset. * does read the internal subset and provide any attribute normalization as specified per the XML recommendation for non-validating parsers. * does default attributes read in the internal subset. * does process and xml:base attributes properly * does not process ID/IDREF to allow DOM's getElementById() to work. * does not process xml:id attributes to allow DOM's getElementById() to work. * reports all whitespace as text nodes in the DOM regardless of what is in the internal subset. While I'd like xml:id and/or ID/IDREF to work along with the DOM's getElementById(), I'm not sure about the historical or technical contexts as to why they currently do not. Basically, the profile would be much like what is described as the minimum XML processor profile except that reading the external subset would not be required. Thoughts? We could certain ask for more. I'm curious about xml:id handling. I know there is also a bit of XLink supported for SVG use but it is also incomplete. If you all had to define an XML Processor Profile for WebKit, what would you want it to do? -- --Alex Milowski The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered. Bertrand Russell in a footnote of Principles of Mathematics ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] HTML5 tokenizer landing soon
Oliver, I certainly don't want you to be sad. We spent a little more time on performance in https://bugs.webkit.org/show_bug.cgi?id=40592. I've now measured the top-of-tree performance more carefully, and it looks like the HTML5 parser is roughly a 5% speedup on the parsing benchmark [1]. Nice! Geoff ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev