-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1615457 [wpt PR 21790] - Move contain-intrinsic-size tests to WPT…
…, a=testonly Automatic update from web-platform-tests Move contain-intrinsic-size tests to WPT The CSSWG has approved a resolution to update the spec; these tests match that resolution: w3c/csswg-drafts#4531 R=vmpstrchromium.org Bug: 991096 Change-Id: I021e5fb2b14eb5049cf7077e06c79810fd60e622 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055740 Reviewed-by: vmpstr <vmpstrchromium.org> Commit-Queue: vmpstr <vmpstrchromium.org> Commit-Queue: Christian Biesinger <cbiesingerchromium.org> Auto-Submit: Christian Biesinger <cbiesingerchromium.org> Cr-Commit-Position: refs/heads/master{#741254} -- wpt-commits: c8671a2d15e8c57b652915956312b94a0236a974 wpt-pr: 21790 UltraBlame original commit: 2f7fd98465df8529ec6bc6531b6386304b48e359
- Loading branch information
Showing
56 changed files
with
28,742 additions
and
0 deletions.
There are no files selected for viewing
116 changes: 116 additions & 0 deletions
116
...-platform/tests/css/css-sizing/contain-intrinsic-size/contain-intrinsic-size-001-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
< | ||
! | ||
doctype | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
CSS | ||
contain | ||
- | ||
intrinsic | ||
- | ||
size | ||
: | ||
unsized | ||
div | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
author | ||
" | ||
title | ||
= | ||
" | ||
Vladimir | ||
Levin | ||
" | ||
href | ||
= | ||
" | ||
mailto | ||
: | ||
vmpstr | ||
chromium | ||
. | ||
org | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
drafts | ||
. | ||
csswg | ||
. | ||
org | ||
/ | ||
css | ||
- | ||
sizing | ||
- | ||
4 | ||
/ | ||
# | ||
intrinsic | ||
- | ||
size | ||
- | ||
override | ||
" | ||
> | ||
< | ||
style | ||
> | ||
# | ||
target | ||
{ | ||
background | ||
: | ||
lightblue | ||
; | ||
height | ||
: | ||
222px | ||
; | ||
} | ||
< | ||
/ | ||
style | ||
> | ||
< | ||
div | ||
id | ||
= | ||
target | ||
> | ||
< | ||
/ | ||
div | ||
> |
181 changes: 181 additions & 0 deletions
181
.../web-platform/tests/css/css-sizing/contain-intrinsic-size/contain-intrinsic-size-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
< | ||
! | ||
doctype | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
CSS | ||
contain | ||
- | ||
intrinsic | ||
- | ||
size | ||
: | ||
unsized | ||
div | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
author | ||
" | ||
title | ||
= | ||
" | ||
Vladimir | ||
Levin | ||
" | ||
href | ||
= | ||
" | ||
mailto | ||
: | ||
vmpstr | ||
chromium | ||
. | ||
org | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
drafts | ||
. | ||
csswg | ||
. | ||
org | ||
/ | ||
css | ||
- | ||
sizing | ||
- | ||
4 | ||
/ | ||
# | ||
intrinsic | ||
- | ||
size | ||
- | ||
override | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
match | ||
" | ||
href | ||
= | ||
" | ||
contain | ||
- | ||
intrinsic | ||
- | ||
size | ||
- | ||
001 | ||
- | ||
ref | ||
. | ||
html | ||
" | ||
> | ||
< | ||
meta | ||
name | ||
= | ||
" | ||
assert | ||
" | ||
content | ||
= | ||
" | ||
contain | ||
- | ||
intrinsic | ||
- | ||
size | ||
is | ||
used | ||
to | ||
size | ||
the | ||
div | ||
as | ||
if | ||
it | ||
had | ||
a | ||
single | ||
child | ||
of | ||
this | ||
size | ||
" | ||
> | ||
< | ||
style | ||
> | ||
# | ||
target | ||
{ | ||
background | ||
: | ||
lightblue | ||
; | ||
contain | ||
- | ||
intrinsic | ||
- | ||
size | ||
: | ||
111px | ||
222px | ||
; | ||
contain | ||
: | ||
size | ||
; | ||
} | ||
< | ||
/ | ||
style | ||
> | ||
< | ||
div | ||
id | ||
= | ||
target | ||
> | ||
< | ||
/ | ||
div | ||
> |
Oops, something went wrong.