Skip to content

Commit

Permalink
Bug 1577492 [wpt PR 18747] - Only check that "display: contents" comp…
Browse files Browse the repository at this point in the history
…utes to none for MathML child…, a=testonly

Automatic update from web-platform-tests
Only check that "display: contents" computes to none for MathML child… (#18747)

* Only check that "display: contents" computes to none for MathML children.

* do not remove space

--

wpt-commits: e63a246b128875ed7ff0db69a9fbaa7548cc0360
wpt-pr: 18747

UltraBlame original commit: e3964712d0025a6e8dff78280ca3520a2e77e972
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent fdfa714 commit 11f285c
Showing 1 changed file with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,80 @@
elementContainer
)
;
if
(
style
=
=
=
"
display
:
contents
"
&
&
!
element
.
classList
.
contains
(
"
mathml
-
container
"
)
)
{
/
/
A
"
display
:
contents
"
MathML
child
is
not
participating
to
/
/
parent
layout
because
its
computed
style
is
"
display
:
none
"
.
/
/
If
we
cannot
append
a
MathML
child
then
skip
that
test
.
return
;
}
FragmentHelper
.
forceNonEmptyElement
Expand Down

0 comments on commit 11f285c

Please sign in to comment.