Skip to content

Commit

Permalink
Merge branch 'html_input_datetime_1'
Browse files Browse the repository at this point in the history
This is almost everything needed for #162.
  • Loading branch information
wolfbeast committed Apr 15, 2018
2 parents f8ad954 + f4d1b48 commit fca67bb
Show file tree
Hide file tree
Showing 83 changed files with 5,095 additions and 699 deletions.
9 changes: 0 additions & 9 deletions accessible/tests/mochitest/jsat/test_output.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@
"Peaches", {"string": "linkAbbr"}, "Plums", {"string": "linkAbbr"},
{"string": "listAbbr"},
{"string": "cellInfoAbbr", "args": [ 1, 1]}]]
}, {
accOrElmOrID: "date",
expectedUtterance: [[{"string": "textInputType_date"},
{"string": "entry"}, "2011-09-29"], ["2011-09-29",
{"string": "textInputType_date"}, {"string": "entry"}]],
expectedBraille: [[{"string": "textInputType_date"},
{"string": "entryAbbr"}, "2011-09-29"], ["2011-09-29",
{"string": "textInputType_date"}, {"string": "entryAbbr"}]]
}, {
accOrElmOrID: "email",
expectedUtterance: [[{"string": "textInputType_email"},
Expand Down Expand Up @@ -619,7 +611,6 @@ <h1 id="heading" title="Test heading"></h1>
<label for="password">Secret Password</label><input id="password" type="password"></input>
<label for="radio_unselected">any old radio button</label><input id="radio_unselected" type="radio"></input>
<label for="radio_selected">a unique radio button</label><input id="radio_selected" type="radio" checked></input>
<input id="date" type="date" value="2011-09-29" />
<input id="email" type="email" value="[email protected]" />
<input id="search" type="search" value="This is a search" />
<input id="tel" type="tel" value="555-5555" />
Expand Down
3 changes: 1 addition & 2 deletions browser/base/content/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks {
transition: none;
}

#DateTimePickerPanel {
#DateTimePickerPanel[active="true"] {
-moz-binding: url("chrome://global/content/bindings/datetimepopup.xml#datetime-popup");
}

Expand Down Expand Up @@ -815,7 +815,6 @@ html|*#fullscreen-exit-button {
.popup-anchor {
/* should occupy space but not be visible */
opacity: 0;
visibility: hidden;
pointer-events: none;
-moz-stack-sizing: ignore;
}
Expand Down
8 changes: 6 additions & 2 deletions browser/base/content/browser.xul
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,17 @@
level="parent"
overflowpadding="30" />

<!-- for date/time picker. consumeoutsideclicks is set to never, so that
clicks on the anchored input box are never consumed. -->
<panel id="DateTimePickerPanel"
type="arrow"
hidden="true"
orient="vertical"
noautofocus="true"
consumeoutsideclicks="false"
level="parent">
norolluponanchor="true"
consumeoutsideclicks="never"
level="parent"
tabspecific="true">
<iframe id="dateTimePopupFrame"/>
</panel>

Expand Down
Loading

0 comments on commit fca67bb

Please sign in to comment.