Open Bug 1095497 Opened 6 years ago Updated 3 years ago

Implement Canvas2D direction attribute

Categories

(Core :: Canvas: 2D, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: fs, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, parity-chrome, parity-safari, Whiteboard: [DocArea=Canvas])

attribute DOMString direction; // "ltr", "rtl", "inherit" (default: "inherit")

"The direction IDL attribute, on getting, must return the current value. On setting, if the value is one of "ltr", "rtl", or "inherit", then the value must be changed to the new value. Otherwise, the new value must be ignored. When the object implementing the CanvasDrawingStyles interface is created, the direction attribute must initially have the value "inherit"."

Blink: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/KWKkTpKiXXM
MDN: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D.direction
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-blink][parity-webkit][DocArea=Canvas] → [DocArea=Canvas]
You need to log in before you can comment on or make changes to this bug.