Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #10491 add HTMLInputElement attributes that reflect content ide… #10505

Merged
merged 1 commit into from Apr 12, 2016

Conversation

@amarant
Copy link
Contributor

amarant commented Apr 9, 2016

…ntically

it uses a new version of string-cache servo/string-cache#148


This change is Reviewable

@highfive
Copy link

highfive commented Apr 9, 2016

Heads up! This PR modifies the following files:

  • @bholley: components/style/Cargo.toml
  • @KiChjang: components/script/dom/webidls/HTMLInputElement.webidl, components/script/Cargo.toml, components/script/dom/htmlinputelement.rs
@wafflespeanut
Copy link
Member

wafflespeanut commented Apr 10, 2016

./components/script/dom/htmlinputelement.rs:309: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-accept

./components/script/dom/htmlinputelement.rs:312: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-accept

./components/script/dom/htmlinputelement.rs:315: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-alt

./components/script/dom/htmlinputelement.rs:317: trailing whitespace

./components/script/dom/htmlinputelement.rs:318: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-alt

./components/script/dom/htmlinputelement.rs:321: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-dirName

./components/script/dom/htmlinputelement.rs:323: trailing whitespace

./components/script/dom/htmlinputelement.rs:324: link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#attr-input-dirName
@KiChjang
Copy link
Member

KiChjang commented Apr 10, 2016

I think those #attr-input-* links shoul really be #dom-input-* links instead.

@KiChjang
Copy link
Member

KiChjang commented Apr 10, 2016

Also, are the changes to tests/wpt/metadata/html/dom/reflection-forms.html.ini intended?

@jdm
Copy link
Member

jdm commented Apr 10, 2016

It's a test that setting properties of DOM APIs to certain values is properly reflected by the equivalent getter, so it seems likely to me.

@amarant amarant force-pushed the amarant:10491-HTMLInputElement-attr branch from 90c25cf to cd57f54 Apr 10, 2016
@amarant
Copy link
Contributor Author

amarant commented Apr 10, 2016

I've fixed the urls, and tidy errors.

@KiChjang KiChjang removed the S-fails-tidy label Apr 10, 2016
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"]

This comment has been minimized.

@KiChjang

KiChjang Apr 10, 2016

Member

Why is this changed and set into one line?

This comment has been minimized.

@frewsxcv

frewsxcv Apr 10, 2016

Member

Running ./mach update-wpt has some uncommitted changes that result in various formatting updates. This is one of them, though they should probably happen in a different PR.

This comment has been minimized.

@amarant

amarant Apr 10, 2016

Author Contributor

The thing is that I made the edit to format the ini file when I added the prefs in another PR, but it seems update-wpt format it in 1 line, maybe we should let it that way.

@@ -1,6 +1,5 @@
[data-uri.htm]
type: testharness

This comment has been minimized.

@KiChjang

KiChjang Apr 10, 2016

Member

Not sure why this is a good change.

This comment has been minimized.

@amarant

amarant Apr 10, 2016

Author Contributor

This is the result of update-wpt, others doing the same command will have the same result, should I re-add the deleted line ?

This comment has been minimized.

@frewsxcv

frewsxcv Apr 10, 2016

Member

Personally, I think it's fine to leave it in. Ideally it'd be in a separate PR, but not a big deal at all. I'll let @KiChjang decide though

@KiChjang
Copy link
Member

KiChjang commented Apr 10, 2016

Forget about the changes, apparently update-wpt caused some formatting updates that I wasn't aware of. Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Apr 10, 2016

📌 Commit cd57f54 has been approved by KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Apr 10, 2016

Testing commit cd57f54 with merge b8de0b6...

bors-servo added a commit that referenced this pull request Apr 10, 2016
Issue #10491 add HTMLInputElement attributes that reflect content ide…

…ntically

it uses a new version of string-cache servo/string-cache#148

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10505)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 10, 2016

💔 Test failed - mac-rel-wpt

@frewsxcv
Copy link
Member

frewsxcv commented Apr 10, 2016

🎊

Tests with unexpected results:
  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [date] The min attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [date] The max attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [date] The step attribute must be expressed in seconds

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [time] The min attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [time] The max attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [time] The step attribute must be expressed in seconds

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [datetime] The min attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [datetime] The max attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [datetime] The step attribute must be expressed in seconds

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [month] The min attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [month] The max attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [month] The step attribute must be expressed in seconds

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [week] The min attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [week] The max attribute must have a value that is a valid global date and time string

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/datetime.html:
  └ PASS [expected FAIL] [week] The step attribute must be expressed in seconds

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/email.html:
  └ PASS [expected FAIL] single_email doesn't have the multiple attribute

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/email.html:
  └ PASS [expected FAIL] multiple_email has the multiple attribute

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/range.html:
  └ PASS [expected FAIL] min attribute support on input element

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/range.html:
  └ PASS [expected FAIL] max attribute support on input element

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] step attribute on default value check

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] max  attribute on default value check

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] min  attribute on default value check

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] max attribute support on input element

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] min attribute support on input element

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/time.html:
  └ PASS [expected FAIL] step attribute support on input element
@amarant
Copy link
Contributor Author

amarant commented Apr 10, 2016

Ok I should have been more thorough during the wpt test, I will update the ini files. It means that Travis/AppVeyor don't do them ?

@frewsxcv
Copy link
Member

frewsxcv commented Apr 10, 2016

Correct. Travis and Appveyor currently only run unit and compile tests, not wpt or an other tests:

https://github.com/servo/servo/blob/master/.travis.yml#L15-L16

@amarant amarant force-pushed the amarant:10491-HTMLInputElement-attr branch from cd57f54 to 281115b Apr 11, 2016
@bors-servo
Copy link
Contributor

bors-servo commented Apr 11, 2016

The latest upstream changes (presumably #10445) made this pull request unmergeable. Please resolve the merge conflicts.

…ntically

it uses a new version of string-cache servo/string-cache#148
@amarant amarant force-pushed the amarant:10491-HTMLInputElement-attr branch from 281115b to 9b8f183 Apr 11, 2016
@KiChjang
Copy link
Member

KiChjang commented Apr 11, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Apr 11, 2016

📌 Commit 9b8f183 has been approved by KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Apr 12, 2016

Testing commit 9b8f183 with merge 61865f6...

bors-servo added a commit that referenced this pull request Apr 12, 2016
Issue #10491 add HTMLInputElement attributes that reflect content ide…

…ntically

it uses a new version of string-cache servo/string-cache#148

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10505)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 12, 2016

@bors-servo bors-servo merged commit 9b8f183 into servo:master Apr 12, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants
You can’t perform that action at this time.