Revision 79f402f76e5b78f0fae93dbff7c4ddc5cd382e04 authored by Kent Tamura on 13 February 2018, 09:24:39 UTC, committed by Blink WPT Bot on 13 February 2018, 09:48:50 UTC
importNode() implementation should pass "is" value to "create an
element" algorithm.

WPT: Add a new test for importNode().

Bug: 807871
Change-Id: Id60c5577b5899aeac66b819986c34a28978e24d9
Reviewed-on: https://chromium-review.googlesource.com/915744
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536311}
1 parent 57780df
Raw File
internal-containing-block-001.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#abspos-boxes-in-table-internal">
<link rel="help" href="https://www.w3.org/TR/css-position-3/#valdef-position-absolute">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=798164" />
<meta name="flags" content="" />
<meta name="assert" content="A table-row with position:relative establishes a
containing block for a position:absolute descendent of a table-cell, and the
descendent is positioned correctly." />
<title>
relpos table-row establishes containing block for abspos
</title>

<style>
tr {
  position: relative;
}

div.abspos {
  position: absolute;
  height: 50px;
  width: 100px;
  background: green;
}

div.static {
  height: 50px;
  width: 100px;
  background:red;
}

td, tr {
  margin:0px;
  padding:0px;
}

table {
  border-collapse:collapse;
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>

<table>
  <tr>
    <td>
      <div class="abspos"></div>
      <div class="static"></div>
    </td>
  </tr>
  <tr>
    <td>
      <div class="abspos"></div>
      <div class="static"></div>
    </td>
  </tr>
</table>
back to top