| Differences between
and this patch
- a/LayoutTests/ChangeLog +15 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2011-06-16  Kent Tamura  <tkent@chromium.org>
2
3
        Reviewed by NOBODY (OOPS!).
4
5
        Verify cloning elements with validation messages works.
6
        https://bugs.webkit.org/show_bug.cgi?id=61988
7
8
        * fast/forms/validation-message-clone-expected.txt: Added.
9
        * fast/forms/validation-message-clone.html: Added.
10
        * platform/chromium/test_expectations.txt:
11
        * platform/gtk/Skipped:
12
        * platform/mac-wk2/Skipped:
13
        * platform/qt/Skipped:
14
        * platform/win/Skipped:
15
1
2011-06-17  Csaba Osztrogonác  <ossy@webkit.org>
16
2011-06-17  Csaba Osztrogonác  <ossy@webkit.org>
2
17
3
        [Qt][WK2] fast/frames/flattening tests fail intermittently
18
        [Qt][WK2] fast/frames/flattening tests fail intermittently
- a/LayoutTests/fast/forms/validation-message-clone-expected.txt +8 lines
Line 0 a/LayoutTests/fast/forms/validation-message-clone-expected.txt_sec1
1
There two text fields. The first one should have a validation message bubble, and another should have no validation message.
2
3
4
5
6
PASS layoutTestController.shadowPseudoId(lastInOriginalShadow) == "-webkit-validation-bubble" is true
7
PASS layoutTestController.shadowPseudoId(lastInClonedShadow) == "-webkit-validation-bubble" is false
8
- a/LayoutTests/fast/forms/validation-message-clone.html +41 lines
Line 0 a/LayoutTests/fast/forms/validation-message-clone.html_sec1
1
<!DOCTYPE html>
2
<head>
3
<script src="../js/resources/js-test-pre.js"></script>
4
<script src="resources/common.js"></script>
5
</head>
6
<body>
7
<p>There two text fields. The first one should have a validation message bubble, and another should have no validation message.</p>
8
<form action="validation-message-clone.html">
9
<div style="height:100px;"><input required></div>
10
<div style="height:100px;" id=dest></div>
11
<div><input type=submit id=submit></div>
12
<div id=console></div>
13
</form>
14
15
<script>
16
var original = document.getElementsByTagName('input')[0];
17
var lastInOriginalShadow;
18
var lastInClonedShadow;
19
$('submit').click();
20
setTimeout(cloneElementWithValidationMessage, 0);
21
if (window.layoutTestController)
22
    layoutTestController.waitUntilDone();
23
24
function cloneElementWithValidationMessage() {
25
    $('dest').appendChild(original.cloneNode());
26
    setTimeout(confirmNoBubble, 0);
27
}
28
29
function confirmNoBubble() {
30
    if (!window.layoutTestController)
31
        return;
32
33
    lastInOriginalShadow = layoutTestController.shadowRoot(original).lastChild;
34
    shouldBeTrue('layoutTestController.shadowPseudoId(lastInOriginalShadow) == "-webkit-validation-bubble"');
35
    lastInClonedShadow = layoutTestController.shadowRoot($('dest').firstChild).lastChild;
36
    shouldBeFalse('layoutTestController.shadowPseudoId(lastInClonedShadow) == "-webkit-validation-bubble"');
37
    layoutTestController.notifyDone();
38
}
39
</script>
40
41
</body>
- a/LayoutTests/platform/chromium/test_expectations.txt +3 lines
Lines 3907-3912 BUGCR84157 GPU WIN : fast/canvas/canvas-currentColor.html = TEXT a/LayoutTests/platform/chromium/test_expectations.txt_sec1
3907
BUGCR84157 GPU WIN : fast/canvas/canvas-fillPath-shadow.html = TEXT PASS
3907
BUGCR84157 GPU WIN : fast/canvas/canvas-fillPath-shadow.html = TEXT PASS
3908
BUGCR84157 BUGCR74979 WIN LINUX GPU : media/video-canvas-alpha.html = IMAGE
3908
BUGCR84157 BUGCR74979 WIN LINUX GPU : media/video-canvas-alpha.html = IMAGE
3909
3909
3910
// New test. Needs baseline files.
3911
BUGWK61988 : fast/forms/validation-message-clone.html = FAIL
3912
3910
BUGCR85051 WIN RELEASE GPU : canvas/philip/tests/2d.composite.canvas.source-over.html = TEXT
3913
BUGCR85051 WIN RELEASE GPU : canvas/philip/tests/2d.composite.canvas.source-over.html = TEXT
3911
3914
3912
BUGWK62255 : animations/animation-iteration-event-destroy-renderer.html = TIMEOUT PASS
3915
BUGWK62255 : animations/animation-iteration-event-destroy-renderer.html = TIMEOUT PASS
- a/LayoutTests/platform/gtk/Skipped +1 lines
Lines 1253-1258 fast/forms/interactive-validation-select-crash.html a/LayoutTests/platform/gtk/Skipped_sec1
1253
fast/forms/interactive-validation-crash-by-style-override.html
1253
fast/forms/interactive-validation-crash-by-style-override.html
1254
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
1254
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
1255
fast/forms/validation-message-appearance.html
1255
fast/forms/validation-message-appearance.html
1256
fast/forms/validation-message-clone.html
1256
fast/forms/validation-message-on-checkbox.html
1257
fast/forms/validation-message-on-checkbox.html
1257
fast/forms/validation-message-on-listbox.html
1258
fast/forms/validation-message-on-listbox.html
1258
fast/forms/validation-message-on-menulist.html
1259
fast/forms/validation-message-on-menulist.html
- a/LayoutTests/platform/mac-wk2/Skipped +1 lines
Lines 1514-1519 fast/forms/interactive-validation-select-crash.html a/LayoutTests/platform/mac-wk2/Skipped_sec1
1514
# WebKitTestRunner needs support for validation message bubble tests
1514
# WebKitTestRunner needs support for validation message bubble tests
1515
# http://webkit.org/b/57455
1515
# http://webkit.org/b/57455
1516
fast/forms/validation-message-appearance.html
1516
fast/forms/validation-message-appearance.html
1517
fast/forms/validation-message-clone.html
1517
fast/forms/validation-message-on-checkbox.html
1518
fast/forms/validation-message-on-checkbox.html
1518
fast/forms/validation-message-on-listbox.html
1519
fast/forms/validation-message-on-listbox.html
1519
fast/forms/validation-message-on-menulist.html
1520
fast/forms/validation-message-on-menulist.html
- a/LayoutTests/platform/qt/Skipped +1 lines
Lines 2011-2016 fast/forms/interactive-validation-select-crash.html a/LayoutTests/platform/qt/Skipped_sec1
2011
fast/forms/interactive-validation-crash-by-style-override.html
2011
fast/forms/interactive-validation-crash-by-style-override.html
2012
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
2012
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
2013
fast/forms/validation-message-appearance.html
2013
fast/forms/validation-message-appearance.html
2014
fast/forms/validation-message-clone.html
2014
fast/forms/validation-message-on-checkbox.html
2015
fast/forms/validation-message-on-checkbox.html
2015
fast/forms/validation-message-on-listbox.html
2016
fast/forms/validation-message-on-listbox.html
2016
fast/forms/validation-message-on-menulist.html
2017
fast/forms/validation-message-on-menulist.html
- a/LayoutTests/platform/win/Skipped +1 lines
Lines 1106-1111 fast/forms/interactive-validation-select-crash.html a/LayoutTests/platform/win/Skipped_sec1
1106
fast/forms/interactive-validation-crash-by-style-override.html
1106
fast/forms/interactive-validation-crash-by-style-override.html
1107
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
1107
# Need to call Settings::setValidationMessageTimerMagnification(-1) in DRT.
1108
fast/forms/validation-message-appearance.html
1108
fast/forms/validation-message-appearance.html
1109
fast/forms/validation-message-clone.html
1109
fast/forms/validation-message-on-checkbox.html
1110
fast/forms/validation-message-on-checkbox.html
1110
fast/forms/validation-message-on-listbox.html
1111
fast/forms/validation-message-on-listbox.html
1111
fast/forms/validation-message-on-menulist.html
1112
fast/forms/validation-message-on-menulist.html

Return to Bug 61988