forked from mirrors/gecko-dev
Automatic update from web-platform-tests Don't apply the resize property to generated content The spec says the behavior is currently undefined and implementations should not apply the property to generated content. It is still part of the computed styles, so add a test for that as well. Bug: 397265 Change-Id: I5391c54c2e3035c90cb5b8db38aa55a77c5ef0b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584970 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#836071} -- wpt-commits: 2b76cea74cf2ef5b2b55a0349fa7cda745a01f70 wpt-pr: 26852
19 lines
623 B
HTML
19 lines
623 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Basic User Interface Test: resize - generated content</title>
|
|
<meta name="assert" content="The resize property should not apply to generated content, the behavior is undefined">
|
|
<link rel="help" href="http://drafts.csswg.org/css-ui/#resize">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
|
<style>
|
|
#test::before {
|
|
content: "";
|
|
display: block;
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow: hidden;
|
|
resize: both;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div id="test"></div>
|