Closed Bug 1581551 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 19091 - Added support for navigation-controls media query

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19091 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19091
Details from upstream follow.

Mustapha Jaber <mustjab@microsoft.com> wrote:

Added support for navigation-controls media query

This change adds support for navigation-controls media feature,
which will initially be used to detect if the user agent supplies a
back button present in its UI. This media feature will allow apps to
avoid the "double back button" problem by letting them conditionally
display a back button depending on whether the user agent is already
displaying one.
The logic for updating navigation-controls from its default state
has not yet been implemented.

Spec: https://github.com/fallaciousreasoning/backbutton-mediaquery

Bug: 822944
Change-Id: If8bc5054c0591f7e822277a83119273b69aef0c9
Reviewed-on: https://chromium-review.googlesource.com/1802195
WPT-Export-Revision: 8a0cc063f495b5d26b7379cfd927c302dfe60032

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 11 subtests
OK     : 1
PASS   : 4
FAIL   : 7

New tests that have failures or other problems:
/css/mediaqueries/navigation-controls.tentative.html
    Check that none evaluates to false in the boolean context: FAIL
    Should be parseable in JS: '(navigation-controls)': FAIL
    Should be parseable in JS: '(navigation-controls: back-button)': FAIL
    Should be parseable in JS: '(navigation-controls: none)': FAIL
    Should be parseable in a CSS stylesheet: '(navigation-controls)': FAIL
    Should be parseable in a CSS stylesheet: '(navigation-controls: back-button)': FAIL
    Should be parseable in a CSS stylesheet: '(navigation-controls: none)': FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6c1a866e214
[wpt PR 19091] - Added support for navigation-controls media query, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c46848a5792
[wpt PR 19091] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.