-
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 1555686 [wpt PR 17099] - CSS: Test computed Logical Height/Width …
…limits, a=testonly Automatic update from web-platform-tests CSS: Test computed Logical Height/Width limits Web Platform Tests for the computed values of the min-block-size/min-inline-size, and max-block-size/max-inline-size properties. https://drafts.csswg.org/css-logical/#dimension-properties Change-Id: I8377da7f48575a64365af26ed6467411a63eac0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637004 Commit-Queue: Eric Willigers <ericwilligerschromium.org> Auto-Submit: Eric Willigers <ericwilligerschromium.org> Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org> Cr-Commit-Position: refs/heads/master{#666610} -- wp5At-commits: 1619024d955c79fd7bf4f1093a904297dba04752 wpt-pr: 17099 UltraBlame original commit: 0e8e799c1e2c022b5dec18fe23917a7c7f743f8d
- Loading branch information
Showing
4 changed files
with
1,670 additions
and
0 deletions.
There are no files selected for viewing
352 changes: 352 additions & 0 deletions
352
testing/web-platform/tests/css/css-logical/parsing/max-block-size-computed.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,352 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
html | ||
> | ||
< | ||
head | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
CSS | ||
Logical | ||
Properties | ||
and | ||
Values | ||
: | ||
getComputedValue | ||
( | ||
) | ||
. | ||
maxBlockSize | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
drafts | ||
. | ||
csswg | ||
. | ||
org | ||
/ | ||
css | ||
- | ||
logical | ||
/ | ||
# | ||
propdef | ||
- | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
> | ||
< | ||
meta | ||
name | ||
= | ||
" | ||
assert | ||
" | ||
content | ||
= | ||
" | ||
Computed | ||
max | ||
- | ||
block | ||
- | ||
size | ||
is | ||
the | ||
specified | ||
keyword | ||
or | ||
the | ||
length | ||
- | ||
percentage | ||
made | ||
absolute | ||
. | ||
" | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharness | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharnessreport | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
css | ||
/ | ||
support | ||
/ | ||
computed | ||
- | ||
testcommon | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
style | ||
> | ||
# | ||
target | ||
{ | ||
font | ||
- | ||
size | ||
: | ||
40px | ||
; | ||
} | ||
< | ||
/ | ||
style | ||
> | ||
< | ||
/ | ||
head | ||
> | ||
< | ||
body | ||
> | ||
< | ||
div | ||
id | ||
= | ||
" | ||
target | ||
" | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
script | ||
> | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
none | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
10px | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
20 | ||
% | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
calc | ||
( | ||
10px | ||
+ | ||
0 | ||
. | ||
5em | ||
) | ||
" | ||
" | ||
30px | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
calc | ||
( | ||
10px | ||
- | ||
0 | ||
. | ||
5em | ||
) | ||
" | ||
" | ||
0px | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
calc | ||
( | ||
20 | ||
% | ||
+ | ||
10px | ||
) | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
min | ||
- | ||
content | ||
" | ||
) | ||
; | ||
test_computed_value | ||
( | ||
" | ||
max | ||
- | ||
block | ||
- | ||
size | ||
" | ||
" | ||
max | ||
- | ||
content | ||
" | ||
) | ||
; | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
/ | ||
body | ||
> | ||
< | ||
/ | ||
html | ||
> |
Oops, something went wrong.