Skip to content

Commit

Permalink
Bug 1618397 [wpt PR 21997] - [paint] Add test for clipping focus outl…
Browse files Browse the repository at this point in the history
…ines., a=testonly

Automatic update from web-platform-tests
[paint] Add test for clipping focus outlines.

This adds a test for the progression caused by:
https://chromium-review.googlesource.com/c/chromium/src/+/1869012
Which corrected the clip state for paint descendants.

Bug: 1049976
Change-Id: I1c53cd800fa9ac342c025703e6d05359b582da56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076534
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745140}

--

wpt-commits: 6d086b32af84cebab48ef8414baf923fa558e6f4
wpt-pr: 21997
  • Loading branch information
bfgeek authored and moz-wptsync-bot committed Mar 5, 2020
1 parent d7ce4bd commit f309e07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions testing/web-platform/tests/css/css-ui/outline-023.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<title>Tests that a paint clip, clips an outline.</title>
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#outline">
<link rel="help" href="https://www.w3.org/TR/CSS21/zindex.html">
<p>Test passes if there is a filled green square.</p>
<div style="overflow: hidden; width: 100px; height: 100px; background: green;">
<div style="display: block; width: 110px; height: 110px; margin: -5px; outline: solid blue 3px;"></div>
</div>

0 comments on commit f309e07

Please sign in to comment.