[webkit-dev] Remove webkitDashArray attribute from CanvasRenderingContext2d

Dirk Schulze dschulze at adobe.com
Tue Jan 29 17:46:23 PST 2013


Hi WebKit folks,

I would like to know if we can remove the following API's in the CanvasRenderingContext2d interface:

	webkitDashArray
	webkitLineDashOffset

Both were implemented 16 months ago and replaced by the following standardized, unprefixed operations and attributes 5 months ago:

    setLineDash
    getLineDash
    lineDashOffset

Note that the webkit prefixed attributes were just implemented in JavaScriptCore, no support for V8. Some of the main reason for supporting these attributes 16 months ago were:

- Firefox  supported them
- PDF.js needed them for draw PDFs.

PDF.js checks for the existence of the standardized operations and attributes now and uses them if supported.

Would it be possible to clean up the code a bit more and remove the prefixed attributes?

Greetings,
Dirk


More information about the webkit-dev mailing list