Closed
Bug 1448205
Opened 6 years ago
Closed 5 years ago
[wpt-sync] Sync PR 10149 - Tests for SVG tabindex/focus/blur
Categories
(Core :: SVG, enhancement, P4)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10149 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10149 Details from upstream follow. David Storey <dstorey@microsoft.com> wrote: > Tests for SVG tabindex/focus/blur > > SVG defines focus/blur/tabindex as behaving the same as HTML. > > This takes some tests from HTML and adapts to the SVG template used in the SVG folder. I included them in the interact folder as that page (scripting) is the one that defines which elements are focusable in SVG. > > Apologies if I got the folder structure wrong. I believe I suppose to put the tests in the in the scripted folder. > > Note: SVG say that the following are focusable by default: > > - the document root element > - an ‘svg’ element which has zoom and pan controls > https://svgwg.org/svg2-draft/interact.html#Focus > > I only included a test for the root-most SVG element, as SVG further defines that zoom and pan controls only work on the root most SVG element, so it will pass with or without that control. > > I also assumed that video/audio with user controls meant the controls attribute. > > These tests match the behavior of the HTML equivalents. Edge fails the tabindex tests when checking the content attribute as there is a non-tabindex related bug with attribute reflection in SVG where the canonical case is lowercase. Otherwise those tests would pass. > > I couldn't find any HTML tests specific to blur() so I reused the composed test. blur() passes in Edge, but doesn't support event.composed. > > > I didn't add tests for dataset (which is in the same section of the spec) as there are already tests in HTML that detect dataset on SVG
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → SVG
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b2ff5c9fb41fa5b6a2ce3cd7f2715f839eae18d8
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=dfebad3e265694d1d7f6bc31d373fbcc73817c40
Reporter | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b8e0ce75a88ba4bf456ddfb3cfdc096574ad539
Reporter | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d93308cba468658084f5f7734c8f4aa2d590f73c
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/49cf0f577291 [wpt PR 10149] - Tests for SVG tabindex/focus/blur, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/0b3c4779c511 [wpt PR 10149] - Update wpt metadata, a=testonly
Reporter | ||
Comment 6•5 years ago
|
||
Result changes from PR not available.
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49cf0f577291 https://hg.mozilla.org/mozilla-central/rev/0b3c4779c511
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•