mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests blink: Switch embedded elements to use overflow properties. This change switches embedded elements to clip to content box using existing platform primitives (overflow and overflow-clip-margin) instead of a custom code-path in paint and hit testing. Note that as opposed to other replaced elements, embedded elements are still not allowed to have ink overflow using rules enforced in UA CSS. [email protected], [email protected] Bug: 1321217 Change-Id: Ifafacd936bfd0d76816f9460a310fa92ae32250a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3747336 Commit-Queue: Philip Rogers <[email protected]> Reviewed-by: Philip Rogers <[email protected]> Auto-Submit: Khushal Sagar <[email protected]> Commit-Queue: Khushal Sagar <[email protected]> Cr-Commit-Position: refs/heads/main@{#1022811} -- wpt-commits: 8c410d74ae3aa1731bddf901492beab76eaf35d9 wpt-pr: 34748
27 lines
554 B
HTML
27 lines
554 B
HTML
<!DOCTYPE html>
|
|
<title>flexbox | object fallback as a flex item</title>
|
|
<link rel="author" href="http://opera.com" title="Opera Software">
|
|
<link rel="help"
|
|
href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
|
|
<link rel="match" href="flexbox_object-ref.html">
|
|
<style>
|
|
div {
|
|
background: #ffcc00;
|
|
justify-content: space-around;
|
|
display: flex;
|
|
}
|
|
div>* {
|
|
background: #3366cc;
|
|
margin: 0;
|
|
}
|
|
|
|
object {
|
|
overflow: clip;
|
|
}
|
|
</style>
|
|
|
|
<div>
|
|
<object>this is supposed to be a flex item</object>
|
|
<p>this is supposed to be a flex item</p>
|
|
</div>
|