source: trunk/LayoutTests/fast/forms/datalist/datalist.html @ 113137

Revision 113137, 947 bytes checked in by keishi@webkit.org, 2 years ago (diff)

Disable ENABLE_DATALIST for now
https://bugs.webkit.org/show_bug.cgi?id=82871

Reviewed by Kent Tamura.

.:

We should disable ENABLE_DATALIST because

  • We need platform-dependent implementation, and non-BlackBerry platforms don't have it.
  • We need to hide the content of <datalist>, but it is shown for now.
  • Source/cmake/OptionsEfl.cmake: Disabled ENABLE_DATALIST.

Source/JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig: Disabled ENABLE_DATALIST.

Source/WebCore:

  • Configurations/FeatureDefines.xcconfig: Disabled ENABLE_DATALIST.

Source/WebKit/mac:

  • Configurations/FeatureDefines.xcconfig: Disabled ENABLE_DATALIST.

Source/WebKit2:

  • Configurations/FeatureDefines.xcconfig: Disabled ENABLE_DATALIST.

Tools:

  • Scripts/build-webkit: Disabled ENABLE_DATALIST.

WebKitLibraries:

  • win/tools/vsprops/FeatureDefines.vsprops: Disabled ENABLE_DATALIST.

LayoutTests:

Moved datalist tests into directory fast/forms/datalist and added it to Skipped files.

  • fast/forms/datalist/datalist-expected.txt: Moved from LayoutTests/fast/forms/datalist-expected.txt.
  • fast/forms/datalist/datalist-nonoption-child-expected.txt: Moved from LayoutTests/fast/forms/datalist-nonoption-child-expected.txt.
  • fast/forms/datalist/datalist-nonoption-child.html: Moved from LayoutTests/fast/forms/datalist-nonoption-child.html.
  • fast/forms/datalist/datalist.html: Moved from LayoutTests/fast/forms/datalist.html.
  • fast/forms/datalist/input-list-expected.txt: Moved from LayoutTests/fast/forms/input-list-expected.txt.
  • fast/forms/datalist/input-list.html: Moved from LayoutTests/fast/forms/input-list.html.
  • fast/forms/datalist/input-selectedoption-expected.txt: Moved from LayoutTests/fast/forms/input-selectedoption-expected.txt.
  • fast/forms/datalist/input-selectedoption.html: Moved from LayoutTests/fast/forms/input-selectedoption.html.
  • platform/chromium/test_expectations.txt:
  • platform/efl/Skipped:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
Line 
1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2<html>
3<head>
4<script src="../../../fast/js/resources/js-test-pre.js"></script>
5</head>
6<body>
7<p id="description"></p>
8<div id="console"></div>
9
10<datalist id="dl1">
11 The choices are
12 <option>value1</option>,
13 <option value="value2">label2</option>,
14 <option label="label3">value3</option>, and
15 <option id="o4">value4</option>.
16 <option></option>
17</datalist>
18
19<script>
20description('Test for the datalist element.');
21
22var datalist = document.getElementById('dl1');
23// An option element with empty value is not included.
24shouldBe('datalist.options.length', '4');
25
26document.getElementById('o4').disabled = true;
27// A disabled option element is not included.
28shouldBe('datalist.options.length', '3');
29// After datalist is implemented, the expected text should not contain the
30// text in the datalist element.
31</script>
32<script src="../../../fast/js/resources/js-test-post.js"></script>
33</body>
34</html>
Note: See TracBrowser for help on using the repository browser.