Commit Graph
11 Commits
Author SHA1 Message Date
Gabriel Luong b8da371ddc Bug 1308257 - Part 1: Move ReflowActor to reflow.js r=pbro 2016-11-01 11:51:58 +09:00
Brian Grinstead c2d2c30c3e Bug 1304513 - Get rid of sdk use in devtools/shared/layout/utils.js;r=tromey
MozReview-Commit-ID: FXV7XhbuZmw
2016-09-22 07:59:35 -07:00
Ryan VanderMeulen 724c163f1c Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Patrick Brosset 98f15741fe Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
Tom Tromey 850dac53cb Bug 1292242 - move scrollIntoViewIfNeeded to its own module; r=bgrins
MozReview-Commit-ID: 8diNiffQmDB
2016-08-17 11:13:54 -06:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Joseph Yeh 1341d9ee45 Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm
2016-07-11 20:28:00 +02:00
Patrick Brosset b52f1b4c32 Bug 1246088 - ESLint cleanups of devtools/shared/layout/utils.js; r=bgrins
MozReview-Commit-ID: gUB8kFMQVF
2016-03-09 12:09:48 +01:00
Patrick Brosset 90dee9ddfa Bug 1246088 - Safely access contentWindow in iframe and embed; r=bgrins
MozReview-Commit-ID: 6GRsMsJPn5x
2016-03-09 11:54:12 +01:00
J. Ryan Stinnett d0e4c235aa Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00