Closed
Bug 800956
Opened 12 years ago
Closed 12 years ago
[B2G] HTMLElement does not have size available
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla19
People
(Reporter: zcampbell, Assigned: automatedtester)
Details
Attachments
(1 file, 1 obsolete file)
9.52 KB,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
HTMLElement on B2G Marionette does not have the size property available yet and is a useful property.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dburns
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #672273 -
Flags: review?(mdas)
Assignee | ||
Comment 2•12 years ago
|
||
noticed issues with patch so have corrected
Attachment #672273 -
Attachment is obsolete: true
Attachment #672273 -
Flags: review?(mdas)
Attachment #673046 -
Flags: review?(mdas)
Comment 3•12 years ago
|
||
Comment on attachment 673046 [details] [diff] [review]
get element size
Review of attachment 673046 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm! just clear that whitespace and you're good to go, thanks!
::: testing/marionette/marionette-actors.js
@@ +1340,5 @@
> + getElementSize: function MDA_getElementSize(aRequest) {
> + if (this.context == "chrome") {
> + try {
> + let el = this.curBrowser.elementManager.getKnownElement(aRequest.element, this.getCurrentWindow());
> + let clientRect = el.getBoundingClientRect();
trailing whitespace
::: testing/marionette/marionette-listener.js
@@ +676,5 @@
> + */
> +function getElementSize(msg){
> + try {
> + let el = elementManager.getKnownElement(msg.json.element, curWindow);
> + let clientRect = el.getBoundingClientRect();
trailing whitespace
Attachment #673046 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Assignee | ||
Comment 6•12 years ago
|
||
landed on aurora https://hg.mozilla.org/releases/mozilla-aurora/rev/eb1ad7ebda18
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•