Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-th-top.html

Issue 2711803002: Disallow 'position: sticky' on <thead> and <tr> elements. (Closed)
Patch Set: Correct layout tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-th-top.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-thead-top.html b/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-th-top.html
similarity index 87%
rename from third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-thead-top.html
rename to third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-th-top.html
index 91e359d5604d64ae50052220999dca0e9860f816..8511005123c3ef05ae8ffd9272c636254c7c9739 100644
--- a/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-thead-top.html
+++ b/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-th-top.html
@@ -64,9 +64,9 @@ if (window.internals) {
<div class="group">
<div class="indicator box" style="top: 200px;"></div>
<table class="container">
- <thead class="sticky">
+ <thead>
<tr>
- <td class="box"></td>
+ <th class="sticky box"></th>
</tr>
</thead>
<tbody>
@@ -80,9 +80,9 @@ if (window.internals) {
<div class="group" style="top: 100px">
<div class="indicator box" style="top: 100px;"></div>
<table class="container" style="">
- <thead class="sticky">
+ <thead>
<tr>
- <td class="box"></td>
+ <td class="sticky box"></td>
</tr>
</thead>
<tbody>
@@ -96,9 +96,9 @@ if (window.internals) {
<div class="group" style="top: 200px">
<div class="indicator box" style="top: 0;"></div>
<table class="container" style="">
- <thead class="sticky">
+ <thead>
<tr>
- <td class="box"></td>
+ <td class="sticky box"></td>
</tr>
</thead>
<tbody>
@@ -109,7 +109,7 @@ if (window.internals) {
</table>
</div>
<div style="position: absolute; top: 620px;">
- This test checks that sticky positioned table theads are contained by their table.
+ This test checks that sticky positioned table ths are contained by their table.
There should be no red.
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698