mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Check visibility beforehand
This commit is contained in:
parent
f796823b94
commit
c2de3eb9ac
1 changed files with 2 additions and 1 deletions
|
@ -1147,7 +1147,8 @@ impl<'table> Iterator for TableCellStyleIterator<'table> {
|
||||||
|
|
||||||
impl<'table> TableCellStyleInfo<'table> {
|
impl<'table> TableCellStyleInfo<'table> {
|
||||||
fn build_display_list(&self, mut state: &mut DisplayListBuildState) {
|
fn build_display_list(&self, mut state: &mut DisplayListBuildState) {
|
||||||
if !self.cell.visible {
|
if !self.cell.visible || self.cell.block_flow.fragment.style()
|
||||||
|
.get_inheritedbox().visibility != Visibility::Visible {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let border_painting_mode = match self.cell.block_flow
|
let border_painting_mode = match self.cell.block_flow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue