- From: <bugzilla@jessica.w3.org>
- Date: Wed, 24 Aug 2016 16:53:55 +0000
- To: public-browser-tools-testing@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29792
Bug ID: 29792
Summary: Make embedded (X)HTML or SVG documents in <object>
accessible
Product: Browser Test/Tools WG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: WebDriver
Assignee: public-browser-tools-testing@w3.org
Reporter: comfreek@outlook.com
QA Contact: public-browser-tools-testing@w3.org
CC: mike@w3.org
Blocks: 20860
Target Milestone: ---
It is currently not possible to access objects embedded in <object> tags:
<object data="file.svg" type="image/svg+xml"></object>
<object data="file.html" type="text/html"></object>
<object data="file.xhtml" type="application/xml+xhtml"></object>
First, none of the locator strategies are able to "deep-select" elements
originating from objectElement.contentDocument.
Second, bypassing the selection problem by executing a custom JS script in
order to return the nested elements results in "stale element reference" error
upon usage of the acquired reference. This could be solved if a switch to an
object's contentDocument context was possible.
My use case in my application for embedding an SVG via <object> is that I can
quickly replace it by setting the data URI while maintaining access to its
contents via contentDocument.
Referenced Bugs:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20860
[Bug 20860] WebDriver Level 1
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 24 August 2016 16:54:04 UTC