Changeset 203510 in webkit
- Timestamp:
- Jul 21, 2016, 10:20:44 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/canvas/context-globalCompositeOperation-null-expected.txt (added)
-
LayoutTests/fast/canvas/context-globalCompositeOperation-null.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/canvas/CanvasRenderingContext2D.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203509 r203510 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 Drop [TreatNullAs=EmptyString] from CanvasRenderingContext2D.globalCompositeOperation 4 https://bugs.webkit.org/show_bug.cgi?id=160026 5 6 Reviewed by Sam Weinig. 7 8 Add test coverage. 9 10 * fast/canvas/context-globalCompositeOperation-null-expected.txt: Added. 11 * fast/canvas/context-globalCompositeOperation-null.html: Added. 12 1 13 2016-07-21 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r203505 r203510 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 Drop [TreatNullAs=EmptyString] from CanvasRenderingContext2D.globalCompositeOperation 4 https://bugs.webkit.org/show_bug.cgi?id=160026 5 6 Reviewed by Sam Weinig. 7 8 Drop [TreatNullAs=EmptyString] from CanvasRenderingContext2D.globalCompositeOperation 9 attribute as it does not match the specification: 10 - https://html.spec.whatwg.org/multipage/scripting.html#canvascompositing 11 12 It does not change web-exposed behavior because assigning to "" or "null" 13 gets ignored as those are not valid operations. 14 15 Test: fast/canvas/context-globalCompositeOperation-null.html 16 17 * html/canvas/CanvasRenderingContext2D.idl: 18 1 19 2016-07-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 20 -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl
r201724 r203510 44 44 attribute unrestricted float globalAlpha; 45 45 46 // FIXME: This should not have [TreatNullAs=EmptyString]. 47 [TreatNullAs=EmptyString] attribute DOMString globalCompositeOperation; 46 attribute DOMString globalCompositeOperation; 48 47 49 48 [RaisesException] CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1);
Note:
See TracChangeset
for help on using the changeset viewer.