mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix panic when tables having position:sticky
We no longer do any stacking context or clip node creation for table wrappers, instead relying on their TableFlows to do this.
This commit is contained in:
parent
89d5780570
commit
f1596e83a9
11 changed files with 78 additions and 33 deletions
|
@ -5921,6 +5921,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/table_with_position_sticky.html": [
|
||||
[
|
||||
"/_mozilla/css/table_with_position_sticky.html",
|
||||
[
|
||||
[
|
||||
"/_mozilla/css/table_with_position_sticky_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/text_align_complex_a.html": [
|
||||
[
|
||||
"/_mozilla/css/text_align_complex_a.html",
|
||||
|
@ -10367,6 +10379,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/table_with_position_sticky_ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/test.jpeg": [
|
||||
[
|
||||
{}
|
||||
|
@ -26589,6 +26606,14 @@
|
|||
"0dc40b30f1d518d7c148535d9230a95417aadd56",
|
||||
"support"
|
||||
],
|
||||
"css/table_with_position_sticky.html": [
|
||||
"30c4f54f51c8d35614d52d3702e58de8589acd2f",
|
||||
"reftest"
|
||||
],
|
||||
"css/table_with_position_sticky_ref.html": [
|
||||
"da028fde51bd53b7c7a4314e998162ab10d8d359",
|
||||
"support"
|
||||
],
|
||||
"css/test.jpeg": [
|
||||
"b7329039658f91906338b4ec599633f966de1b46",
|
||||
"support"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Tables with position:sticky elements should not cause a panic</title>
|
||||
<link rel="match" href="table_with_position_sticky_ref.html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#sticky-pos" />
|
||||
<meta name="assert" content="This test checks that tables with position:sticky dont' cause a panic" />
|
||||
<div style="width: 100px; height: 100px; background: green"></div>
|
||||
<table style="position: sticky; top: 0;">
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference for Tables with position:sticky elements should not cause a panic</title>
|
||||
<div style="width: 100px; height: 100px; background: green"></div>
|
Loading…
Add table
Add a link
Reference in a new issue