WebKit’s API does not offer a way to add a custom HTML element or attribute. You can read the values of attributes but you can’t make setting an attribute have an effect. You can create a custom HTML element, but you can’t make it render any differently than any other unknown element would (renders the same as a <span>, more or less).

That having been said, if there's some point in time where you can walk the DOM and find the attributes, then you may be able to get the effect you want by reading the attribute value and then doing something based on it.

    -- Darin

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to