haikuwebkit/LayoutTests/accessibility/inline-block-assertion.html

31 lines
876 B
HTML
Raw Permalink Normal View History

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body id="body">
Reduce the dependency on Flash in regression tests https://bugs.webkit.org/show_bug.cgi?id=143391 Reviewed by Anders Carlsson. Tools: * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad): Only allow QuickTime and the test plug-in. LayoutTests: * accessibility/inline-block-assertion.html: * accessibility/plugin.html: * compositing/geometry/empty-embed-rects.html: * fast/history/resources/subframe-with-plugin.html: * fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html: * fast/loader/loadInProgress.html: * fast/replaced/border-radius-clip.html: * fast/replaced/embed-display-none.html: * plugins/crash-restoring-plugin-page-from-page-cache.html: * plugins/object-embed-plugin-scripting.html: * plugins/resources/plugin-frame.html: Use TestNetscapePlugin, as the tests don't appear to have any real need for Flash. * plugins/iframe-shims.html: Removed. This was a test for a chromium only feature that never existed in WebKit. * platform/mac/TestExpectations: * platform/wincairo/TestExpectations: Removed the deleted plugins/iframe-shims.html. * platform/mac-wk2/TestExpectations: Skip snapshotting tests that use Flash, because they make WebKitTestRunner crash now. Marked all other snapshotting tests as Pass/Failure, because they don't really make any sense, and are only useful for finsing crashes. * platform/wk2/TestExpectations: Skipped a few remaining tests that use Flash. These tests still run (and pass) under WebKit1, regardless of whether Flash is installed, so they don't seem like very accurate tests. Canonical link: https://commits.webkit.org/161477@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-04-06 16:28:52 +00:00
<embed>
<div pseudo="-webkit-plugin-replacement" style="display: inline-block; position: relative; width: 100; height: 100;" id="group">
<iframe width="100%" id="iframe" style="max-height: 100%" height="350" src="resources/cake.png" frameborder="0" scrolling="no"></iframe>
</div>
</embed>
<p id="description"></p>
<div id="console"></div>
<script>
description("Make sure that an inline block element is not cast incorrectly causing an assertion.");
if (window.accessibilityController) {
var element = accessibilityController.accessibleElementById("group").childAtIndex(0).childAtIndex(0);
debug("ROLE: " + element.role);
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>