Skip to content

Commit

Permalink
Bug 1555686 [wpt PR 17099] - CSS: Test computed Logical Height/Width …
Browse files Browse the repository at this point in the history
…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
marco-c committed Oct 4, 2019
1 parent bfba0a3 commit 4af6830
Show file tree
Hide file tree
Showing 4 changed files with 1,670 additions and 0 deletions.
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
>
Loading

0 comments on commit 4af6830

Please sign in to comment.