forked from mirrors/gecko-dev
Automatic update from web-platform-testsAdd test for wrappable content that has flex:none (#9518) Add test for wrappable content that has flex:none See https://bugzilla.mozilla.org/show_bug.cgi?id=1374540; per spec, the flex:none content should be allowed its full content width. This currently works in Chrome, Edge, Safari, and Opera. wpt-commits: a02389e2cc84576b8aa35bff9658f6db39003ed8 wpt-pr: 9518 wpt-commits: a02389e2cc84576b8aa35bff9658f6db39003ed8 wpt-pr: 9518
13 lines
327 B
HTML
13 lines
327 B
HTML
<!DOCTYPE html>
|
|
<title>Reference for specifying flex:none on wrappable content should give content its full width</title>
|
|
|
|
<style>
|
|
span {
|
|
font-family: Ahem;
|
|
color: green;
|
|
}
|
|
</style>
|
|
|
|
<div><span>XXX XXX XXX</span></div>
|
|
|
|
<div style="margin-top: 1em;">You should see three green rectangles above, all on the same line.</div>
|