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

Unified Diff: LayoutTests/fast/css/sticky/sticky-table-col-crash.html

Issue 196413002: Don't allow position:sticky for table columns. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test. Created 6 years, 9 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: LayoutTests/fast/css/sticky/sticky-table-col-crash.html
diff --git a/LayoutTests/fast/css/sticky/sticky-table-col-crash.html b/LayoutTests/fast/css/sticky/sticky-table-col-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..7c8cf5a6c7f0b01d42bdbcb51de010ca189c4014
--- /dev/null
+++ b/LayoutTests/fast/css/sticky/sticky-table-col-crash.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<script>
+ function doTest()
+ {
+ crashBox.scrollIntoView(true);
+ }
+ window.addEventListener('load', doTest, false);
+</script>
+</head>
+<body>
+ <p>This test should not crash.</p>
Julien - ping for review 2014/03/13 01:08:06 Let's add a description of what you are testing as
ostap 2014/03/13 15:46:45 Done.
+ <div id=crashBox style="display: table-column-group; position: sticky;"></div>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698