LayoutTests:
[WebKit-https.git] / LayoutTests / ChangeLog
1 2007-10-19  David Kilzer  <ddkilzer@webkit.org>
2
3         Reviewed by Darin.
4
5         Provide the functionality of js-test-post.js in a function named isSuccessfullyParsed().
6
7         * fast/encoding/char-encoding.html: Updated to use js-test-post-function.js instead of local hack.
8         * fast/js/resources/js-test-post-function.js: Copied from LayoutTests/fast/js/resources/js-test-post.js.
9         Modified to create isSuccessfullyParsed() function.
10
11 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
12
13         Rubber-stamped by Mark Rowe.
14
15         removing tests that no longer fail
16
17         * platform/mac-leopard/Skipped:
18
19 2007-10-18  Justin Garcia  <justin.garcia@apple.com>
20
21         Reviewed by Kevin McCullough.
22         
23         <rdar://problem/5483526> 
24         GoogleDocs: A hang occurs when applying list styling to a selection containing a table and line breaks
25         
26         Demonstrates fix for the hang:
27         * editing/execCommand/5483526-expected.txt: Added.
28         * editing/execCommand/5483526.html: Added.
29         
30         Fixed selection endpoint (problems with selection painting prevent this
31         from being reflected in the pixel test results):
32         * platform/mac/editing/execCommand/5432254-2-expected.txt:
33
34 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
35
36         Reviewed by Adam Roben.
37
38         - removing fixed test
39
40         * platform/mac-leopard/Skipped:
41
42 2007-10-18  Darin Adler  <darin@apple.com>
43
44         Reviewed by Sam.
45
46         - test update for http://bugs.webkit.org/show_bug.cgi?id=15541
47           REGRESSION (r26616): prompt with one argument uses the literal "undefined" as default reply
48
49         * fast/dom/Window/alert-undefined-expected.txt: Back to expecting empty string for default value.
50
51 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
52
53         Reviewed by Nikolas Zimmermann.
54
55         - test for http://bugs.webkit.org/show_bug.cgi?id=15367
56           Assertion failure inspecting a document including soft hyphen code (0xad)
57
58         * fast/text/word-break-soft-hyphen.html: Added.
59         * platform/mac/fast/text/word-break-soft-hyphen-expected.checksum: Added.
60         * platform/mac/fast/text/word-break-soft-hyphen-expected.png: Added.
61         * platform/mac/fast/text/word-break-soft-hyphen-expected.txt: Added.
62
63 2007-10-18  Nikolas Zimmermann  <zimmermann@kde.org>
64
65         Reviewed by Anders.
66
67         Regenerated result of following test, now that ImageBuffers are correctly clipped to the
68         visible frame size (RenderView) - no more drawing outside that region.
69
70         * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.checksum:
71         * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.png:
72
73 2007-10-18  Eric Seidel  <eric@webkit.org>
74
75         Reviewed by Maciej.
76         
77         Test case for http://bugs.webkit.org/show_bug.cgi?id=15504
78         Landed -disabled as it's blocked by:
79         http://bugs.webkit.org/show_bug.cgi?id=15503
80
81         * fast/js/resources/js-test-post.js: add support for XHTML
82         * fast/js/resources/js-test-pre.js: add support for XHTML
83         * svg/dom/viewspec-parser.html-disabled: Added.
84
85 2007-10-17  Rob Buis  <buis@kde.org>
86
87         Reviewed by Darin, Adam, and Maciej.
88
89         Testcase for:
90         http://bugs.webkit.org/show_bug.cgi?id=12988
91         First element (in document order) is not returned when other duplicate ID-ed elements were created first
92
93         * fast/dom/duplicate-ids-document-order.html: Added.
94
95 2007-10-17  Alice Liu  <alice.liu@apple.com>
96
97         Rubber-stamped by Adele.
98
99         Correct uses of initKeyboardEvent for tests that test accesskey.
100         Accesskey modifier is ctrl for mac and alt for other platforms.  
101
102         * fast/events/access-key-self-destruct.html:
103         * fast/forms/access-key.html:
104         * fast/forms/legend-access-key.html:
105
106 2007-10-17  Darin Adler  <darin@apple.com>
107
108         Reviewed by Mark Rowe.
109
110         - test for http://bugs.webkit.org/show_bug.cgi?id=15543
111           <rdar://problem/5545639> REGRESSION (r26697):
112           GoogleDocs: Can't create new documents or open existing ones
113
114         * fast/js/regexp-non-character-expected.txt: Added.
115         * fast/js/regexp-non-character.html: Added.
116         * fast/js/resources/regexp-non-character.js: Added.
117
118 2007-10-17  Justin Garcia  <justin.garcia@apple.com>
119
120         Reviewed by Harrison.
121
122         <rdar://problem/5481523> 
123         GoogleDocs: Safari hangs when indenting a particular table twice
124
125         * editing/execCommand/5481523.html: Added.
126         * platform/mac/editing/execCommand/5481523-expected.checksum: Added.
127         * platform/mac/editing/execCommand/5481523-expected.png: Added.
128         * platform/mac/editing/execCommand/5481523-expected.txt: Added.
129
130 2007-10-16  Alice Liu  <alice.liu@apple.com>
131
132         removing fixed tests
133
134         * platform/win/Skipped:
135
136 2007-10-16  Alice Liu  <alice.liu@apple.com>
137
138         Rubber-stamped by Adele.
139
140         fixing incorrect usage of JS String search method.
141
142         * editing/deleting/delete-by-word-001.html:
143         * editing/deleting/delete-by-word-002.html:
144         * fast/forms/input-text-option-delete.html:
145         * fast/forms/listbox-onchange.html:
146         * fast/forms/listbox-selection.html:
147
148 2007-10-16  Geoffrey Garen  <ggaren@apple.com>
149
150         Reviewed by Maciej Stachowiak.
151         
152         Layout tests for http://bugs.webkit.org/show_bug.cgi?id=15478
153         Declare vars and functions iteratively upon entering an execution context
154
155         * fast/js/function-declarations-expected.txt: Added.
156         * fast/js/function-declarations.html: Added.
157         * fast/js/var-declarations-expected.txt: Added.
158         * fast/js/var-declarations.html: Added.
159
160 2007-10-16  Alice Liu  <alice.liu@apple.com>
161
162         Reviewed by Adele.
163
164         Fix <rdar://5134108> "fast/forms/select-accesskey.html and focus-selection-input.html fail on Windows"  
165
166         Adding code to choose the right accesskey modifier based on a useragent check for existance of mac platform. 
167         * fast/forms/focus-selection-input.html:
168         * fast/forms/select-accesskey.html:
169
170 2007-10-16  Darin Adler  <darin@apple.com>
171
172         Reviewed by Adele.
173
174         - http://bugs.webkit.org/show_bug.cgi?id=15533
175           some tests have hard-coded Mac-specific modifier keys
176
177         - <rdar://problem/5102974> Layout tests fail on Windows because
178           they have hard-coded Mac-specific modifier keys
179         - <rdar://problem/5075449> fast/forms/listbox-onchange.html
180           is failing on Windows due to modifier key differences
181         - <rdar://problem/5134134> test 12 in fast/forms/listbox-selection.html
182           fails on Windows
183
184         * editing/deleting/delete-by-word-001.html: Use control key instead of alt key to
185         delete a word on non-Mac platforms. Also use character 8 instead of 127.
186         * editing/deleting/delete-by-word-002.html: Ditto.
187         * fast/forms/input-text-option-delete.html: Ditto.
188         * fast/forms/listbox-onchange.html: Use control key instead of meta key to toggle
189         a single list item on non-Mac platforms.
190         * fast/forms/listbox-selection.html: Ditto.
191
192 2007-10-16  Mitz Pettel  <mitz@webkit.org>
193
194         Reviewed by Dave Hyatt.
195
196         - test for http://bugs.webkit.org/show_bug.cgi?id=15296
197           REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.
198
199         * fast/block/float/marquee-shrink-to-avoid-floats.html: Added.
200         * platform/mac/fast/block: Added.
201         * platform/mac/fast/block/float: Added.
202         * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.checksum: Added.
203         * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.png: Added.
204         * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt: Added.
205
206 2007-10-16  Beth Dakin  <bdakin@apple.com>
207
208         Reviewed by Darin.
209
210         Fix for <rdar://problem/5517118> REGRESSION: 9A570 - Safari renders 
211         Amazon seller page way too small
212
213         * fast/css/pendingStylesheetFontSize.html: Added.
214         * platform/mac/fast/css/pendingStylesheetFontSize-expected.checksum: Added.
215         * platform/mac/fast/css/pendingStylesheetFontSize-expected.png: Added.
216         * platform/mac/fast/css/pendingStylesheetFontSize-expected.txt: Added.
217
218 2007-10-16  Adele Peterson  <adele@apple.com>
219
220         Reviewed by Alice.
221
222         Updating with correct results for:
223         <rdar://problem/5538793> REGRESSION: Failing layout test: fast/forms/select-change-listbox-to-popup.html (due to landing feature branch)
224
225         * platform/mac/fast/forms/select-change-listbox-to-popup-expected.txt:
226
227 2007-10-16  Alexey Proskuryakov  <ap@webkit.org>
228
229         Reviewed by Maciej.
230
231         http://bugs.webkit.org/show_bug.cgi?id=15506
232         editing/pasteboard/paste-into-anchor-text.html accesses an external resource
233
234         Removed the external resource reference and made the test dump as text.
235
236         * editing/pasteboard/paste-into-anchor-text-expected.txt: Copied from platform/mac/editing/pasteboard/paste-into-anchor-text-expected.txt.
237         * editing/pasteboard/paste-into-anchor-text.html:
238         * platform/mac/editing/pasteboard/paste-into-anchor-text-expected.checksum: Removed.
239         * platform/mac/editing/pasteboard/paste-into-anchor-text-expected.png: Removed.
240         * platform/mac/editing/pasteboard/paste-into-anchor-text-expected.txt: Removed.
241
242 2007-10-15  Geoffrey Garen  <ggaren@apple.com>
243
244         Fixed layout test for reals. Changed \r\n to \n, fixing mass confusion.
245
246         * fast/js/do-while-expression-value-expected.txt:
247         * fast/js/do-while-expression-value.html:
248         * fast/js/nested-function-scope.html:
249         * fast/js/while-expression-value-expected.txt:
250         * fast/js/while-expression-value.html:
251
252 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
253
254         Reviewed by Darin.
255
256         - <rdar://problem/5238818> window.resizeTo doesn't restrict the resized window to the size of the screen
257         - Now we take the dock into account when resizing.
258         - Also I found an issue where we would resize to outside the window, because the resize would be smaller than the window size but the location of the window would make the resize go off-screen.  Now we move the window back into the screen.
259
260         * fast/dom/Window/window-resize-expected.txt:
261         * fast/dom/Window/window-resize.html:
262
263 2007-10-15  Geoffrey Garen  <ggaren@apple.com>
264
265         Changed line ending style of results file to fix layout test that was
266         failing locally on my machine.
267         
268         * fast/js/nested-function-scope-expected.txt:
269
270 2007-10-15  Geoffrey Garen  <ggaren@apple.com>
271
272         Reviewed by Darin Adler.
273         
274         Removed surprising self-named "hack" that made nested functions 
275         available as named properties of their containing functions, and placed
276         containing function objects in the scope chains of nested functions.
277         
278         [ Patch broken off from http://bugs.webkit.org/show_bug.cgi?id=14868 ]
279
280         Changed this test to reflect correct behavior:
281
282         * fast/js/kde/function-expected.txt:
283         * fast/js/kde/resources/function.js: (Also removed tab characters.)
284
285         Added this test to flesh out the behavior more:
286
287         * fast/js/nested-function-scope-expected.txt: Added.
288         * fast/js/nested-function-scope.html: Added.
289
290 2007-10-15  Geoffrey Garen  <ggaren@apple.com>
291
292         Committed revision 26618.
293
294         Made function parameters DontDelete.
295
296         * fast/js/delete-function-parameter-expected.txt: Added.
297         * fast/js/delete-function-parameter.html: Added.
298
299 2007-10-13  Geoffrey Garen  <ggaren@apple.com>
300
301         Reviewed by Maciej Stachowiak.
302         
303         Layout tests for http://bugs.webkit.org/show_bug.cgi?id=15490
304         Iteration statements sometimes incorrectly evaluate to the empty value 
305         (KDE r670547)        
306
307         * fast/js/do-while-expression-value-expected.txt: Added.
308         * fast/js/do-while-expression-value.html: Added.
309         * fast/js/while-expression-value-expected.txt: Added.
310         * fast/js/while-expression-value.html: Added.
311
312 2007-10-15  Darin Adler  <darin@apple.com>
313
314         Reviewed by Sam.
315
316         - fix http://bugs.webkit.org/show_bug.cgi?id=15520
317           alert(undefined) should say "undefined" in the alert
318
319         * fast/dom/Window/alert-undefined.html: Added tests of null and both confirm and prompt.
320         * fast/dom/Window/alert-undefined-expected.txt: Updated.
321
322 2007-10-15  Adele Peterson  <adele@apple.com>
323
324         Reviewed by Darin.
325
326         Test for http://bugs.webkit.org/show_bug.cgi?id=15252
327         <rdar://problem/5498184> REGRESSION: <select multiple> doesn't scroll to top when old options are removed and new ones are added, leaving listbox empty-looking
328
329         * fast/forms/listbox-scroll-after-options-removed-expected.txt: Added.
330         * fast/forms/listbox-scroll-after-options-removed.html: Added.
331
332 2007-10-15  Alice Liu  <alice.liu@apple.com>
333
334         removing fixed test
335
336         * platform/win/Skipped:
337
338 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
339
340         Reviewed by Sam.
341
342         - <rdar://problem/5536630> fast/dom/Window/new-window-opener.html fails
343         - This test used to pass because of a mistake in js-test-pre.js.
344         Now that the js file has been fixed this test has been updated, some
345         of the test cases fail because DRT does not implement delegate methods
346         for the bars for each WebView.
347         - See <rdar://problem/5538752> DumpRenderTree does not have a UIDelegate for each WebView.
348
349         - Also changed the test to correctly wait for the window to close before
350         starting a new testcase.  This is necessary because all the windows have
351         the same name and cannot override the settings of a pre-existing window.
352
353         * fast/dom/Window/new-window-opener-expected.txt:
354         * fast/dom/Window/new-window-opener.html:
355
356 2007-10-15  Oliver Hunt  <oliver@apple.com>
357
358         RS=Maciej.
359
360         Reset svg pixel tests to a tiger baseline and move them to platform/mac
361
362
363 2007-10-14  Darin Adler  <darin@apple.com>
364
365         - added exceptions for all the tests failing on my personal Leopard machine
366
367         This may or may not get the buildbot green. I'll file separate bugs for each
368         of the tests with changed results.
369
370         * platform/mac-leopard/dom: Added.
371         * platform/mac-leopard/dom/xhtml: Added.
372         * platform/mac-leopard/dom/xhtml/level2: Added.
373         * platform/mac-leopard/dom/xhtml/level2/html: Added.
374         * platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt: Added.
375         * platform/mac-leopard/editing: Added.
376         * platform/mac-leopard/editing/pasteboard: Added.
377         * platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt: Added.
378         * platform/mac-leopard/http: Added.
379         * platform/mac-leopard/http/tests: Added.
380         * platform/mac-leopard/http/tests/security: Added.
381         * platform/mac-leopard/http/tests/security/dataURL: Added.
382         * platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Added.
383         * platform/mac-leopard/svg/custom: Added.
384         * platform/mac-leopard/svg/custom/stroke-width-click-expected.txt: Added.
385         * platform/mac-leopard/webarchive: Added.
386         * platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt: Added.
387
388         * platform/mac-leopard/security/block-test-expected.txt: Changed results.
389
390 2007-10-14  Darin Adler  <darin@apple.com>
391
392         - moved a test that somehow ended up doubly-nested in platform/mac
393
394         * platform/mac/fast/text/justified-text-rect-expected.checksum: Copied from platform/mac/platform/mac/fast/text/justified-text-rect-expected.checksum.
395         * platform/mac/fast/text/justified-text-rect-expected.png: Copied from platform/mac/platform/mac/fast/text/justified-text-rect-expected.png.
396         * platform/mac/fast/text/justified-text-rect-expected.txt: Copied from platform/mac/platform/mac/fast/text/justified-text-rect-expected.txt.
397         * platform/mac/platform: Removed.
398         * platform/mac/platform/mac: Removed.
399         * platform/mac/platform/mac/fast: Removed.
400         * platform/mac/platform/mac/fast/text: Removed.
401         * platform/mac/platform/mac/fast/text/justified-text-rect-expected.checksum: Removed.
402         * platform/mac/platform/mac/fast/text/justified-text-rect-expected.png: Removed.
403         * platform/mac/platform/mac/fast/text/justified-text-rect-expected.txt: Removed.
404
405 2007-10-14  Oliver Hunt  <oliver@apple.com>
406
407         RS=Niko
408
409         Revert layout test move.
410
411         Filed http://bugs.webkit.org/show_bug.cgi?id=15513 to track correction for even earlier change
412
413 2007-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
414
415         Rubberstamped by Eric.
416
417         Move current layout tests results from platform/mac/svg to platform/mac-tiger/svg.
418         The problem is that the current results have accidently been generated with Leopard,
419         I'm still moving this to mac-tiger so we don't loose the history for all the results.
420         After this commit, the baseline will be regenerated in mac-tiger/svg, and someone with
421         Leopard needs to generate new results in mac-leopard/svg.
422
423         * platform/mac-tiger/svg: Copied from platform/mac/svg.
424         * platform/mac/svg: Removed.
425
426 2007-10-14  Mitz Pettel  <mitz@webkit.org>
427
428         Reviewed by Darin.
429
430         - test for http://bugs.webkit.org/show_bug.cgi?id=15181
431           text-transform: uppercase not working in input (submit, reset, button) elements
432           <rdar://problem/5474647>
433
434         * fast/forms/button-text-transform.html: Added.
435         * platform/mac/fast/forms/button-text-transform-expected.checksum: Added.
436         * platform/mac/fast/forms/button-text-transform-expected.png: Added.
437         * platform/mac/fast/forms/button-text-transform-expected.txt: Added.
438
439 2007-10-14  Eric Seidel  <eric@webkit.org>
440
441         Reviewed by Maciej.
442
443         Test for http://bugs.webkit.org/show_bug.cgi?id=15274
444         REGRESSION: Javascript bug in getElementsByName
445
446         * fast/dom/getelementbyname-invalidation-expected.txt: Added.
447         * fast/dom/getelementbyname-invalidation.html: Added.
448
449 2007-10-14  Mitz Pettel  <mitz@webkit.org>
450
451         Reviewed by Dave Hyatt.
452
453         - test for http://bugs.webkit.org/show_bug.cgi?id=15309
454           <rdar://problem/5512020> Crash due to infinite recursion in RenderTable::addChild
455
456         * fast/table/generated-caption.html: Added.
457         * platform/mac/fast/table/generated-caption-expected.checksum: Added.
458         * platform/mac/fast/table/generated-caption-expected.png: Added.
459         * platform/mac/fast/table/generated-caption-expected.txt: Added.
460
461 2007-10-14  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
462
463         Reviewed by Darin.
464
465         Adds serialization test cases for NegateNode optimization from KDE.
466
467         * fast/js/function-decompilation-operators-expected.txt:
468         * fast/js/function-decompilation-operators.html:
469
470 2007-10-14  Jason Foreman  <jason@threeve.org>
471
472         Reviewed by Maciej.
473
474         Adding test for http://bugs.webkit.org/show_bug.cgi?id=15145.
475
476         * ChangeLog:
477         * fast/js/number-toprecision-expected.txt: Added.
478         * fast/js/number-toprecision.html: Added.
479         * fast/js/resources/number-toprecision.js: Added.
480
481 2007-10-14  Feng Qian  <ian.eng.webkit@gmail.com>
482
483         Reviewed by Maciej.
484
485         * fast/events/window-events-bubble2.html:
486
487 == Rolled over to ChangeLog-2007-10-14 ==