mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
Automatic update from web-platform-tests[LayoutNG] Minor outline bug fix I found this one by accident in a testharness test. Adding a ref test that will detect failure. Reftest also passes in FF. Bug: 835484 Change-Id: I13b58bc8641f24a3fe18d70a1e3850e8e4a30513 Reviewed-on: https://chromium-review.googlesource.com/1077373 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#562879} -- wpt-commits: 22cae554ae0878e7c297efc488a2bcb4ad6cebb8 wpt-pr: 11234
23 lines
640 B
HTML
23 lines
640 B
HTML
<!doctype html>
|
|
<html lang=en>
|
|
<meta charset=utf-8>
|
|
<title>CSS-UI test: outline block with outline inline</title>
|
|
<link rel="author" title="Aleks Totic <atotic@chromium.org>" href="atotic@">
|
|
<meta name=assert content="">
|
|
<link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props">
|
|
<link rel="match" href="./reference/outline-020-ref.html">
|
|
<style>
|
|
#container {
|
|
outline: green solid 5px;
|
|
width: 100px;
|
|
height: 30px;
|
|
padding: 5px;
|
|
}
|
|
#target {
|
|
outline: blue solid 5px;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if blue outline touches top left of green outline.</p>
|
|
<div id="container"><span id="target">x</span></div>
|
|
|