diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:10:25 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:10:25 -0400 |
commit | 3ad3f3be7d1d5c5d5580d119e395806bfd25e965 (patch) | |
tree | 598e187ce71ae82b300a3a6b6b2f199aa2f3c43d /devtools | |
parent | 77707d7bc61c1c0dedee41026f283d7575a45913 (diff) | |
download | aura-central-3ad3f3be7d1d5c5d5580d119e395806bfd25e965.tar.gz |
Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle
* Add a node property to access the ::before and ::after pseudo-elements
* Look for the frame for ::before and ::after pseudos
* Clean up pseudo-element props
* Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos
Tag mcp-graveyard/UXP%1375
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js index 9ca5451a5..7c18bfe7b 100644 --- a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js @@ -33,7 +33,7 @@ function* testTopLeft(inspector, view) { let afterElement = children.nodes[children.nodes.length - 1]; yield selectNode(afterElement, inspector); top = getComputedViewPropertyValue(view, "top"); - is(top, "50%", "The computed view shows the correct top"); + is(top, "96px", "The computed view shows the correct top"); left = getComputedViewPropertyValue(view, "left"); - is(left, "50%", "The computed view shows the correct left"); + is(left, "96px", "The computed view shows the correct left"); } |