Issue #10491 add HTMLInputElement attributes that reflect content identically

it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
This commit is contained in:
Arnaud Marant 2016-04-09 22:09:47 +02:00
parent bc2237ea2b
commit 9b8f183cba
24 changed files with 138 additions and 1400 deletions

View file

@ -28,5 +28,5 @@ app_units = {version = "0.2.3", features = ["plugins"]}
cssparser = {version = "0.5.4", features = ["heap_size"]}
euclid = {version = "0.6.4", features = ["plugins"]}
selectors = {version = "0.5", features = ["heap_size"]}
string_cache = {version = "0.2.11", features = ["heap_size"]}
string_cache = {version = "0.2.12", features = ["heap_size"]}
url = {version = "0.5.7", features = ["heap_size"]}

View file

@ -1,6 +1,5 @@
[data-uri.htm]
type: testharness
[XHR method GET with charset text/html;charset=UTF-8]
expected: FAIL

View file

@ -4545,21 +4545,12 @@
[HTMLFormElement interface: document.createElement("form") must inherit property "requestAutocomplete" with the proper type (17)]
expected: FAIL
[HTMLInputElement interface: attribute accept]
expected: FAIL
[HTMLInputElement interface: attribute alt]
expected: FAIL
[HTMLInputElement interface: attribute autocomplete]
expected: FAIL
[HTMLInputElement interface: attribute autofocus]
expected: FAIL
[HTMLInputElement interface: attribute dirName]
expected: FAIL
[HTMLInputElement interface: attribute files]
expected: FAIL
@ -4572,30 +4563,9 @@
[HTMLInputElement interface: attribute list]
expected: FAIL
[HTMLInputElement interface: attribute max]
expected: FAIL
[HTMLInputElement interface: attribute min]
expected: FAIL
[HTMLInputElement interface: attribute minLength]
expected: FAIL
[HTMLInputElement interface: attribute multiple]
expected: FAIL
[HTMLInputElement interface: attribute pattern]
expected: FAIL
[HTMLInputElement interface: attribute required]
expected: FAIL
[HTMLInputElement interface: attribute src]
expected: FAIL
[HTMLInputElement interface: attribute step]
expected: FAIL
[HTMLInputElement interface: attribute valueAsDate]
expected: FAIL
@ -4650,21 +4620,12 @@
[HTMLInputElement interface: attribute useMap]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "accept" with the proper type (0)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "alt" with the proper type (1)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "autocomplete" with the proper type (2)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "autofocus" with the proper type (3)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "dirName" with the proper type (6)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "files" with the proper type (9)]
expected: FAIL
@ -4677,30 +4638,9 @@
[HTMLInputElement interface: document.createElement("input") must inherit property "list" with the proper type (18)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "max" with the proper type (19)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "min" with the proper type (21)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "minLength" with the proper type (22)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "multiple" with the proper type (23)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "pattern" with the proper type (25)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "required" with the proper type (28)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "src" with the proper type (30)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "step" with the proper type (31)]
expected: FAIL
[HTMLInputElement interface: document.createElement("input") must inherit property "valueAsDate" with the proper type (35)]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

@ -1,74 +1,29 @@
[datetime.html]
type: testharness
[[date\] The min attribute must have a value that is a valid global date and time string]
expected: FAIL
[[date\] The max attribute must have a value that is a valid global date and time string]
expected: FAIL
[[date\] The step attribute must be expressed in seconds]
expected: FAIL
[[date\] stepUp method support on input 'date' element]
expected: FAIL
[[date\] stepDown method support on input 'date' element]
expected: FAIL
[[time\] The min attribute must have a value that is a valid global date and time string]
expected: FAIL
[[time\] The max attribute must have a value that is a valid global date and time string]
expected: FAIL
[[time\] The step attribute must be expressed in seconds]
expected: FAIL
[[time\] stepUp method support on input 'time' element]
expected: FAIL
[[time\] stepDown method support on input 'time' element]
expected: FAIL
[[datetime\] The min attribute must have a value that is a valid global date and time string]
expected: FAIL
[[datetime\] The max attribute must have a value that is a valid global date and time string]
expected: FAIL
[[datetime\] The step attribute must be expressed in seconds]
expected: FAIL
[[datetime\] stepUp method support on input 'datetime' element]
expected: FAIL
[[datetime\] stepDown method support on input 'datetime' element]
expected: FAIL
[[month\] The min attribute must have a value that is a valid global date and time string]
expected: FAIL
[[month\] The max attribute must have a value that is a valid global date and time string]
expected: FAIL
[[month\] The step attribute must be expressed in seconds]
expected: FAIL
[[month\] stepUp method support on input 'month' element]
expected: FAIL
[[month\] stepDown method support on input 'month' element]
expected: FAIL
[[week\] The min attribute must have a value that is a valid global date and time string]
expected: FAIL
[[week\] The max attribute must have a value that is a valid global date and time string]
expected: FAIL
[[week\] The step attribute must be expressed in seconds]
expected: FAIL
[[week\] stepUp method support on input 'week' element]
expected: FAIL

View file

@ -1,8 +1,5 @@
[email.html]
type: testharness
[single_email doesn't have the multiple attribute]
expected: FAIL
[value should be sanitized: strip line breaks]
expected: FAIL
@ -12,9 +9,6 @@
[When the multiple attribute is removed, the user agent must run the value sanitization algorithm]
expected: FAIL
[multiple_email has the multiple attribute]
expected: FAIL
[run the value sanitization algorithm after setting a new value]
expected: FAIL

View file

@ -1,11 +1,5 @@
[range.html]
type: testharness
[min attribute support on input element]
expected: FAIL
[max attribute support on input element]
expected: FAIL
[Illegal value of min attribute]
expected: FAIL

View file

@ -1,23 +1,5 @@
[time.html]
type: testharness
[step attribute on default value check]
expected: FAIL
[max attribute on default value check]
expected: FAIL
[min attribute on default value check]
expected: FAIL
[max attribute support on input element]
expected: FAIL
[min attribute support on input element]
expected: FAIL
[step attribute support on input element]
expected: FAIL
[stepUp function support on input Element]
expected: FAIL

View file

@ -1,10 +1,3 @@
[preferences.html]
type: testharness
prefs: [
dom.testbinding.preference_value.falsy:false,
dom.testbinding.preference_value.truthy:true,
dom.testbinding.preference_value.string_empty:,
dom.testbinding.preference_value.string_test:test,
dom.testbinding.preference_value.space_string_test:test1 test2,
dom.testbinding.preference_value.quote_string_test:"test1 test2",
]
prefs: [dom.testbinding.preference_value.falsy:false, dom.testbinding.preference_value.truthy:true, dom.testbinding.preference_value.string_empty:, dom.testbinding.preference_value.string_test:test, dom.testbinding.preference_value.space_string_test:test1 test2, dom.testbinding.preference_value.quote_string_test:"test1 test2"]