mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix making an iframe visible when it was initially set to display:none.
When an iframe is created with display:none it sets the root layer to be zero width and height. When updating the rect of the iframe from layout send the entire rect rather than just the new origin, which handles the case where the iframe has been made visible and now has a non-zero rect.
This commit is contained in:
parent
cbc4b9520e
commit
f68386f0fa
7 changed files with 48 additions and 14 deletions
|
@ -137,6 +137,7 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
== iframe/multiple_external.html iframe/multiple_external_ref.html
|
||||
== iframe/overflow.html iframe/overflow_ref.html
|
||||
== iframe/positioning_margin.html iframe/positioning_margin_ref.html
|
||||
== iframe/hide_and_show.html iframe/hide_and_show_ref.html
|
||||
|
||||
== floated_generated_content_a.html floated_generated_content_b.html
|
||||
== inline_block_margin_a.html inline_block_margin_ref.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue