Closed
Bug 1512980
Opened 5 years ago
Closed 5 years ago
Contrast ratio indicator is not working in iframes.
Categories
(DevTools :: Accessibility Tools, defect)
DevTools
Accessibility Tools
Tracking
(firefox-esr60 unaffected, firefox64 unaffected, firefox65 verified, firefox66 verified)
VERIFIED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | verified |
firefox66 | --- | verified |
People
(Reporter: yzen, Assigned: yzen)
References
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Contrast ratio indicator shows up as "Unable to calculate" when trying to hover over text in iframes because the styling applied for contrast calculations is applied on the root window instead of the window that the node belongs to.
Assignee | ||
Comment 1•5 years ago
|
||
MozReview-Commit-ID: 9AFXlLnkZvs
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/autoland/rev/883d0ac7c183 ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro
Assignee | ||
Comment 3•5 years ago
|
||
Comment on attachment 9030233 [details] Bug 1512980 - ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: Bug 1505848 User impact if declined: Users will not be able to use highlighter's colour contrast indicator in iframes. In cases like that it will display: Unable to calculate. Is this code covered by automated tests?: No Has the fix been verified in Nightly?: No Needs manual test from QE?: No If yes, steps to reproduce: List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Simply updating which window is used to apply styles that are needed to calculate colour contrast. String changes made/needed: None
Attachment #9030233 -
Flags: approval-mozilla-beta?
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/883d0ac7c183
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Updated•5 years ago
|
Blocks: 1505848
status-firefox64:
--- → unaffected
status-firefox65:
--- → affected
status-firefox-esr60:
--- → unaffected
Updated•5 years ago
|
Keywords: regression
Comment 5•5 years ago
|
||
Comment on attachment 9030233 [details] Bug 1512980 - ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro [Triage Comment] Fixes users being unable to use the color contrast indicator in iframes. Approved for 64.0b4.
Attachment #9030233 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 6•5 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/a4803c65849c
Updated•5 years ago
|
Flags: qe-verify+
Comment 7•5 years ago
|
||
I successfully reproduced the issue on Firefox Nightly 65.0a1 (2018-12-09) under Ubuntu 18.04 (x64) with some help from Yura. The issue is not reproducible anymore on latest Firefox Beta 65.0b4 and latest Nightly 66.0a1 (2018-12-12). Tests were performed under Ubuntu 18.04 (x64), Windows 10 (x64) and macOS 10.11.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•