Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/bounds-calc.html

Issue 2955303002: Bounding boxes in the accessibility tree should always be relative to a box. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/bounds-calc.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/bounds-calc.html b/third_party/WebKit/LayoutTests/accessibility/bounds-calc.html
index 3f2a78134d2b0fdbf62597ceb369934779e77c91..cc24ac0ee2af3a14585ae1ed12f5570a3076ddaf 100644
--- a/third_party/WebKit/LayoutTests/accessibility/bounds-calc.html
+++ b/third_party/WebKit/LayoutTests/accessibility/bounds-calc.html
@@ -268,6 +268,17 @@ test(function(t) {
}, "Test spans inside of absolute-positioned container");
</script>
+<div class="container">
+ Before
+ <span id="span8" style="position:relative;">After</span>
+</div>
+
+<script>
+test(function(t) {
+ assertStaticTextChildDOMRectSameAsAXRect("span8", 0);
+}, "Test node that's inline and relative-positioned");
+</script>
+
<script>
if (window.testRunner)
document.body.className = "hideAllContainers";

Powered by Google App Engine
This is Rietveld 408576698