Bug 1403293. Make sure that anonymous table columns and column groups never affect hit testing. r=heycam

Per spec, these boxes shouldn't even exist.

MozReview-Commit-ID: 9tQdqSgXg76
This commit is contained in:
Boris Zbarsky 2017-09-28 22:03:54 -04:00
Родитель 888a1da2c8
Коммит 4f6bea99ba
1 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -67,10 +67,28 @@
of a table. */
*|*::-moz-table-column {
display: table-column !important;
/* Make sure anonymous columns don't interfere with hit testing. Basically,
* they should pretend as much as possible to not exist (since in the spec
* they do not exist).
*
* Please make sure to not reintroduce
* https://bugzilla.mozilla.org/show_bug.cgi?id=1403293 if you change this
* bit!
*/
visibility: hidden !important;
}
*|*::-moz-table-column-group {
display: table-column-group !important;
/* Make sure anonymous colgroups don't interfere with hit testing. Basically,
* they should pretend as much as possible to not exist (since in the spec
* they do not exist).
*
* Please make sure to not reintroduce
* https://bugzilla.mozilla.org/show_bug.cgi?id=1403293 if you change this
* bit!
*/
visibility: hidden !important;
}
*|*::-moz-table-row-group {