mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #18506 - mrobinson:position-sticky-table, r=emilio
Fix issues with the combination of position:sticky and tables <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #18441 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18506) <!-- Reviewable:end -->
This commit is contained in:
commit
1da581f49b
11 changed files with 81 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",
|
||||
|
@ -10379,6 +10391,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/table_with_position_sticky_ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/test.jpeg": [
|
||||
[
|
||||
{}
|
||||
|
@ -26612,6 +26629,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